Fluent-Qt

API リファレンス

QmlTheme

ホストの Fluent カラー、タイポグラフィ、モーション設定を読み取り専用の fluentTheme オブジェクトとして QML に公開します。このプロパティにバインドする QML 要素のみに影響し、標準の Qt Quick コントロールは自動的に再スタイルされません。

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