The QWSDecoration class allows the appearance of the Qt/Embedded Window Manager to be customized.
.PP
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 QWSDecoration and overriding a few methods.
.PP
This class is non-portable. It is available \fIonly\fR in Qt/Embedded.
.PP
See also QApplication::qwsSetDecoration() and Qt/Embedded.
.SS "Member Type Documentation"
.SH "QWSDecoration::Region"
This enum describes the regions in the window decorations.
.TP
\fCQWSDecoration::None\fR - used internally.
.TP
\fCQWSDecoration::All\fR - the entire region used by the window decoration.
.TP
\fCQWSDecoration::Title\fR - Displays the window title and allows the window to be moved by dragging.
.TP
\fCQWSDecoration::Top\fR - allows the top of the window to be resized.
.TP
\fCQWSDecoration::Bottom\fR - allows the bottom of the window to be resized.
.TP
\fCQWSDecoration::Left\fR - allows the left edge of the window to be resized.
.TP
\fCQWSDecoration::Right\fR - allows the right edge of the window to be resized.
.TP
\fCQWSDecoration::TopLeft\fR - allows the top-left of the window to be resized.
.TP
\fCQWSDecoration::TopRight\fR - allows the top-right of the window to be resized.
.TP
\fCQWSDecoration::BottomLeft\fR - allows the bottom-left of the window to be resized.
.TP
\fCQWSDecoration::BottomRight\fR - allows the bottom-right of the window to be resized.
.TP
\fCQWSDecoration::Close\fR - clicking in this region closes the window.
.TP
\fCQWSDecoration::Minimize\fR - clicking in this region minimizes the window.
.TP
\fCQWSDecoration::Maximize\fR - clicking in this region maximizes the window.
.TP
\fCQWSDecoration::Normalize\fR - returns a maximized window to its previous size.
.TP
\fCQWSDecoration::Menu\fR - clicking in this region opens the window operations (system) menu.
Override to paint a button of type \fItype\fR using \fIpainter\fR.
.PP
\fIwidget\fR is the widget whose button is to be drawn. \fIstate\fR is the state of the button. It can be a combination of the following OR-ed together: