![]() |
Qt 6.x
The Qt SDK
|
Classes | |
class | AppearanceSync |
class | QMacStyle |
enum QQC2_NAMESPACE::QAquaMetric |
Definition at line 588 of file qquickmacstyle_mac.mm.
QBrush QQC2_NAMESPACE::brushForToolButton | ( | bool | isOnKeyWindow | ) |
Definition at line 270 of file qquickmacstyle_mac.mm.
References brushForToolButton(), and isDarkMode().
Referenced by brushForToolButton(), and QQC2_NAMESPACE::QMacStyle::drawComplexControl().
QMacStylePrivate::CocoaControlType QQC2_NAMESPACE::cocoaControlType | ( | const QStyleOption * | opt | ) |
Definition at line 1270 of file qquickmacstyle_mac.mm.
References btn, QMacStylePrivate::Button_PopupButton, QMacStylePrivate::Button_PullDown, QMacStylePrivate::Button_PushButton, QMacStylePrivate::Button_SquareButton, QMacStylePrivate::ComboBox, QStyleOptionButton::features, QStyleOptionButton::Flat, QStyleOptionButton::HasMenu, QRect::height(), QMacStylePrivate::NoControl, opt, pushButtonDefaultHeight, and QStyleOption::rect.
Definition at line 2920 of file qquickmacstyle_mac.mm.
References QImage::Format_ARGB32, QPixmap::fromImage(), QColor::getHsv(), pixmap, qAlpha(), qBlue(), qGreen(), qMin(), qRed(), QRgb, qRgba(), QColor::rgb(), and QColor::setHsv().
Definition at line 486 of file qquickmacstyle_mac.mm.
References Qt::black, drawTabBase(), QRect::height(), isDarkMode(), rotateTabPainter(), QStyle::State_Active, tabBarTabBackground(), tabBarTabBackgroundActive(), tabBarTabLine(), tabBarTabLineActive(), and QRect::width().
Referenced by QQC2_NAMESPACE::QMacStyle::drawPrimitive(), and drawTabBase().
void QQC2_NAMESPACE::drawTabShape | ( | QPainter * | p, |
const QStyleOptionTab * | tabOpt, | ||
bool | isUnified, | ||
int | tabOverlap | ||
) |
Definition at line 432 of file qquickmacstyle_mac.mm.
References Qt::black, QPainter::CompositionMode_Source, drawTabShape(), QRect::height(), isDarkMode(), rect, rotateTabPainter(), QStyle::State_Active, QStyle::State_MouseOver, QStyle::State_Selected, tabBarTabBackgroundActiveHovered(), tabBarTabBackgroundActiveSelected(), tabBarTabBackgroundSelected(), tabBarTabLine(), tabBarTabLineActive(), tabBarTabLineActiveHovered(), tabBarTabLineSelected(), Qt::transparent, and QRect::width().
Referenced by QQC2_NAMESPACE::QMacStyle::drawControl(), and drawTabShape().
|
static |
Definition at line 518 of file qquickmacstyle_mac.mm.
References QStyleHelper::SizeDefault, QStyleHelper::SizeLarge, and QStyleHelper::widgetSizePolicy().
bool QQC2_NAMESPACE::isDarkMode | ( | ) |
Definition at line 229 of file qquickmacstyle_mac.mm.
uint QQC2_NAMESPACE::qHash | ( | const QMacStylePrivate::CocoaControl & | cw, |
uint | seed = 0 |
||
) |
Definition at line 1139 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 680 of file qquickmacstyle_mac.mm.
References btn, QString::contains(), QStyle::CT_ComboBox, QStyle::CT_CustomBase, QStyle::CT_HeaderSection, QStyle::CT_MenuBar, QStyle::CT_PushButton, QStyle::CT_SizeGrip, QStyle::CT_Slider, QStyle::CT_ToolButton, QSize::height(), Qt::Horizontal, HSliderHeight, HSliderTickHeight, QStyleOptionButton::icon, QStyleOptionButton::iconSize, QIcon::isNull(), MiniHSliderHeight, MiniHSliderTickHeight, MiniPopupButtonHeight, MiniPushButtonHeight, MiniVSliderTickWidth, MiniVSliderWidth, opt, PopupButtonHeight, PushButtonHeight, Q_ASSERT, qDebug, qMax(), qt_mac_aqua_get_metric(), qt_mac_removeMnemonics(), ret, QStyleHelper::SizeLarge, QStyleHelper::SizeMini, QStyleHelper::SizeSmall, SmallHSliderHeight, SmallHSliderTickHeight, SmallPopupButtonHeight, SmallPushButtonHeight, SmallVSliderTickWidth, SmallVSliderWidth, QStyleOptionButton::text, VSliderTickWidth, VSliderWidth, and QSize::width().
|
inlinestatic |
Definition at line 675 of file qquickmacstyle_mac.mm.
References qt_mac_aqua_metrics.
Definition at line 527 of file qquickmacstyle_mac.mm.
References QString::at(), QChar::isSpace(), QString::length(), QString::size(), and QString::truncate().
|
static |
Definition at line 561 of file qquickmacstyle_mac.mm.
References QGuiApplication::platformNativeInterface(), QByteArrayLiteral, and window().
QRect QQC2_NAMESPACE::rotateTabPainter | ( | QPainter * | p, |
QStyleOptionTab::Shape | shape, | ||
QRect | tabRect | ||
) |
Definition at line 409 of file qquickmacstyle_mac.mm.
References QMacStylePrivate::East, QRect::height(), rotateTabPainter(), QRect::setRect(), QRect::width(), and QRect::y().
Referenced by drawTabBase(), drawTabShape(), and rotateTabPainter().
|
static |
Definition at line 3985 of file qquickmacstyle_mac.mm.
References dir, rect, and Qt::RightToLeft.
|
static |
Definition at line 342 of file qquickmacstyle_mac.mm.
References Qt::Horizontal, qFuzzyIsNull(), Qt::RightToLeft, and scroller.
|
static |
Definition at line 359 of file qquickmacstyle_mac.mm.
References Qt::Horizontal, QStyle::State_Enabled, and QStyle::State_Sunken.
|
static |
Definition at line 245 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackground, isDarkMode(), lightTabBarTabBackground, and tabBarTabBackground().
Referenced by drawTabBase(), and tabBarTabBackground().
|
static |
Definition at line 233 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackgroundActive, isDarkMode(), lightTabBarTabBackgroundActive, and tabBarTabBackgroundActive().
Referenced by drawTabBase(), and tabBarTabBackgroundActive().
|
static |
Definition at line 237 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackgroundActiveHovered, isDarkMode(), lightTabBarTabBackgroundActiveHovered, and tabBarTabBackgroundActiveHovered().
Referenced by drawTabShape(), and tabBarTabBackgroundActiveHovered().
|
static |
Definition at line 241 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackgroundActiveSelected, isDarkMode(), lightTabBarTabBackgroundActiveSelected, and tabBarTabBackgroundActiveSelected().
Referenced by drawTabShape(), and tabBarTabBackgroundActiveSelected().
|
static |
Definition at line 249 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackgroundSelected, isDarkMode(), lightTabBarTabBackgroundSelected, and tabBarTabBackgroundSelected().
Referenced by drawTabShape(), and tabBarTabBackgroundSelected().
|
static |
Definition at line 261 of file qquickmacstyle_mac.mm.
References darkTabBarTabLine, isDarkMode(), lightTabBarTabLine, and tabBarTabLine().
Referenced by drawTabBase(), drawTabShape(), and tabBarTabLine().
|
static |
Definition at line 253 of file qquickmacstyle_mac.mm.
References darkTabBarTabLineActive, isDarkMode(), lightTabBarTabLineActive, and tabBarTabLineActive().
Referenced by drawTabBase(), drawTabShape(), and tabBarTabLineActive().
|
static |
Definition at line 257 of file qquickmacstyle_mac.mm.
References darkTabBarTabLineActiveHovered, isDarkMode(), lightTabBarTabLineActiveHovered, and tabBarTabLineActiveHovered().
Referenced by drawTabShape(), and tabBarTabLineActiveHovered().
|
static |
Definition at line 265 of file qquickmacstyle_mac.mm.
References darkTabBarTabLineSelected, isDarkMode(), lightTabBarTabLineSelected, and tabBarTabLineSelected().
Referenced by drawTabShape(), and tabBarTabLineSelected().
|
static |
Definition at line 172 of file qquickmacstyle_mac.mm.
References QGradient::setColorAt().
|
static |
Definition at line 192 of file qquickmacstyle_mac.mm.
References QGradient::setColorAt().
|
static |
Definition at line 267 of file qquickmacstyle_mac.mm.
Referenced by QQC2_NAMESPACE::QMacStyle::pixelMetric().
|
static |
Definition at line 289 of file qquickmacstyle_mac.mm.
|
static |
|
static |
|
static |
|
static |
Referenced by tabBarTabBackground().
|
static |
Referenced by tabBarTabBackgroundActive().
|
static |
Referenced by tabBarTabBackgroundActiveHovered().
|
static |
Referenced by tabBarTabBackgroundActiveSelected().
|
static |
Referenced by tabBarTabBackgroundSelected().
|
static |
Referenced by tabBarTabLine().
|
static |
Referenced by tabBarTabLineActive().
|
static |
Referenced by tabBarTabLineActiveHovered().
|
static |
Referenced by tabBarTabLineSelected().
|
static |
Definition at line 219 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 304 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 282 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 283 of file qquickmacstyle_mac.mm.
|
static |
|
static |
|
static |
Referenced by tabBarTabBackground().
|
static |
Referenced by tabBarTabBackgroundActive().
|
static |
Referenced by tabBarTabBackgroundActiveHovered().
|
static |
Referenced by tabBarTabBackgroundActiveSelected().
|
static |
Referenced by tabBarTabBackgroundSelected().
|
static |
Referenced by tabBarTabLine().
|
static |
Referenced by tabBarTabLineActive().
|
static |
Referenced by tabBarTabLineActiveHovered().
|
static |
Referenced by tabBarTabLineSelected().
const int QQC2_NAMESPACE::macItemFrame = 2 |
Definition at line 580 of file qquickmacstyle_mac.mm.
const int QQC2_NAMESPACE::macItemHMargin = 3 |
Definition at line 581 of file qquickmacstyle_mac.mm.
const int QQC2_NAMESPACE::macRightBorder = 12 |
Definition at line 582 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 297 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 293 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 632 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 223 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 221 of file qquickmacstyle_mac.mm.
|
static |
|
static |
|
static |
Definition at line 222 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 302 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 301 of file qquickmacstyle_mac.mm.