summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | * | Fix url resolution in PropertyChanges.Michael Brasser2010-04-094-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure bindings in PropertyChanges resolve urls correctly. Also refactor the code so that PropertyChanges will always use the standard url resolution support provided by QDeclarativeProperty. Task-number: QTBUG-9571
| | | | | * | Replace "property var " with "property variant " in QML codeAaron Kennedy2010-04-0959-103/+103
| | | | | | |
| | | | | * | Use variant instead of var in QMLAaron Kennedy2010-04-092-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In QML "var"s are not the same as JavaScript vars - they are QVariants instead. However, as they behave in a similar enough fashion to native JavaScript it can be confusing to developers when they are called "var".
| | | | * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-092-0/+26
| | | | |\ \ \ | | | | | |/ /
| | | | | * | Make the TextInput element nicer. It has scrolling.Alexis Menard2010-04-091-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TextInput has support for scrolling now so it's quite usable. You can deactivate the auto scrolling with a property if you want to do crazy animation while scrolling. This commit also fixed several bugs with the current implementation especially regarding aligments : selection was broken, moving the cursor also -> fixed. I have also added a tiny fix when the TextInput lost the focus -> the selection is cleared. Task-number:QT-2745 Reviewed-by:Michael Brasser
| | | | | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-0925-21/+255
| | | | | |\ \
| | | | | * | | Verbose failure outputWarwick Allison2010-04-091-0/+2
| | | | | | | |
| | | | * | | | Ensure GridView content position is stable when moving items.Martin Jones2010-04-091-0/+5
| | | | | |/ / | | | | |/| | | | | | | | | | | | | | | | Task-number: QTBUG-9697
| | | | * | | Update visual test.Michael Brasser2010-04-089-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We've updated our handling of drag threshold in MouseArea.
| | | | * | | Fix test.Michael Brasser2010-04-081-1/+1
| | | | | | |
| | | | * | | Update test following property name change.Michael Brasser2010-04-083-5/+5
| | | | | | |
| | | | * | | Don't crash when QML engine is deletedAaron Kennedy2010-04-082-0/+34
| | | | | | |
| | | | * | | Fix crash on null object assignmentAaron Kennedy2010-04-082-0/+23
| | | | | | |
| | | | * | | Make string -> int conversion consistent in bindingsAaron Kennedy2010-04-084-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | QTBUG-9538
| | | | * | | Improve static assignment to QVariant's in the int and double caseAaron Kennedy2010-04-083-0/+66
| | | | | | |
| | | | * | | Renamed 'source' property from SpringFollow to 'to'Leonardo Sobral Cunha2010-04-084-11/+11
| | | | |/ /
| | | | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-083-0/+80
| | | | |\ \
| | | | | * | Cleanup handling of errors in bindings and scriptsAaron Kennedy2010-04-083-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QML used to silently ignore a log of errors - such as a failed assignment to a QObject property. These errors are now all reported as exceptions in JavaScript. Other questionable activities, like assigning a JavaScript array to a "property var" property which appeared to work, thanks to QtScript's transparent conversion of arrays to a QVariantList, are now blocked entirely. QTBUG-9152 QTBUG-9382 QTBUG-9341 QTBUG-6886
| | | | * | | Add running of examples to quality gate.Warwick Allison2010-04-082-3/+4
| | | | |/ / | | | | | | | | | | | | | | | | | | Fix broken examples too.
| | | | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-0813-4/+302
| | | | |\ \
| | | | | * | Fix tst_qdeclarativesmoothedanimation::behaviorLeonardo Sobral Cunha2010-04-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added an 'id' to the animations inside Behaviors to avoid deferred creation.
| | | | | * | Add SmoothedFollow element to qmlLeonardo Sobral Cunha2010-04-089-1/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SmoothedFollow is the same as the old EaseFollow, so it's not an animation, but its main use case is to be used as a property value source to automatically follow the 'to' property, as in the example below. Rectangle { color: "green" width: 60; height: 60; SmoothedFollow on x { to: rect1.x - 5; velocity: 200 } SmoothedFollow on y { to: rect1.y - 5; velocity: 200 } } This element shares the internal implementation with SmoothedAnimation, both providing the same easing function, but with SmoothedFollow it's easier to set a start value to animate intially and then start to follow, while SmoothedAnimation is still convenient for using inside Behaviors and Transitions. Reviewed-by: Michael Brasser
| | | | | * | Autotest for 76f5e9e7d1eea8d688d5459b7b7b2bfa3f9057edAaron Kennedy2010-04-082-1/+19
| | | | | | |
| | | | | * | Fix test.Michael Brasser2010-04-081-0/+1
| | | | | | |
| | | | * | | Test readonly valuetypes. Fails for field.Warwick Allison2010-04-085-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-9685
| | | | * | | Fix AnimatedImage for remote image test. Fix and test sourceSize property.Warwick Allison2010-04-083-0/+37
| | | | | | |
| | | | * | | Ignore current spurious warnings.Warwick Allison2010-04-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QT-3245
| | | | * | | unwarnWarwick Allison2010-04-081-0/+2
| | | | |/ /
| | | | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-084-13/+13
| | | | |\ \
| | | | | * \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-0811-301/+286
| | | | | |\ \
| | | | | * \ \ Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-084-78/+202
| | | | | |\ \ \
| | | | | * | | | Replace Text::wrap property with Text::wrapMode enumeration.Martin Jones2010-04-084-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrap remains for a little while, and will produce a warning.
| | | | * | | | | Remove usage of Script where not actually testing the obsolete construct.Warwick Allison2010-04-081-4/+3
| | | | | | | | |
| | | | * | | | | Test import of a script requires qualifier.Warwick Allison2010-04-083-0/+6
| | | | | | | | |
| | | | * | | | | Remove error-tests of obsolete Script element.Warwick Allison2010-04-0825-120/+0
| | | | | |_|/ / | | | | |/| | |
| | | | * | | | Remove usage of Script where not actually testing the obsolete construct.Warwick Allison2010-04-081-3/+1
| | | | | | | |
| | | | * | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-083-20/+67
| | | | |\ \ \ \ | | | | | | |/ / | | | | | |/| |
| | | | | * | | Revert "Add QListModelInterface::modelReset() signal and emit this in"Bea Lam2010-04-081-20/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 973cfce37fcdd1ce330f237eaa76930db55a73f6. Need more consideration before adding modelReset(). For example if item insertion/removal is supposed to trigger animations through added/removed signals, they won't be triggered if only the modelReset() signal is emitted. Also if we add modelReset(), it should also be implemented for ListModel to make sure it is implemented by all subclasses of QListModelInterface and to test the impact of this on the view classes.
| | | | | * | | Prevent Behavior from being triggered on initialization.Michael Brasser2010-04-082-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-6332
| | | | * | | | Remove usage of Script where not actually testing the obsolete construct.Warwick Allison2010-04-088-293/+279
| | | | | | | |
| | | | * | | | Pass again, now that version must exist in order to be imported.Warwick Allison2010-04-082-5/+6
| | | | |/ / /
| | | | * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-087-0/+123
| | | | |\ \ \ | | | | | |/ /
| | | | | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-089-192/+34
| | | | | |\ \
| | | | | | * | Revert "Support QList<QObject*> properties"Aaron Kennedy2010-04-087-192/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9d9161446bfad883c298d54a122e822c5e273a9c. This was a bad idea. It complicates the "property var" are not really JavaScript var problem. Some of the patch is valid, and it will be applied separately.
| | | | | | * | Document behavior of conflicting when clauses.Michael Brasser2010-04-082-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-9371
| | | | | * | | Don't emit clicked() after pressAndHold()Martin Jones2010-04-082-0/+44
| | | | | |/ / | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-9676
| | | | | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-087-0/+192
| | | | | |\ \
| | | | | | * | Support QList<QObject*> propertiesAaron Kennedy2010-04-087-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already supported returning QList<QObject*> from methods, but there wasn't really much that could be done with the return value. This closes the loop on QList<QObject*> support by allowing them to be properties, and used as models.
| | | | | * | | Fix setting of pointSize and pixelSize in different items.Martin Jones2010-04-083-0/+45
| | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also ensure warning is issued regardless of the order both pointSize and pixelSize are set in the same item. Task-number: QTBUG-9665
| | | | * | | Give error if attempt to import from a version that is not installed.Warwick Allison2010-04-081-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (was done for builtins/plugins, but now also for qmldir-specified content) Task-number: QTBUG-9627