![]() |
Home · All Classes · Main Classes · Grouped Classes · Modules · Functions | ![]() |
The QTransformedScreen class implements a screen driver for a transformed screen. More...
#include <QTransformedScreen>
Inherits QScreen.
The QTransformedScreen class implements a screen driver for a transformed screen.
Note that this class is only available in Qtopia Core. Custom screen drivers can be added by subclassing the QScreenDriverPlugin class, using the QScreenDriverFactory class to dynamically load the driver into the application, but there should only be one screen object per application.
Use the QScreen::isTransformed() function to determine if a screen is transformed. The QTransformedScreen class itself provides means of rotating the screen with its setTransformation() function; the transformation() function returns the currently set rotation in terms of the Transformation enum (which describes the various available rotation settings). Alternatively, QTransformedScreen provides an implementation of the QScreen::transformOrientation() function, returning the current rotation as an integer value.
See also QScreen, QScreenDriverPlugin, and Running Applications.
This enum describes the various rotations a transformed screen can have.
Constant | Value | Description |
---|---|---|
QTransformedScreen::None | 0 | No rotation |
QTransformedScreen::Rot90 | 1 | 90 degrees rotation |
QTransformedScreen::Rot180 | 2 | 180 degrees rotation |
QTransformedScreen::Rot270 | 3 | 270 degrees rotation |
Constructs a QTransformedScreen object. The displayId argument identifies the Qtopia Core server to connect to.
Destroys the QTransformedScreen object.
Rotates this screen object according to the specified transformation.
See also transformation().
Returns the currently set rotation.
See also setTransformation() and QScreen::transformOrientation().
Copyright © 2006 Trolltech | Trademarks | Qt 4.2.0 |