API reference
QmlTheme
Exposes the host's Fluent tokens to QML as the read-only fluentTheme object.
No matching API members.
fluent::qmlbridge::QmlTheme
Inherits QObject
Properties
QColor background- Read
background()Notifychanged() QColor surface- Read
surface()Notifychanged() QColor surfaceAltReturns the alternate Fluent layer color for inset surfaces.
ReadsurfaceAlt()Notifychanged()QColor text- Read
text()Notifychanged() QColor secondaryText- Read
secondaryText()Notifychanged() QColor accent- Read
accent()Notifychanged() QColor onAccent- Read
onAccent()Notifychanged() QColor border- Read
border()Notifychanged() bool dark- Read
isDark()Notifychanged() bool animationsEnabled- Read
areAnimationsEnabled()Notifychanged() QString fontFamily- Read
fontFamily()Notifychanged() int fontPixelSize- Read
fontPixelSize()Notifychanged() int cornerRadius- Read
cornerRadius()Notifychanged() int transitionDuration- Read
transitionDuration()Notifychanged()
Methods
QColor surfaceAlt() constReturns 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