42 #ifndef QMACSTYLE_MAC_H 43 #define QMACSTYLE_MAC_H 45 #include <QtGui/qwindowsstyle.h> 53 #if defined(Q_WS_MAC) && !defined(QT_NO_STYLE_MAC) 57 #if defined(QT_PLUGIN) 58 #define Q_GUI_EXPORT_STYLE_MAC 60 #define Q_GUI_EXPORT_STYLE_MAC Q_GUI_EXPORT 108 , SizeNone = SizeDefault
148 #endif // QMACSTYLE_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.
ComplexControl
This enum describes the available complex controls.
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.
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.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
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.
#define Q_GUI_EXPORT_STYLE_MAC
int pixelMetric(PixelMetric pm, const QStyleOption *option=0, const QWidget *widget=0) const
Reimplemented Function
bool qt_mac_buttonIsRenderedFlat(const QPushButton *pushButton, const QStyleOptionButton *option)
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
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.
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.
The QEvent class is the base class of all event classes.
int layoutSpacingImplementation(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption *option=0, const QWidget *widget=0) const
This slot is called by layoutSpacing() to determine the spacing that should be used between control1 ...
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.