42 #ifndef QDECORATIONSTYLED_QWS_H 43 #define QDECORATIONSTYLED_QWS_H 45 #include <QtGui/qdecorationdefault_qws.h> 53 #if !defined(QT_NO_QWS_DECORATION_STYLED) || defined(QT_PLUGIN) 67 #endif // QT_NO_QWS_DECORATION_STYLED 73 #endif // QDECORATIONSTYLED_QWS_H The QPainter class performs low-level painting on widgets and other paint devices.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
virtual QRegion region(const QWidget *widget, const QRect &rect, int decorationRegion=All)
Returns the region specified by decorationRegion for the top-level widget.
virtual bool paint(QPainter *painter, const QWidget *widget, int decorationRegion=All, DecorationState state=Normal)
Paints the border and title decoration for the top-level widget using the painter provided and the de...
virtual int titleBarHeight(const QWidget *widget)
Returns the title bar height in pixels for the given widget.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRegion class specifies a clip region for a painter.
The QRect class defines a rectangle in the plane using integer precision.
DecorationState
This enum describes the various states of a decoration region.
The QDecorationDefault class is a base class providing default window decorations.