QSystemDisplayInfo Class ReferenceThe QSystemDisplayInfo class provides access to display information from the system. More... #include <QSystemDisplayInfo> Inherits: QObject. This class was introduced in Qt Mobility 1.0. Public Types
Public Functions
Signals
Static Public Members
Additional Inherited Members
Detailed DescriptionThe QSystemDisplayInfo class provides access to display information from the system. Warning: This class can only be used from the main thread, since it has been implemented using GUI functionality. Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QSystemDisplayInfo::BacklightStateUnknown | -1 | Error, no, or unknown Backlight state. |
QSystemDisplayInfo::BacklightStateOff | 0 | Backlight is turned off. |
QSystemDisplayInfo::BacklightStateDimmed | 1 | Backlight has been dimmed. |
QSystemDisplayInfo::BacklightStateOn | 2 | Backlight is on. |
This enum describes the orientation of the default window.
Constant | Value | Description |
---|---|---|
QSystemDisplayInfo::Unknown | 0 | Unknown orientation or error. |
QSystemDisplayInfo::Landscape | 1 | Landscape is wider than high. |
QSystemDisplayInfo::Portrait | 2 | Portrait is higher than wide. |
QSystemDisplayInfo::InvertedLandscape | 3 | Landscape that is inverted. |
QSystemDisplayInfo::InvertedPortrait | 4 | Portrait that is inverted. |
Constructs a QSystemDisplayInfo object with the given parent.
Destroys the QSystemDisplayInfo object.
Returns whether the QSystemDisplayInfo::BacklightState for the screen screen.
This function was introduced in Qt Mobility 1.2.
Returns the color depth of the screen with the index screenNumber, in bits per pixel. -1 is returned if not available or on error.
This function was introduced in Qt Mobility 1.0.
See also QDesktopWidget::screenCount().
Returns the current contrast of the screen screen, from 0 to 1. -1 is returned if not available or on error.
This function was introduced in Qt Mobility 1.2.
See also QDesktopWidget::screenCount().
Returns the display brightness of the screen with index screenNumber, in 1 - 100 scale. -1 is returned if not available or on error.
This function was introduced in Qt Mobility 1.0.
See also QDesktopWidget::screenCount().
Returns the dpi (Dot Per Inch) of the height os screen. -1 is returned if not available or on error.
This function was introduced in Qt Mobility 1.2.
See also QDesktopWidget::screenCount().
Returns the current dots per inch (DPI) for the width of screen. -1 is returned if not available or on error.
This function was introduced in Qt Mobility 1.2.
See also QDesktopWidget::screenCount().
Returns the orientation of the UI QDesktopWidget for screen.
This function was introduced in Qt Mobility 1.2.
See also QDesktopWidget::screenCount().
This signal is emitted when QDesktopWidget's orientation has changed to orientation.
Returns the physical height of the screen in millimeters. -1 is returned if not available or on error.
This function was introduced in Qt Mobility 1.2.
See also QDesktopWidget::screenCount().
Returns the physical width of screen in millimeters. -1 is returned if not available or on error.
This function was introduced in Qt Mobility 1.2.
See also QDesktopWidget::screenCount().
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.2 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com