QWindowDecorationInterface Class Reference
|
Constant | Value | Description |
---|---|---|
QWindowDecorationInterface::Border | 0 | defines the entire decoration area, excluding the title bar. |
QWindowDecorationInterface::Title | 1 | defines the area at the top of the window that contains the buttons and captions. It must extend the full width of the window. |
QWindowDecorationInterface::TitleText | 2 | defines the window caption. |
Constant | Value | Description |
---|---|---|
QWindowDecorationInterface::OK | 0 | the OK button. |
QWindowDecorationInterface::Close | 1 | the close button. |
QWindowDecorationInterface::Help | 2 | the help button. |
QWindowDecorationInterface::Maximize | 3 | the maximize/restore button. |
Constant | Value | Description |
---|---|---|
QWindowDecorationInterface::TitleHeight | 0 | the height of the title. |
QWindowDecorationInterface::LeftBorder | 1 | the width of the border on the left of the window. |
QWindowDecorationInterface::RightBorder | 2 | the width of the border on the right of the window. |
QWindowDecorationInterface::TopBorder | 3 | the width of the border on the top of the window, above the title bar. |
QWindowDecorationInterface::BottomBorder | 4 | the width of the border on the bottom of the window. |
QWindowDecorationInterface::OKWidth | 5 | the width of the OK button. |
QWindowDecorationInterface::CloseWidth | 6 | the width of the Close (X) button. |
QWindowDecorationInterface::HelpWidth | 7 | the width of the Help (?) button. |
QWindowDecorationInterface::MaximizeWidth | 8 | the width of the maximize/restore button. |
QWindowDecorationInterface::CornerGrabSize | 9 | the size of the area allowing diagonal resize at each corner of the window. |
Draw the specified area using QPainter p for the window defined by wd.
Draw button with QPainter painter for the window defined by wd within the bounds supplied by x, y, w, h in the specified state.
Returns the icon of the decoration. This may be displayed in the appearance settings dialog.
Returns the mask of the decoration including all borders and the title for the window defined by wd as a QRegion. The window decorations do not necessarily need to be rectangular, however the title bar must be rectangular and must be the width of the window. This ensures the title is drawn correctly for maximized windows.
Returns the metric for the window defined by wd.
Returns the name of the decoration. This will be displayed in the appearance settings dialog.
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 qtextended4.4 | |
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