API リファレンス
QmlTheme
ホストの Fluent カラー、タイポグラフィ、モーション設定を読み取り専用の fluentTheme オブジェクトとして QML に公開します。このプロパティにバインドする QML 要素のみに影響し、標準の Qt Quick コントロールは自動的に再スタイルされません。
一致する API メンバーはありません。
fluent::qmlbridge::QmlTheme
継承元 QObject
メソッド
QColor surfaceAlt() constカードおよびインセット領域用の代替背景色。
プロパティ
QColor background- 読み取り
background()通知シグナルchanged() QColor surface- 読み取り
surface()通知シグナルchanged() QColor surfaceAltカードおよびインセット領域用の代替背景色。
読み取り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()
シグナル
void changed()ホストのテーマカラー、フォント、またはモーション設定のいずれかが変更されたときに送出されます。
Qt 基底クラスドキュメント:QObject