summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual
Commit message (Collapse)AuthorAgeFilesLines
* Fix SmoothedAnimation test and docsAlan Alpert2010-09-095-6/+889
| | | | | | | | | The SmoothedAnimation visual test was misleading, and has been expanded to include more common use cases. The property documentation was also slightly extended. This should help solve the confusion in the related task. Task-number: QTBUG-12114
* Fix AnchorAnimation for multiple AnchorChanges with dependancies.Michael Brasser2010-09-063-0/+515
| | | | | | | When rewinding, don't reapply bindings, only values. This is consistent with how we handle rewinding other property bindings. Task-number: QTBUG-13398
* Add moving and flicking properties to PathViewMartin Jones2010-07-298-470/+815
| | | | | | | | | | PathView handles its own mouse interaction, but lacked properties similar to those in Flickable to determine when it is stationary. This made it impossible to start an animation when the view stops moving, for example. Task-number: QTBUG-12497 Reviewed-by: Warwick Allison
* Rename remaining 'wantsFocus'.Yann Bodson2010-07-212-9/+9
|
* font.letterSpacing used percentage rather than absolute values.Martin Jones2010-07-212-4/+4
| | | | | | | ... and percentage is useless. Task-number: QTBUG-12282 Reviewed-by: Warwick Allison
* Remove use of SpringFollow and SmoothedFollow in qmlvisual testBea Lam2010-07-123-31/+42
| | | | (onvert to use SpringAnimation and SmoothedAnimation instead)
* Minor demo fixesAlan Alpert2010-06-161-4/+5
| | | | Found some minor demo issues while testing a TextInput change.
* Make declarative autotests compile on Symbian abld build systemJoona Petrell2010-06-082-3/+6
| | | | | Task-number: Reviewed-by: Martin Jones
* Simplify selection setting. Make TextInput more like TextEdit.Warwick Allison2010-05-312-4/+2
| | | | | | By making selectionStart/End read-only, and adding adding select(). Task-number: QTBUG-11056
* Add selection methods to TextEditWarwick Allison2010-05-303-2/+89
| | | | | | | | Sufficient to allow different selection look and feel (see whacky example) Task-number: QTBUG-10968 Reviewed-by: Michael Brasser Reviewed-by: Alan Alpert
* Fix TextEdit clipping when not wrapped. Rename most-useful-wrap-mode to "Wrap".Warwick Allison2010-05-263-3/+3
|
* Fix visual tests after rename of the qml executable.Michael Brasser2010-05-241-3/+3
|
* Remove license headers from test data.Warwick Allison2010-05-23191-7831/+0
| | | | Partial revert of d5a86d924bfe331aeba6465b0f249cd27ef83ad4
* Add license headers for .qml files.Jason McDonald2010-05-21191-0/+7831
| | | | | | | Examples get the BSD license, while all other .qml files get the LGPL/tech-preview license. Reviewed-by: Trust Me
* Use QDeclarativeScriptString for ParentChange.Michael Brasser2010-05-187-0/+1088
| | | | | | | So that scope resolution is correct, e.g. "width: parent.width-10;" in a ParentChange works correctly. Task-number: QTBUG-10675
* Symbian build fix to declarative auto and benchmark testsJoona Petrell2010-05-142-3/+30
| | | | | Task-number: QTBUG-9491 Reviewed-by: Martin Jones
* Minor declarative webview tweaksAlan Alpert2010-05-1322-573/+230
| | | | | | | Added a comment to the class docs, and cleaned up the visual tests a little. However the visual tests are old and text heavy, and since we never seem to check them we might wait on updating them for a little longer.
* Bail out early if the same target value is reassigned to a Behavior.Michael Brasser2010-05-127-2/+1181
| | | | | Task-number: QTBUG-10586 Reviewed-by: leo
* Update mouse area qmlvisual test to follow change QTBUG-10162Leonardo Sobral Cunha2010-05-071-2/+2
| | | | Reviewed-by: Michael Brasser
* Don't start valuesource animations until all component objects have been ↵Michael Brasser2010-05-051-2/+2
| | | | | | completed. Task-number: QTBUG-9413
* Update visual tests after some painter updates.Michael Brasser2010-04-222-83/+83
|
* Replace Flickable overshoot property with boundsBehaviorMartin Jones2010-04-221-3/+2
| | | | Task-number: QTBUG-9993
* Fix versioning of Qt Declarative's in-built typesAlan Alpert2010-04-21187-187/+187
| | | | | | Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
* Emit released and hoveredChanged in MouseArea when a UngrabMouse is receivedLeonardo Sobral Cunha2010-04-2117-0/+5182
| | | | | | | | | | | The unbgrab mouse happens when the mouse area is inside a flickable and the flickables takes control over the mouse handling. In this case, the UngrabMouse will behave similarly to a MouseRelease, emitting released, pressedChanged and hoveredChanged. Visual autotest added to mousearea in qmlvisual. Reviewed-by: Michael Brasser
* Visual test fix.Michael Brasser2010-04-211-1/+1
|
* Regenerate recordsnapshot to fix fillmode visual test in qmlLeonardo Sobral Cunha2010-04-202-1/+1
| | | | Reviewed-by: Michael Brasser
* Add test verifying QTBUG-8424 fixAlan Alpert2010-04-192-0/+269
|
* Visual test updates.Michael Brasser2010-04-1520-1422/+91
|
* fillmode is a static visual test, so only record one frame.Michael Brasser2010-04-141-269/+1
|
* Support recording visual snapshot tests.Michael Brasser2010-04-141-2/+11
|
* Tweak tests to run in parallelAaron Kennedy2010-04-131-0/+3
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-04-1227-33/+131
|\ | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativetextinput.cpp src/declarative/graphicsitems/qdeclarativetextinput_p.h
| * 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-091-2/+2
| |
| * Replace "property var " with "property variant " in QML codeAaron Kennedy2010-04-092-5/+5
| |
| * Update visual test.Michael Brasser2010-04-089-4/+4
| | | | | | | | We've updated our handling of drag threshold in MouseArea.
| * Renamed 'source' property from SpringFollow to 'to'Leonardo Sobral Cunha2010-04-082-8/+8
| |
| * Add SmoothedFollow element to qmlLeonardo Sobral Cunha2010-04-081-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Replace Text::wrap property with Text::wrapMode enumeration.Martin Jones2010-04-082-8/+8
| | | | | | | | wrap remains for a little while, and will produce a warning.
| * Visual test updates.Michael Brasser2010-04-0711-3/+36
| |
* | Add some TextInput properties and methodsAlan Alpert2010-04-1219-189/+4601
|/ | | | | | | | | | | | | | | | | | Adds the properties -passwordCharacter -displayText And the method -moveCursorSelection(int pos) These just provide a QML way to access existing QLineControl functionality, and are necessary to create desktop style LineEdits (the existing TextInput QML API was designed with a focus on touch input LineEdits) Includes tests and documentation. Task-number: QT-321 Reviewed-by: Aaron Kennedy
* Cleanup MouseArea visual tests.Michael Brasser2010-03-3137-0/+18
|
* See if we can get the visual tests working on qws.Michael Brasser2010-03-301-0/+4
|
* Make visual tests run on windowsMartin Jones2010-03-301-1/+2
|
* Finished file rename of qdeclarative easefollow to smoothedanimationLeonardo Sobral Cunha2010-03-309-0/+0
|
* Change and rename qml EaseFollow to SmoothedAnimationLeonardo Sobral Cunha2010-03-302-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QDeclarativeSmoothedAnimation inherits from QDeclarativeNumberAnimation, as a consequence SmoothedAnimation can be used inside Behaviors and as PropertySourceValues, like any other animation. The old EaseFollow properties changed to comply with the other declarative animations ('source' changed to 'to'), so now 'to' changes are not automatically 'followed' anymore. You can achieve the following behavior by putting a SmoothedAnimation inside a Behavior of a property that is bound to another, as the following example: If you want to follow an hypothetical rect1, you should do now: Rectangle { color: "green" width: 60; height: 60; x: rect1.x - 5; y: rect1.y - 5; Behavior on x { SmoothedAnimation { velocity: 200 } } Behavior on y { SmoothedAnimation { velocity: 200 } } } SmoothedAnimation also supports animating multiple target(s)/property(ies) in the transition case. When a QDeclarativeSmoothedAnimation is restarted, it will match the QDeclarativeProperty which were being animated and transfer the corresponding track velocity to the new starting animations. QSmoothedAnimation is an uncontrolled animation, duration == -1. The duration is set as -1 to avoid consecutive animation state changes stop()/start(). This is particularly useful when using QSmoothAnimation to 'follow' another property, which is also being animated (change the 'to' property every tick). Reviewed-by: Michael Brasser
* Visual test fixes.Michael Brasser2010-03-295-4/+4
|
* Add missing pro file.Michael Brasser2010-03-291-0/+7
|
* Run a subset of 'stable' visual tests.Michael Brasser2010-03-281-2/+10
|
* Rename visual test to qmlvisual.Michael Brasser2010-03-28675-0/+138051