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