API 参考
QmlTheme
通过只读 fluentTheme 对象向 QML 提供宿主的 Fluent token。
没有匹配的 API 成员。
fluent::qmlbridge::QmlTheme
继承自 QObject
属性
QColor background- 读取
background()通知changed() QColor surface- 读取
surface()通知changed() QColor surfaceAlt返回用于内嵌表面的 Fluent 交替层颜色。
读取surfaceAlt()通知changed()QColor text- 读取
text()通知changed() QColor secondaryText- 读取
secondaryText()通知changed() QColor accent- 读取
accent()通知changed() QColor onAccent- 读取
onAccent()通知changed() QColor border- 读取
border()通知changed() bool dark- 读取
isDark()通知changed() bool animationsEnabled- 读取
areAnimationsEnabled()通知changed() QString fontFamily- 读取
fontFamily()通知changed() int fontPixelSize- 读取
fontPixelSize()通知changed() int cornerRadius- 读取
cornerRadius()通知changed() int transitionDuration- 读取
transitionDuration()通知changed()
方法
QColor surfaceAlt() const返回用于内嵌表面的 Fluent 交替层颜色。
信号
void changed()返回用于内嵌表面的 Fluent 交替层颜色。
Qt 基类完整成员:QObject