31 Q_PROPERTY(QColor lightShade READ lightShade CONSTANT FINAL)
32 Q_PROPERTY(QColor darkShade READ darkShade CONSTANT FINAL)
33 Q_PROPERTY(QColor topShadow READ topShadow CONSTANT FINAL)
34 Q_PROPERTY(QColor innerContrastLine READ innerContrastLine CONSTANT FINAL)
35 Q_PROPERTY(
bool highContrast READ isHighContrast NOTIFY highContrastChanged FINAL REVISION(6, 10))
36 QML_NAMED_ELEMENT(Fusion)
38 QML_ADDED_IN_VERSION(2, 3)
41 explicit QQuickFusionStyle(QObject *parent =
nullptr);
43 static QColor lightShade();
44 static QColor darkShade();
45 static QColor topShadow();
46 static QColor innerContrastLine();
47 static bool isHighContrast();
49 Q_INVOKABLE
static QColor highlight(QQuickPalette *palette);
50 Q_INVOKABLE
static QColor highlightedText(QQuickPalette *palette);
51 Q_INVOKABLE
static QColor outline(QQuickPalette *palette);
52 Q_INVOKABLE
static QColor highlightedOutline(QQuickPalette *palette);
53 Q_INVOKABLE
static QColor tabFrameColor(QQuickPalette *palette);
54 Q_INVOKABLE
static QColor buttonColor(QQuickPalette *palette,
bool highlighted =
false,
bool down =
false,
bool hovered =
false);
55 Q_INVOKABLE
static QColor buttonOutline(QQuickPalette *palette,
bool highlighted =
false,
bool enabled =
true);
56 Q_INVOKABLE
static QColor gradientStart(
const QColor &baseColor);
57 Q_INVOKABLE
static QColor gradientStop(
const QColor &baseColor);
58 Q_INVOKABLE
static QColor mergedColors(
const QColor &colorA,
const QColor &colorB,
int factor = 50);
59 Q_INVOKABLE
static QColor grooveColor(QQuickPalette *palette);
62 Q_REVISION(6, 10)
void highContrastChanged();