- Aug 26, 2014
-
-
Simon Hausmann authored
Before commit fb339b21 relied on the simple transparent rectangle node to remain invisible. After that commit we used the regular rectangle node, which doesn't seem to like toggling the color between transparent and solid black and therefore the cursor was always visible. As advised by Gunnar this patch implements a much simpler logic: When the cursor is supposed to be invisible, we just don't create a scene graph node for it anymore. Change-Id: I7b0e173f6d37997559ee0911f37903efdb14847f Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by:
Gunnar Sletta <gunnar@sletta.org>
-
- Aug 25, 2014
-
-
Jani Heikkinen authored
- Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I84a565e2e0caa3b76bf291a7d188a57a4b00e1b0 Reviewed-by:
Jani Heikkinen <jani.heikkinen@digia.com>
-
- Aug 13, 2014
-
-
Lars Knoll authored
Unfortunately we can't re-use the QSGSimpleRectNode, as it doesn't provide us with virtual methods to move it's creation into the context. But's since it's only 20 lines of code anyway, this is still a nice cleanup. And it also allows the re-use of any optimizations in the renderer for QSGRectangleNode. Change-Id: I957777fbbeb0a994a9c257baf3bfe87fce8cc9e8 Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- Aug 12, 2014
-
-
Topi Reinio authored
Removes duplicated (repeated) words and fixes other minor documentation issues. Change-Id: I891f2b3e60194b207737425c1dcc1d35a5bd921a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com>
-
- Aug 07, 2014
-
-
J-P Nurmi authored
[ChangeLog][QtQuick][Important Behavior Changes] TextInput::displayText now includes also partial input from an input method and thus matches with the actual displayed text. Task-number: QTBUG-40329 Change-Id: I407f464938c550d73eba1351283ec751aa293380 Reviewed-by:
Alan Alpert <aalpert@blackberry.com> Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- Jul 24, 2014
-
-
Aaron McCarthy authored
The value for acceptableInput was being calculated every time the property value was read. This can lead to situations where the value returned from successive property reads is different even though no acceptableInputChanged() signal is emitted between the two calls. This can be seen during QML component construction where emission of the changed signal is suppressed until the component completes and the value of acceptableInput changes as the other properties are set. If the property is read during binding evaluation an intermediate value can be seen and the QML engine will not re-read the property until after the changed signal is emitted. This doesn't happen until the true value of the acceptableInput property is toggled. Fixed by changing the property getter to returned the precalculated value of acceptableInput and ensuring that this value is set when correctly. Change-Id: Id3ba3a34988ff50f590e4f8330b873f390eaa025 Reviewed-by:
Martin Jones <martin.jones@jollamobile.com>
-
- Jul 02, 2014
-
-
Nico Vertriest authored
Task-number: QTBUG-34749 Change-Id: I507d54b0568d77c6099a0bd99f5c369b8667032a Reviewed-by:
Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by:
Martin Smith <martin.smith@digia.com>
-
- Jun 02, 2014
-
-
J-P Nurmi authored
Change-Id: I8a2f66a6cfa346627394705741d2f47affcd0c2b Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by:
Paul Olav Tvete <paul.tvete@digia.com>
-
- May 21, 2014
-
-
J-P Nurmi authored
This is required for TextField to be able to implement text selection handles. TextField needs to be able to ensure that the appropriate character position becomes visible when the handles are moved around. [ChangeLog][QtQuick][TextInput] Added TextInput::ensureVisible(int pos) method to be able to control the scrolling position of a TextInput that has automatic scrolling enabled. Task-number: QTBUG-38934 Change-Id: Id77eafcda6324d10868e0798519e5b712a0d33ed Reviewed-by:
Alan Alpert <aalpert@blackberry.com> Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- May 02, 2014
-
-
Bernd Weimer authored
This is needed for TextField control for instance. If QT_NO_CLIPBOARD is defined, canPaste will always return false. Fixes dialogs auto test when QT_NO_CLIPBOARD is defined. [ChangeLog][QtQuick][Platform Specific Changes] Added canPaste property to TextInput element also on platforms that don't support a clipboard (QT_NO_CLIPBOARD is defined). Change-Id: Ia85205672ba59c1fce70852458c514b03d332de6 (cherry picked from commit c2d80204 ) Reviewed-by:
Fabian Bumberger <fbumberger@rim.com> Reviewed-by:
Bernd Weimer <bweimer@blackberry.com>
-
- Apr 24, 2014
-
-
Bernd Weimer authored
This is needed for TextField control for instance. If QT_NO_CLIPBOARD is defined, canPaste will always return false. Fixes dialogs auto test when QT_NO_CLIPBOARD is defined. [ChangeLog][QtQuick][Platform Specific Changes] Added canPaste property to TextInput element also on platforms that don't support a clipboard (QT_NO_CLIPBOARD is defined). Change-Id: Ia85205672ba59c1fce70852458c514b03d332de6 Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- Mar 18, 2014
-
-
Sze Howe Koh authored
Append the handler names to the end of the corresponding signal doc. Task-number: QTBUG-35846 Change-Id: I3d627ba7ed5be94e5c402ab092b4d582536499e8 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
- Mar 12, 2014
-
-
Risto Avila authored
Adds a new property to TextInput which can be used to override QPlatformTheme::PasswordMaskDelay. The new property is TextInput.passwordMaskDelay and takes in delay (ms) which time character is shown before masking it. This is only when echoMode is set to TextInput.Password [ChangeLog][QtQuick][TextInput] Added passwordMaskDelay property Change-Id: I52812b883db11fdd21b25154887c51df8a44f69c Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Feb 22, 2014
-
-
Jan Arve Saether authored
Task-number: QTBUG-36529 Change-Id: I2cd577013c4965e76c9350abaebb9b7a6e4e0270 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- Feb 12, 2014
-
-
Jan Arve Saether authored
[ChangeLog][QtQuick][Fixed wrong baseline alignment for TextInput] Task-number: QTBUG-36749 Change-Id: I6920fb0681f30d9e9943d1bd01f76cc3ae204f30 Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- Jan 27, 2014
-
-
Tor Arne Vestbø authored
Setting the renderType to Text.NativeRendering might be needed in some cases where distance-field does not produce the expected results, such as for emoji characters or really large fonts. These use cases are valid on retina displays as well, so having the setter second-guess the request from the user to use native rendering is not ideal. Change-Id: I7c6049766e60574487c29de07fbd5c100ec69a2a Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by:
Gunnar Sletta <gunnar.sletta@jollamobile.com>
-
- Dec 02, 2013
-
-
Frederik Gladhorn authored
[ChangeLog][QtQuick] QQuickTextInput would not accept delete/home/backspace/left/right keys when the key was used in a shortcut. Task-number: QTBUG-34517 Change-Id: I553af8247191ecdadcb4677e9fc85848270a95d3 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Nov 27, 2013
-
-
J-P Nurmi authored
[ChangeLog][QtQuick] Fixed TextInput to call fixup() on its validator when being accepted or losing focus, and the validator reports that the input is in "intermediate" state ie. the input should be fixed up. Task-number: QTBUG-35128 Change-Id: I4b15406c584a9647bcf892badfaf6d845868fbf1 Reviewed-by:
Liang Qi <liang.qi@digia.com>
-
- Nov 26, 2013
-
-
Thomas McGuire authored
"q" was an unused variable, which triggered a warning/error. Change-Id: I83bdc63a7caa12a5cd48331729492c0f36ed6fa0 Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- Nov 22, 2013
-
-
Liang Qi authored
Autotest is included. Task-number: QTBUG-34780 [ChangeLog][QtDeclarative][TextInput] add editingFinished signal Change-Id: Ib633daee67cd4e5f15739a6004adbe882ab3d3fc Reviewed-by:
Lars Knoll <lars.knoll@digia.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com> Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by:
Alan Alpert (Personal) <416365416c@gmail.com>
-
- Oct 30, 2013
-
-
Gunnar Sletta authored
See the task for the full reasoning behind this patch. The threaded renderloop has been refactored to have one window per thread. This is mostly a simplification of the current code path where for loops over multiple windows are turned into if (window). The QSGContext has been split into two classes, QSGRenderContext for which there is one per OpenGLContext. The rest of the patch is name changes and a couple of cleanups in the hopes of simplifying this change. Task-number: QTBUG-33993 Change-Id: I31c81f9694d7da7474a72333169be38de62613c4 Reviewed-by:
Sean Harmer <sean.harmer@kdab.com>
-
- Oct 02, 2013
-
-
Martin Smith authored
All QML references of the form <QML-module-name><QML-module-version>::<QML-type>::<member-name> have had the <QML-module-version> removed i. Task-number: QTBUG-33776 Change-Id: Idde279e0f254cd24ea44f9841662dd81a2c5bbc6 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
- Sep 30, 2013
-
-
Gunnar Sletta authored
Change-Id: I3750c47640bf21c3567c5fa1c4667e3e2552942e Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- Sep 26, 2013
-
-
Lars Knoll authored
Change-Id: Id4f79c22fc48ada1c8a9a858e1b7b3d1cf14d120 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Sep 25, 2013
-
-
Jerome Pasion authored
-incremented version to Qt Quick 2.2 (in \qmlmodule page) -import changed to QtQuick 2.2 -\inqmlmodule no longer needs the version. QDoc will ignore the version but it is better to remove it now to avoid confusion Task-number: QTBUG-32172 Change-Id: I40b52e59667014720be40a35b3a8fb9836825e31 Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com>
-
- Sep 17, 2013
-
-
Topi Reinio authored
Moves property and method documentation for QML Locale type from Qt Quick to Qt Qml module, and fix a number of broken links in locale-related docs. Change-Id: Id9e01314ea867987f5159ca3bffcc40abb27b289 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
- Sep 09, 2013
-
-
Chris Meyer authored
Add dragType enums with values of None, Automatic, Internal (default). Setting to Automatic allows startDrag to be called automatically. Setting to Internal (default) retains old behavior. Add mimeData to Drag item to enable external drags. Call startDrag to start drag manually or change from internal drag to external drag. Added events dragStarted and dragFinished that get invoked from startDrag. Mime data must be specified in the mimeData property as mime-type / data pairs. Moved QQuickDrag from qquickmousearea* files to qquickdrag* files to reduce header interdependencies that caused linking errors in other modules and also to improve code organization. Allow DropArea to receive and process external data. Introduced new variable containsDrag to QQuickDropAreaPrivate. This replaces mimeData which was previously being used to determine if a drop operation was currently occurring. The problem was that mimeData was being externally destructed. A...
-
- Sep 08, 2013
-
-
Jeremy Katz authored
Change-Id: Iff30a548fc2ef8ecf2fa6393832943f365cb0fa3 Reviewed-by:
Alan Alpert <aalpert@blackberry.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Sep 07, 2013
-
-
Thiago Macieira authored
Found by ICC. src/quick/items/qquicktextcontrol.cpp(78): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced src/quick/items/qquicktextinput.cpp(2696): error #2415: variable "textCursorWidth" of static storage duration was declared but never referenced src/quick/items/qquicktextinput.cpp(2697): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced src/quick/scenegraph/qsgthreadedrenderloop.cpp(164): error #2415: variable "WM_LockAndSync" of static storage duration was declared but never referenced src/quick/scenegraph/qsgthreadedrenderloop.cpp(181): error #2415: variable "WM_UpdateLater" of static storage duration was declared but never referenced Change-Id: I60b5cce79d7be5f909b690f97ffa93ea00d3c044 Reviewed-by:
Alan Alpert <aalpert@blackberry.com>
-
- Jun 06, 2013
-
-
Lars Knoll authored
Change-Id: Ib9885d395dd799c0f9dc68e16efea44b60cb1418 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- May 08, 2013
-
-
Lars Knoll authored
... and rename it to QQmlV4Function Change-Id: Iad72347babf62691e26306877d4f229fda127eb7 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- May 06, 2013
-
-
Lars Knoll authored
The class was doing exactly the same thing as v8::Handle in our implementation. Removing it cleans up quite a bit of code. Change-Id: I37a3dcdef062fc388751e9ef0a158b5926ba2efb Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Apr 25, 2013
-
-
Gunnar Sletta authored
Change-Id: I71769affe8f0138dd65f3b94fb27176bd069ab8d Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- Apr 23, 2013
-
-
Mitch Curtis authored
Task-number: QTBUG-29871 Change-Id: I3b15dfab5ca6455df465c502c93aac7b85a64531 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
Frederik Gladhorn authored
text().length() was used to check if a cursor movement to the right was valid. The problem is that with a mask and not text set yet (inputMask: "#0:00;*") pressing the right arrow would not move the cursor. The input and other functions use the actual d->m_text since that includes the mask length. Task-number: QTBUG-30740 Change-Id: Ic225778e5a49d80b754b63d0eb4a438eaa9818e2 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- Apr 18, 2013
-
-
Lars Knoll authored
Implement a good part of QJSValue using V4. Keep the QV8Engine for now (as it is used everywhere), but add an ExecutionEngine pointer to it so other parts can more easily be ported to V4. Remove a lot of other stuff that's not required anymore. Change-Id: Ibe2c9ab10f0ee977e0e3d05a42f526206d7b22b5 Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- Apr 16, 2013
-
-
Gabriel de Dietrich authored
On many platforms, the current cursor looks too tall. The logic used in this patch is inspired by what we have in QTextLayout::drawCursor(). It still looks too tall on Mac, but so it does in Qt Widgets. QQuickTextInput::positionToRectangle() has also been updated for consistency. Change-Id: I69b8ad246238d54db370db639a319a3edba6d78a Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Apr 02, 2013
-
-
Gunnar Sletta authored
Change-Id: I6d3f3e7e4813155f2abb3edc51b145fb709c485b Reviewed-by:
Morten Johan Sørvig <morten.sorvig@digia.com>
-
- Mar 07, 2013
-
-
Caroline Chao authored
The text selection should not be cleared when the focus out event received has one the following reasons: - Qt::ActiveWindowFocusReason - Qt::PopupFocusReason When the user opens a menu or navigates to another window, the eventual selection should not be clearer. This also makes the behavior consistent with TextEdit. Change-Id: Ibc6242cb2f8207cf5281925c8e20b88394f21eea Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
Caroline Chao authored
Use focusInEvent and focusOutEvent instead of changeItem to handle focus event. (One benefit is the focus events have the focus reason and changeItem doesn't). Change-Id: I164820f375f0ffddc529d59565a3e448b84c6042 Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-