summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-04-13213-923/+6705
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (147 commits) doc fixes Don't test XmlListModel examples on platforms without QtXmlPatterns More error output for QML_IMPORT_TRACE=1 Fix declarative examples autotest, avoid using native separators Doc: update Rectangle smooth painting screenshot. Add some TextInput properties and methods Remove GraphicsObjectContainer from the documentation. import Qt 4.6 -> import Qt 4.7 Move documentation code to snippet. Test fix. Fix test Fix test on QWS. Fix PathView crash. Make bindings dump more useful Improve font value type documentation. coding conventions Doc fixes Warning Read Maemo orientation at startup Exclude gestures from examples autotest ...
| * Don't test XmlListModel examples on platforms without QtXmlPatternsAlan Alpert2010-04-121-0/+6
| |
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-04-121-2/+2
| |\
| | * Fix declarative examples autotest, avoid using native separatorsLeonardo Sobral Cunha2010-04-121-2/+2
| | | | | | | | | | | | Reviewed-by: Joona Petrell
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-04-12207-871/+2256
| |\ \ | | |/ | | | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativetextinput.cpp src/declarative/graphicsitems/qdeclarativetextinput_p.h
| | * Test fix.Michael Brasser2010-04-121-2/+2
| | |
| | * Fix testBea Lam2010-04-121-1/+3
| | |
| | * Fix test on QWS.Michael Brasser2010-04-121-0/+4
| | |
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-04-12192-729/+2037
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (130 commits) Warning Read Maemo orientation at startup Exclude gestures from examples autotest Exclude proxywidgets from examples autotest Fix crash on QScriptProgram destruction doc fixes Start documenting coding conventions Adds missing qml file to qdeclarativeflipable autotest Revert "Better reporting of extension plugin loading errors." Doc Fix graphicswidget auto-test. Add Mac OS X bundle description for qml runtime Cleanup Disallow writes to read-only value type properties Allow undefined to be assigned to QVariant properties Add a Qt.isQtObject() method Fix crash in QML library imports Remove QT_VERSION checks in QML List properties aren't read-only Small doc fix. ...
| | | * Exclude gestures from examples autotestAaron Kennedy2010-04-121-0/+1
| | | |
| | | * Exclude proxywidgets from examples autotestAaron Kennedy2010-04-121-0/+1
| | | |
| | | * Adds missing qml file to qdeclarativeflipable autotestLeonardo Sobral Cunha2010-04-122-0/+14
| | | |
| | | * Fix graphicswidget auto-test.Alexis Menard2010-04-122-52/+40
| | | | | | | | | | | | | | | | Reviewed-by:Michael Brasser
| | | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-04-10188-677/+1981
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (119 commits) Add Mac OS X bundle description for qml runtime Cleanup Disallow writes to read-only value type properties Allow undefined to be assigned to QVariant properties Add a Qt.isQtObject() method Fix crash in QML library imports Remove QT_VERSION checks in QML List properties aren't read-only Small doc fix. Make sure WorkerScript thread is stopped on deletion. This also fixes Release ListModel's worker agent on deletion. Doc fixes Fix example Example code style improvements Enable other wrapping modes. TextEdit::wrap changed to TextEdit::wrapMode enumeration Remove use of obsolete "Script" element. unwarn Replace "var" with "variant" in tests Fix test after deletion of GraphicsObjectContainer. ...
| | | | * Disallow writes to read-only value type propertiesAaron Kennedy2010-04-093-1/+34
| | | | | | | | | | | | | | | | | | | | QTBUG-9685
| | | | * Allow undefined to be assigned to QVariant propertiesAaron Kennedy2010-04-092-0/+29
| | | | | | | | | | | | | | | | | | | | QTBUG-9704
| | | | * Add a Qt.isQtObject() methodAaron Kennedy2010-04-092-0/+30
| | | | | | | | | | | | | | | | | | | | QTBUG-9705
| | | | * Fix crash in QML library importsAaron Kennedy2010-04-093-0/+25
| | | | | | | | | | | | | | | | | | | | QTBUG-9705
| | | | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-091-3/+0
| | | | |\
| | | | | * Make sure WorkerScript thread is stopped on deletion. This also fixesBea Lam2010-04-091-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | the leaking of the worker agent in ListModel.
| | | | * | Enable other wrapping modes.Martin Jones2010-04-093-3/+28
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WrapAnywhere - Text can be wrapped at any point on a line, even if it occurs in the middle of a word. WrapAtWordBoundaryOrAnywhere - If possible, wrapping occurs at a word boundary; otherwise it will occur at the appropriate point on the line, even in the middle of a word.
| | | | * TextEdit::wrap changed to TextEdit::wrapMode enumerationMartin Jones2010-04-093-7/+7
| | | | |
| | | | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-0967-146/+202
| | | | |\
| | | | | * Replace "var" with "variant" in testsAaron Kennedy2010-04-092-11/+11
| | | | | |
| | | | | * Fix test after deletion of GraphicsObjectContainer.Alexis Menard2010-04-091-23/+20
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by:TrustMe
| | | | | * 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