6#if defined(Q_OS_MACOS) || defined(Q_OS_IOS)
7#include <QtGui/private/qcoregraphics_p.h>
11#include <UIKit/UIInterface.h>
14#include <QtQuickTemplates2/private/qquicktheme_p.h>
15#include <QtQuickControls2/private/qquickstyle_p.h>
39 placeholderText =
qt_mac_toQColor(UIColor.placeholderTextColor.CGColor);
41 disabledButton =
qt_mac_toQColor(UIColor.tertiarySystemFillColor.CGColor);
The QColor class provides colors based on RGB, HSV or CMYK values.
The QPalette class contains color groups for each widget state.
void setColor(ColorGroup cg, ColorRole cr, const QColor &color)
Sets the color in the specified color group, used for the given color role, to the specified solid co...
static void initialize(QQuickTheme *theme)
static bool isDarkSystemTheme()
void setPalette(Scope scope, const QPalette &palette)
Combined button and popup list for selecting options.
QColor qt_mac_toQColor(CGColorRef color)
constexpr QRgb qRgba(int r, int g, int b, int a)