summaryrefslogtreecommitdiffstats
path: root/tools/qml/deviceorientation.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert to Portrait/Landscape terminology for Orientation enum, withBea Lam2010-06-041-4/+4
| | | | | | 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-021-1/+8
| | | | | | | | 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
* Merged 'orientation' into 'runtime' context property in qmlruntimeLeonardo Sobral Cunha2010-04-141-0/+1
| | | | | | | | | | | Removed the 'Screen' element from DeclarativeViewer, as it was used only for the orientation property. Now access the 'orientation' property like this: 'runtime.orientation' and the enum is accessed as 'Orientation.Landscape', when using the qmlruntime. Updated docs for qmlruntime. Reviewed-by: Martin Jones
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+73
QDeclarativeXXX.