42 #ifndef QCLEANLOOKSSTYLE_H 43 #define QCLEANLOOKSSTYLE_H 45 #include <QtGui/qwindowsstyle.h> 53 #if !defined(QT_NO_STYLE_CLEANLOOKS) 87 const QWidget *widget = 0)
const;
89 int alignment,
const QPixmap &pixmap)
const;
101 const QWidget *widget = 0)
const;
108 #endif // QT_NO_STYLE_CLEANLOOKS 114 #endif // QCLEANLOOKSSTYLE_H The QPainter class performs low-level painting on widgets and other paint devices.
QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *option, const QWidget *widget=0) const
void drawControl(ControlElement element, const QStyleOption *opt, QPainter *p, const QWidget *w=0) const
Reimplemented Function
void polish(QApplication *)
Reimplemented Function
void unpolish(QApplication *)
Reimplemented Function
The QApplication class manages the GUI application's control flow and main settings.
SubControl
This enum describes the available sub controls.
StyleHint
This enum describes the available style hints.
The QStyleHintReturn class provides style hints that return more than basic data types.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
ColorRole
The ColorRole enum defines the different symbolic color roles used in current GUIs.
virtual QRect itemPixmapRect(const QRect &r, int flags, const QPixmap &pixmap) const
Returns the area within the given rectangle in which to draw the specified pixmap according to the de...
ComplexControl
This enum describes the available complex controls.
PixelMetric
This enum describes the various available pixel metrics.
virtual void drawItemText(QPainter *painter, const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole=QPalette::NoRole) const
Draws the given text in the specified rectangle using the provided painter and palette.
QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const
Reimplemented Function
The QString class provides a Unicode character string.
void drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *w=0) const
Reimplemented Function
StandardPixmap
This enum describes the available standard pixmaps.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual QPalette standardPalette() const
Returns the style's standard palette.
The QStyleOption class stores the parameters used by QStyle functions.
ContentsType
This enum describes the available contents types.
Mode
This enum type describes the mode for which a pixmap is intended to be used.
int pixelMetric(PixelMetric pm, const QStyleOption *option=0, const QWidget *widget=0) const
Reimplemented Function
void drawComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p, const QWidget *w=0) const
Reimplemented Function
int styleHint(StyleHint hint, const QStyleOption *opt=0, const QWidget *widget=0, QStyleHintReturn *returnData=0) const
Reimplemented Function
virtual void drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, const QPixmap &pixmap) const
Draws the given pixmap in the specified rectangle, according to the specified alignment, using the provided painter.
The QCleanlooksStyle class provides a widget style similar to the Clearlooks style available in GNOME...
PrimitiveElement
This enum describes the various primitive elements.
QSize sizeFromContents(ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget=0) const
Reimplemented Function
QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget=0) const
Reimplemented Function
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
SubControl hitTestComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *w=0) const
Reimplemented Function
The QPixmap class is an off-screen image representation that can be used as a paint device...
ControlElement
This enum represents a control element.
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
QRect subElementRect(SubElement r, const QStyleOption *opt, const QWidget *widget=0) const
Reimplemented Function
The QStyleOptionComplex class is used to hold parameters that are common to all complex controls...
The QWindowsStyle class provides a Microsoft Windows-like look and feel.
QRect subControlRect(ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc, const QWidget *w=0) const
Reimplemented Function
SubElement
This enum represents a sub-area of a widget.
The QPalette class contains color groups for each widget state.
The QIcon class provides scalable icons in different modes and states.