Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QDecoration class allows the appearance of the Qt/Embedded Window Manager to be customized. More...
#include <QDecoration>
The QDecoration class allows the appearance of the Qt/Embedded Window Manager to be customized.
Qt/Embedded provides window management to top level windows. The appearance of the borders and buttons (the decoration) around the managed windows can be customized by creating your own class derived from QDecoration and overriding a few methods.
This class is non-portable. It is available only in Qt/Embedded.
See also QApplication::qwsSetDecoration().
This enum describes the regions in the window decorations.
QDecoration::All | the entire region used by the window decoration. |
QDecoration::Title | displays the window title and allows the window to be moved by dragging. |
QDecoration::Top | allows the top of the window to be resized. |
QDecoration::Bottom | allows the bottom of the window to be resized. |
QDecoration::Left | allows the left edge of the window to be resized. |
QDecoration::Right | allows the right edge of the window to be resized. |
QDecoration::TopLeft | allows the top-left of the window to be resized. |
QDecoration::TopRight | allows the top-right of the window to be resized. |
QDecoration::BottomLeft | allows the bottom-left of the window to be resized. |
QDecoration::BottomRight | allows the bottom-right of the window to be resized. |
QDecoration::Close | clicking in this region closes the window. |
QDecoration::Minimize | clicking in this region minimizes the window. |
QDecoration::Maximize | clicking in this region maximizes the window. |
QDecoration::Normalize | returns a maximized window to its previous size. |
QDecoration::Menu | clicking in this region opens the window operations (system) menu. |
QDecoration::Help | clicking in this region provides context-sensitive help. |
Constructs a decorator.
Destroys a decorator.
Builds the system menu for the TLW widget.
)
Override to paint the border and title decoration around widget using painter.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Returns first region which contains point. If none of the regions contain the point it returns None.
Performs the action for when region is clicked. Also used for items clicked in the system menu.
Initiates move mode for the TLW handled by QWSManager.
Initiates resize mode for the TLW handled by QWSManager.
Copyright © 2004 Trolltech | Trademarks | Qt 4.0.0-b1 |