45 #include <QtGui/qcommonstyle.h> 46 #include <QtCore/qpointer.h> 54 #if !defined(QT_NO_STYLE_MOTIF) 67 void setUseHighlightColors(
bool);
68 bool useHighlightColors()
const;
122 #endif // QT_NO_STYLE_MOTIF 128 #endif // QMOTIFSTYLE_H The QPainter class performs low-level painting on widgets and other paint devices.
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
QRect subElementRect(SubElement r, const QStyleOption *opt, const QWidget *widget=0) const
Reimplemented Function
ComplexControl
This enum describes the available complex controls.
virtual void timerEvent(QTimerEvent *)
This event handler can be reimplemented in a subclass to receive timer events for the object...
PixelMetric
This enum describes the various available pixel metrics.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QObject class is the base class of all Qt objects.
void drawComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p, const QWidget *w=0) const
Reimplemented Function
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
QPixmap standardPixmap(StandardPixmap sp, const QStyleOption *opt=0, const QWidget *widget=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.
QSize sizeFromContents(ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *widget=0) const
Reimplemented Function
int pixelMetric(PixelMetric m, const QStyleOption *opt=0, const QWidget *widget=0) const
Reimplemented Function
void polish(QPalette &)
Reimplemented Function
void drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *w=0) const
Reimplemented Function
The QMotifStyle class provides Motif look and feel.
void unpolish(QWidget *widget)
Reimplemented Function
virtual bool eventFilter(QObject *, QEvent *)
Filters events if this object has been installed as an event filter for the watched object...
PrimitiveElement
This enum describes the various primitive elements.
The QTimerEvent class contains parameters that describe a timer event.
QPointer< QFocusFrame > focus
The QCommonStyle class encapsulates the common Look and Feel of a GUI.
The QRect class defines a rectangle in the plane using integer precision.
void drawControl(ControlElement element, const QStyleOption *opt, QPainter *p, const QWidget *w=0) const
Reimplemented Function
The QPixmap class is an off-screen image representation that can be used as a paint device...
The QFocusFrame widget provides a focus frame which can be outside of a widget's normal paintable are...
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)
QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt=0, const QWidget *widget=0) const
The QStyleOptionComplex class is used to hold parameters that are common to all complex controls...
The QEvent class is the base class of all event classes.
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.
int styleHint(StyleHint sh, const QStyleOption *opt=0, const QWidget *w=0, QStyleHintReturn *shret=0) const
Reimplemented Function
The QPalette class contains color groups for each widget state.
The QIcon class provides scalable icons in different modes and states.