Fluent-Qt

API reference

QmlTheme

Exposes the host's Fluent tokens to QML as the read-only fluentTheme object.

fluent::qmlbridge::QmlTheme

Inherits QObject

Properties

QColor background
Read background()Notify changed()
QColor surface
Read surface()Notify changed()
QColor surfaceAlt

Returns the alternate Fluent layer color for inset surfaces.

Read surfaceAlt()Notify changed()
QColor text
Read text()Notify changed()
QColor secondaryText
Read secondaryText()Notify changed()
QColor accent
Read accent()Notify changed()
QColor onAccent
Read onAccent()Notify changed()
QColor border
Read border()Notify changed()
bool dark
Read isDark()Notify changed()
bool animationsEnabled
Read areAnimationsEnabled()Notify changed()
QString fontFamily
Read fontFamily()Notify changed()
int fontPixelSize
Read fontPixelSize()Notify changed()
int cornerRadius
Read cornerRadius()Notify changed()
int transitionDuration
Read transitionDuration()Notify changed()

Methods

QColor surfaceAlt() const

Returns the alternate Fluent layer color for inset surfaces.

Signals

void changed()

Returns the alternate Fluent layer color for inset surfaces.

All inherited Qt members:QObject