|
| enum | QAquaMetric {
CheckBoxHeight = 0
, CheckBoxWidth
, EditTextFrameOutset
, FocusRectOutset
,
HSliderHeight
, HSliderTickHeight
, LargeProgressBarThickness
, ListHeaderHeight
,
MenuSeparatorHeight
, MiniCheckBoxHeight
, MiniCheckBoxWidth
, MiniHSliderHeight
,
MiniHSliderTickHeight
, MiniPopupButtonHeight
, MiniPushButtonHeight
, MiniRadioButtonHeight
,
MiniRadioButtonWidth
, MiniVSliderTickWidth
, MiniVSliderWidth
, NormalProgressBarThickness
,
PopupButtonHeight
, ProgressBarShadowOutset
, PushButtonHeight
, RadioButtonHeight
,
RadioButtonWidth
, SeparatorSize
, SmallCheckBoxHeight
, SmallCheckBoxWidth
,
SmallHSliderHeight
, SmallHSliderTickHeight
, SmallPopupButtonHeight
, SmallProgressBarShadowOutset
,
SmallPushButtonHeight
, SmallRadioButtonHeight
, SmallRadioButtonWidth
, SmallVSliderTickWidth
,
SmallVSliderWidth
, VSliderTickWidth
, VSliderWidth
, CheckBoxHeight = 0
,
CheckBoxWidth
, EditTextFrameOutset
, FocusRectOutset
, HSliderHeight
,
HSliderTickHeight
, LargeProgressBarThickness
, ListHeaderHeight
, MenuSeparatorHeight
,
MiniCheckBoxHeight
, MiniCheckBoxWidth
, MiniHSliderHeight
, MiniHSliderTickHeight
,
MiniPopupButtonHeight
, MiniPushButtonHeight
, MiniRadioButtonHeight
, MiniRadioButtonWidth
,
MiniVSliderTickWidth
, MiniVSliderWidth
, NormalProgressBarThickness
, PopupButtonHeight
,
ProgressBarShadowOutset
, PushButtonHeight
, RadioButtonHeight
, RadioButtonWidth
,
SeparatorSize
, SmallCheckBoxHeight
, SmallCheckBoxWidth
, SmallHSliderHeight
,
SmallHSliderTickHeight
, SmallPopupButtonHeight
, SmallProgressBarShadowOutset
, SmallPushButtonHeight
,
SmallRadioButtonHeight
, SmallRadioButtonWidth
, SmallVSliderTickWidth
, SmallVSliderWidth
,
VSliderTickWidth
, VSliderWidth
} |
| enum | QAquaMetric {
CheckBoxHeight = 0
, CheckBoxWidth
, EditTextFrameOutset
, FocusRectOutset
,
HSliderHeight
, HSliderTickHeight
, LargeProgressBarThickness
, ListHeaderHeight
,
MenuSeparatorHeight
, MiniCheckBoxHeight
, MiniCheckBoxWidth
, MiniHSliderHeight
,
MiniHSliderTickHeight
, MiniPopupButtonHeight
, MiniPushButtonHeight
, MiniRadioButtonHeight
,
MiniRadioButtonWidth
, MiniVSliderTickWidth
, MiniVSliderWidth
, NormalProgressBarThickness
,
PopupButtonHeight
, ProgressBarShadowOutset
, PushButtonHeight
, RadioButtonHeight
,
RadioButtonWidth
, SeparatorSize
, SmallCheckBoxHeight
, SmallCheckBoxWidth
,
SmallHSliderHeight
, SmallHSliderTickHeight
, SmallPopupButtonHeight
, SmallProgressBarShadowOutset
,
SmallPushButtonHeight
, SmallRadioButtonHeight
, SmallRadioButtonWidth
, SmallVSliderTickWidth
,
SmallVSliderWidth
, VSliderTickWidth
, VSliderWidth
, CheckBoxHeight = 0
,
CheckBoxWidth
, EditTextFrameOutset
, FocusRectOutset
, HSliderHeight
,
HSliderTickHeight
, LargeProgressBarThickness
, ListHeaderHeight
, MenuSeparatorHeight
,
MiniCheckBoxHeight
, MiniCheckBoxWidth
, MiniHSliderHeight
, MiniHSliderTickHeight
,
MiniPopupButtonHeight
, MiniPushButtonHeight
, MiniRadioButtonHeight
, MiniRadioButtonWidth
,
MiniVSliderTickWidth
, MiniVSliderWidth
, NormalProgressBarThickness
, PopupButtonHeight
,
ProgressBarShadowOutset
, PushButtonHeight
, RadioButtonHeight
, RadioButtonWidth
,
SeparatorSize
, SmallCheckBoxHeight
, SmallCheckBoxWidth
, SmallHSliderHeight
,
SmallHSliderTickHeight
, SmallPopupButtonHeight
, SmallProgressBarShadowOutset
, SmallPushButtonHeight
,
SmallRadioButtonHeight
, SmallRadioButtonWidth
, SmallVSliderTickWidth
, SmallVSliderWidth
,
VSliderTickWidth
, VSliderWidth
} |
|
| QT_USE_NAMESPACE | Q_STATIC_LOGGING_CATEGORY (lcMacStyle, "qt.widgets.styles.macos") |
| | QT_NAMESPACE_ALIAS_OBJC_CLASS (QIndeterminateProgressIndicator) |
| | QT_NAMESPACE_ALIAS_OBJC_CLASS (QVerticalSplitView) |
| | QT_NAMESPACE_ALIAS_OBJC_CLASS (QDarkNSBox) |
| static bool | isDarkMode () |
| static bool | hasCustomTextFieldBackground (const QPalette &palette) |
| static void | drawTextFieldCustomBackground (QPainter *p, const QRect &rect, const QColor &color) |
| void | adjustPushButtonShadowMargins (QRectF &rect, QStyleHelper::WidgetSizePolicy size) |
| static bool | setupScroller (NSScroller *scroller, const QStyleOptionSlider *sb) |
| static bool | setupSlider (NSSlider *slider, const QStyleOptionSlider *sl) |
| static bool | isInMacUnifiedToolbarArea (QWidget *widget, int windowY) |
| void | drawTickMarks (CGContextRef ctx, NSSlider *nsSlider, const QStyleOptionSlider *sliderOpt) |
| void | drawSliderKnob (CGContextRef ctx, NSSlider *slider) |
| static QStyleHelper::WidgetSizePolicy | getControlSize (const QStyleOption *option, const QWidget *widget) |
| static QString | qt_mac_removeMnemonics (const QString &original) |
| static bool | qt_macWindowMainWindow (const QWidget *window) |
| static NSUserInterfaceLayoutDirection | qt_macLayoutDirectionFromQt (Qt::LayoutDirection direction) |
| static int | qt_mac_aqua_get_metric (QAquaMetric m) |
| static QSize | qt_aqua_get_known_size (QStyle::ContentsType ct, const QStyleOption *opt, const QWidget *widg, QSize szHint, QStyleHelper::WidgetSizePolicy sz) |
| static CGRect | qt_alignmentRectForFrame (CGRect rect, QStyleHelper::WidgetSizePolicy size, QMacStylePrivate::CocoaControlType ct) |
| static QStyleHelper::WidgetSizePolicy | qt_aqua_guess_size (const QWidget *widg, QSize large, QSize small, QSize mini) |
| size_t | qHash (const QMacStylePrivate::CocoaControl &cw, size_t seed=0) |
| QMacStylePrivate::CocoaControlType | cocoaControlType (const QStyleOption *opt, const QWidget *w) |
| static QPixmap | darkenPixmap (const QPixmap &pixmap) |
| static void | setLayoutItemMargins (int left, int top, int right, int bottom, QRect *rect, Qt::LayoutDirection dir) |