summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeviewer
Commit message (Collapse)AuthorAgeFilesLines
* Make it possible to manually set the orientation of QML Viewer on SymbianJoona Petrell2010-08-031-3/+33
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-12142 Reviewed-by: Warwick Allison This patch brings ability to switch QML Viewer's orientation between auto-orientation (=follow sensor), portrait and landscape orientations (lock orientation) on Symbian. It provides same orientation options as Qt Creator 2.1's Qt QML Standalone Application creation wizard. Also, menu item rotateOrientation now works on Symbian, but it's hidden when orientation mode is set to auto-orientation. Property runtime.orientation has been switched back to supporting four-way orientation on Symbian, previously it only updated values between portrait and landscape. If your application only supports landscape or portrait modes, just don't react to the inverted orientations. Added orientation example screenorientation under examples/declarative. The patch includes a fix for calculator example, which rotated to wrong direction when switching from portrait to landscape. Also, improved qdeclarativeviewer unit tests. Changes have been tested to work on Windows, Linux and Symbian^3.
* Allow test to pass on smaller screens (eg. 480 high).Warwick Allison2010-07-161-12/+12
|
* Calling setMinimumSize(0, 0) on a top-level window sometimes triggers a bugRobert Griebl2010-07-121-14/+12
| | | | | | | | | | in the Compiz window manager which leads to the QML viewer mainwindow not being composited anymore (at least until the next resize). Since we need to somehow switch between fixed size and freely resizable views, we have to work around that bug using the layout constraint hints. Task-number: QTBUG-11771 Reviewed-by: kkoehne
* Clean up at the end of each test.Michael Brasser2010-07-081-0/+12
|
* Avoid duplicate code for testing initial sizesBea Lam2010-06-291-21/+15
|
* Adapt all qmlviewer testcases to the code changes in the actual viewer.Robert Griebl2010-06-281-10/+18
| | | | (currently tested on Linux only)
* Fix unstable qdeclarativeviewer testsBea Lam2010-06-231-2/+2
|
* Fix test - sizeHint should not change after initial load. Also useBea Lam2010-06-111-5/+3
| | | | QTRY_COMPARE for some tests.
* Fix qmlviewer test failure on windowsMartin Jones2010-06-111-8/+8
| | | | Attempted to make window size smaller than Windows minimum.
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-06-101-0/+17
|\
| * Improve test stability.Warwick Allison2010-06-101-0/+17
| |
* | Stablize qmlviewer testMartin Jones2010-06-101-13/+14
|/
* Fix drawing flicker on Qml Viewer startupJoona Petrell2010-06-091-0/+187
| | | | | Task-number: QTBUG-10251 and QTBUG-11156 Reviewed-by: Martin Jones
* Make declarative autotests compile on Symbian abld build systemJoona Petrell2010-06-082-2/+6
| | | | | Task-number: Reviewed-by: Martin Jones
* Revert to Portrait/Landscape terminology for Orientation enum, withBea Lam2010-06-041-10/+10
| | | | | | additional PortraitInverted and LandscapeInverted values. TopUp etc. only indicates rotation which makes it difficult to resize the window according to whether the device is in Portrait or Landscape orientation.
* QML viewer now supports TopUp, TopDown, RightUp and LeftUp orientationsBea Lam2010-06-022-6/+15
| | | | | | | | instead of Portrait/Landscape. The new orientations are named the same as the orientations in the QtMobility sensors module. Task-number: QTBUG-11106 Reviewed-by: akennedy
* Symbian build fix to declarative auto and benchmark testsJoona Petrell2010-05-141-1/+8
| | | | | Task-number: QTBUG-9491 Reviewed-by: Martin Jones
* Resize qmlruntime window to new dimensions when orientation changesJoona Petrell2010-05-073-0/+129
Task-number: Reviewed-by: Warwick Allison