QtGui/qstylepainter.h Source File
Go to the documentation of this file.
42 #ifndef QSTYLEPAINTER_H
43 #define QSTYLEPAINTER_H
63 Q_ASSERT_X(w,
"QStylePainter::QStylePainter",
"Widget must be non-zero");
71 inline void drawItemText(
const QRect &
r,
int flags,
const QPalette &pal,
bool enabled,
100 wstyle->
drawItemText(
this, r, flags, pal, enabled, text, textRole);
112 #endif // QSTYLEPAINTER_H
GLdouble GLdouble GLdouble r
void drawItemText(const QRect &r, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole=QPalette::NoRole)
GLXFBConfig Pixmap pixmap
bool begin(QPaintDevice *)
virtual void drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *w=0) const =0
bool begin(QPaintDevice *pd, QWidget *w)
QStylePainter(QPaintDevice *pd, QWidget *w)
void drawItemPixmap(const QRect &r, int flags, const QPixmap &pixmap)
#define QT_BEGIN_NAMESPACE
virtual void drawControl(ControlElement element, const QStyleOption *opt, QPainter *p, const QWidget *w=0) const =0
void drawControl(QStyle::ControlElement ce, const QStyleOption &opt)
QStylePainter(QWidget *w)
void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption &opt)
virtual void drawComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p, const QWidget *widget=0) const =0
virtual void drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, const QPixmap &pixmap) const
GLubyte GLubyte GLubyte GLubyte w
void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex &opt)
virtual void drawItemText(QPainter *painter, const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole=QPalette::NoRole) const