4#ifndef QMACSTYLE_MAC_P_H
5#define QMACSTYLE_MAC_P_H
19#include "private/qglobal_p.h"
21#define QQC2_NAMESPACE QQC2
The QCommonStyle class encapsulates the common Look and Feel of a GUI.
The QIcon class provides scalable icons in different modes and states.
Mode
This enum type describes the mode for which a pixmap is intended to be used.
The QPainter class performs low-level painting on widgets and other paint devices.
The QPalette class contains color groups for each widget state.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\inmodule QtCore\reentrant
QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *opt=0) const override
int styleHint(StyleHint sh, const QStyleOption *opt=0, QStyleHintReturn *shret=0) const override
QPixmap standardPixmap(StandardPixmap sp, const QStyleOption *opt) const override
QMargins ninePatchMargins(ComplexControl cc, const QStyleOptionComplex *opt, const QSize &imageSize) const override
QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const override
\reimp
void drawComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p) const override
int pixelMetric(PixelMetric pm, const QStyleOption *opt=0) const override
QRect subElementRect(SubElement r, const QStyleOption *opt) const override
QSize sizeFromContents(ContentsType ct, const QStyleOption *opt, const QSize &contentsSize) const override
QRect subControlRect(ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc) const override
SubControl hitTestComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt) const override
void drawItemText(QPainter *p, const QRect &r, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole=QPalette::NoRole) const override
Draws the given text in the specified rectangle using the provided painter and palette.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
\variable QStyleOptionGraphicsItem::exposedRect
\variable QStyleOptionMenuItem::menuItemType
The QStyleOption class stores the parameters used by QStyle functions.
ContentsType
This enum describes the available contents types.
StyleHint
This enum describes the available style hints.
StandardPixmap
This enum describes the available standard pixmaps.
ControlElement
This enum represents a control element.
PixelMetric
This enum describes the various available pixel metrics.
ComplexControl
This enum describes the available complex controls.
PrimitiveElement
This enum describes the various primitive elements.
SubElement
This enum represents a sub-area of a widget.
SubControl
This enum describes the available sub controls.
drawPrimitive(PE_IndicatorCheckBox, &subopt, p, widget)
p drawControl(QStyle::CE_CheckBox, opt)
Combined button and popup list for selecting options.
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei imageSize