Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Classes | |
class | AppearanceSync |
class | QMacStyle |
enum QQC2_NAMESPACE::QAquaMetric |
Definition at line 549 of file qquickmacstyle_mac.mm.
QBrush QQC2_NAMESPACE::brushForToolButton | ( | bool | isOnKeyWindow | ) |
Definition at line 231 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 1231 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 2871 of file qquickmacstyle_mac.mm.
References QImage::convertToFormat(), QImage::Format_ARGB32, QPixmap::fromImage(), QImage::height(), pixmap, qAlpha(), qBlue(), qGreen(), qMin(), qRed(), QRgb, and qRgba().
Definition at line 447 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 393 of file qquickmacstyle_mac.mm.
References QRect::adjusted(), 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 479 of file qquickmacstyle_mac.mm.
References QStyleHelper::SizeDefault, QStyleHelper::SizeLarge, and QStyleHelper::widgetSizePolicy().
bool QQC2_NAMESPACE::isDarkMode | ( | ) |
Definition at line 190 of file qquickmacstyle_mac.mm.
uint QQC2_NAMESPACE::qHash | ( | const QMacStylePrivate::CocoaControl & | cw, |
uint | seed = 0 ) |
Definition at line 1100 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 641 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 636 of file qquickmacstyle_mac.mm.
References qt_mac_aqua_metrics.
Definition at line 488 of file qquickmacstyle_mac.mm.
References QString::at(), QString::length(), and QString::size().
|
static |
Definition at line 522 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 370 of file qquickmacstyle_mac.mm.
References QMacStylePrivate::East, QRect::height(), QTransform::rotate(), rotateTabPainter(), QRect::setRect(), QTransform::translate(), QRect::width(), and QRect::y().
Referenced by drawTabBase(), drawTabShape(), and rotateTabPainter().
|
static |
Definition at line 3931 of file qquickmacstyle_mac.mm.
References dir, rect, and Qt::RightToLeft.
|
static |
Definition at line 303 of file qquickmacstyle_mac.mm.
References Qt::Horizontal, qFuzzyIsNull(), Qt::RightToLeft, and scroller.
|
static |
Definition at line 320 of file qquickmacstyle_mac.mm.
References Qt::Horizontal, QStyle::State_Enabled, and QStyle::State_Sunken.
|
static |
Definition at line 206 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackground, isDarkMode(), lightTabBarTabBackground, and tabBarTabBackground().
Referenced by drawTabBase(), and tabBarTabBackground().
|
static |
Definition at line 194 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackgroundActive, isDarkMode(), lightTabBarTabBackgroundActive, and tabBarTabBackgroundActive().
Referenced by drawTabBase(), and tabBarTabBackgroundActive().
|
static |
Definition at line 198 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackgroundActiveHovered, isDarkMode(), lightTabBarTabBackgroundActiveHovered, and tabBarTabBackgroundActiveHovered().
Referenced by drawTabShape(), and tabBarTabBackgroundActiveHovered().
|
static |
Definition at line 202 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackgroundActiveSelected, isDarkMode(), lightTabBarTabBackgroundActiveSelected, and tabBarTabBackgroundActiveSelected().
Referenced by drawTabShape(), and tabBarTabBackgroundActiveSelected().
|
static |
Definition at line 210 of file qquickmacstyle_mac.mm.
References darkTabBarTabBackgroundSelected, isDarkMode(), lightTabBarTabBackgroundSelected, and tabBarTabBackgroundSelected().
Referenced by drawTabShape(), and tabBarTabBackgroundSelected().
|
static |
Definition at line 222 of file qquickmacstyle_mac.mm.
References darkTabBarTabLine, isDarkMode(), lightTabBarTabLine, and tabBarTabLine().
Referenced by drawTabBase(), drawTabShape(), and tabBarTabLine().
|
static |
Definition at line 214 of file qquickmacstyle_mac.mm.
References darkTabBarTabLineActive, isDarkMode(), lightTabBarTabLineActive, and tabBarTabLineActive().
Referenced by drawTabBase(), drawTabShape(), and tabBarTabLineActive().
|
static |
Definition at line 218 of file qquickmacstyle_mac.mm.
References darkTabBarTabLineActiveHovered, isDarkMode(), lightTabBarTabLineActiveHovered, and tabBarTabLineActiveHovered().
Referenced by drawTabShape(), and tabBarTabLineActiveHovered().
|
static |
Definition at line 226 of file qquickmacstyle_mac.mm.
References darkTabBarTabLineSelected, isDarkMode(), lightTabBarTabLineSelected, and tabBarTabLineSelected().
Referenced by drawTabShape(), and tabBarTabLineSelected().
|
static |
Definition at line 228 of file qquickmacstyle_mac.mm.
Referenced by QQC2_NAMESPACE::QMacStyle::pixelMetric().
|
static |
Definition at line 250 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 180 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 265 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 243 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 244 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 541 of file qquickmacstyle_mac.mm.
const int QQC2_NAMESPACE::macItemHMargin = 3 |
Definition at line 542 of file qquickmacstyle_mac.mm.
const int QQC2_NAMESPACE::macRightBorder = 12 |
Definition at line 543 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 258 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 254 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 593 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 184 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 182 of file qquickmacstyle_mac.mm.
|
static |
|
static |
|
static |
Definition at line 183 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 263 of file qquickmacstyle_mac.mm.
|
static |
Definition at line 262 of file qquickmacstyle_mac.mm.