QtGui/qdecorationdefault_qws.h Source File
Go to the documentation of this file.
42 #ifndef QDECORATIONDEFAULT_QWS_H
43 #define QDECORATIONDEFAULT_QWS_H
53 #if !defined(QT_NO_QWS_DECORATION_DEFAULT) || defined(QT_PLUGIN)
55 #define CORNER_GRAB 16
56 #define BORDER_WIDTH 4
57 #define BOTTOM_BORDER_WIDTH BORDER_WIDTH
70 virtual int titleBarHeight(
const QWidget *widget);
72 virtual void paintButton(
QPainter *painter,
const QWidget *widget,
int buttonRegion,
74 virtual QPixmap pixmapFor(
const QWidget *widget,
int decorationRegion,
int &xoff,
int &yoff);
75 virtual const char **xpmForRegion(
int region);
87 static QPixmap *staticHelpPixmap;
88 static QPixmap *staticMenuPixmap;
89 static QPixmap *staticClosePixmap;
90 static QPixmap *staticMinimizePixmap;
91 static QPixmap *staticMaximizePixmap;
92 static QPixmap *staticNormalizePixmap;
98 #endif // QT_NO_QWS_DECORATION_DEFAULT
101 #endif // QDECORATIONDEFAULT_QWS_H
virtual QRegion region(const QWidget *w, const QRect &rect, int decorationRegion=All)=0
virtual bool paint(QPainter *p, const QWidget *w, int decorationRegion=All, DecorationState state=Normal)=0
#define QT_BEGIN_NAMESPACE