42 #ifndef QDECORATIONDEFAULT_QWS_H 43 #define QDECORATIONDEFAULT_QWS_H 45 #include <QtGui/qdecoration_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);
98 #endif // QT_NO_QWS_DECORATION_DEFAULT 101 #endif // QDECORATIONDEFAULT_QWS_H The QPainter class performs low-level painting on widgets and other paint devices.
virtual bool paint(QPainter *p, const QWidget *w, int decorationRegion=All, DecorationState state=Normal)=0
Implement this function to paint the border and title decoration for the specified top level widget u...
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
static QPixmap * staticNormalizePixmap
The QString class provides a Unicode character string.
virtual QRegion region(const QWidget *w, const QRect &rect, int decorationRegion=All)=0
Implement this function to return the region specified by decorationRegion for the given top level wi...
static QPixmap * staticMenuPixmap
The QDecoration class is a base class for window decorations in Qt for Embedded Linux.
static QPixmap * staticHelpPixmap
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRegion class specifies a clip region for a painter.
static QPixmap * staticMinimizePixmap
The QRect class defines a rectangle in the plane using integer precision.
DecorationState
This enum describes the various states of a decoration region.
The QPixmap class is an off-screen image representation that can be used as a paint device...
The QDecorationDefault class is a base class providing default window decorations.
static QPixmap * staticMaximizePixmap
static QPixmap * staticClosePixmap
The QPalette class contains color groups for each widget state.