|
void | setCursorBlinkTime (int cursorBlinkTime) |
|
void | setCursorBlinkTimeout (int cursorBlinkTimeout) |
|
void | setCursorBlink (bool cursorBlink) |
|
void | setDoubleClickDistance (int doubleClickDistance) |
|
void | setDoubleClickTime (int doubleClickTime) |
|
void | setDndDragThreshold (int dndDragThreshold) |
|
void | setThemeName (const QByteArray &themeName) |
|
void | setIconThemeName (const QByteArray &iconThemeName) |
|
void | setSoundThemeName (const QByteArray &soundThemeName) |
|
void | setFontName (const QByteArray &fontName) |
|
void | setMonoFontName (const QByteArray &monoFontName) |
|
void | setFontPointSize (qreal fontPointSize) |
|
void | setGtkFontName (const QByteArray &fontName) |
|
void | setActiveColor (const QColor activeColor) |
|
void | setDarkActiveColor (const QColor &activeColor) |
|
int | dotsPerInch (const QString &screenName=QString()) const |
|
void | setDotsPerInch (const QString &screenName, int dpi) |
|
void | setWindowRadius (int windowRadius) |
|
|
void | cursorBlinkTimeChanged (int cursorBlinkTime) |
|
void | cursorBlinkTimeoutChanged (int cursorBlinkTimeout) |
|
void | cursorBlinkChanged (bool cursorBlink) |
|
void | doubleClickDistanceChanged (int doubleClickDistance) |
|
void | doubleClickTimeChanged (int doubleClickTime) |
|
void | dndDragThresholdChanged (int dndDragThreshold) |
|
void | themeNameChanged (QByteArray themeName) |
|
void | iconThemeNameChanged (QByteArray iconThemeName) |
|
void | soundThemeNameChanged (QByteArray soundThemeName) |
|
void | fontNameChanged (QByteArray fontName) |
|
void | monoFontNameChanged (QByteArray monoFontName) |
|
void | fontPointSizeChanged (qreal fontPointSize) |
|
void | gtkFontNameChanged (QByteArray fontName) |
|
void | activeColorChanged (QColor activeColor) |
|
void | darkActiveColorChanged (QColor activeColor) |
|
void | paletteChanged (DPalette palette) |
|
void | dotsPerInchChanged (const QString &screen, int dpi) |
|
void | windowRadiusChanged (int r) |
|
void | sizeModeChanged (int sizeMode) |
|
void | scrollBarPolicyChanged (int scrollBarPolicy) |
|
void | allKeysChanged () |
|
void | propertyChanged (const QByteArray &name, const QVariant &value) |
|
|
| DPlatformTheme (quint32 window, QObject *parent=nullptr) |
|
| DPlatformTheme (quint32 window, DPlatformTheme *parent) |
|
bool | isValid () const |
|
DPlatformTheme * | parentTheme () const |
|
void | setFallbackProperty (bool fallback) |
|
DPalette | palette () const |
|
DPalette | fetchPalette (const DPalette &base, bool *ok=nullptr) const |
|
void | setPalette (const DPalette &palette) |
|
int | cursorBlinkTime () const |
|
int | cursorBlinkTimeout () const |
|
bool | cursorBlink () const |
|
int | doubleClickDistance () const |
|
int | doubleClickTime () const |
|
int | dndDragThreshold () const |
|
int | windowRadius () const |
|
int | windowRadius (int defaultValue) const |
|
QByteArray | themeName () const |
|
QByteArray | iconThemeName () const |
|
QByteArray | soundThemeName () const |
|
QByteArray | fontName () const |
|
QByteArray | monoFontName () const |
|
qreal | fontPointSize () const |
|
QByteArray | gtkFontName () const |
|
QColor | activeColor () const |
|
QColor | darkActiveColor () const |
|
bool | isValidPalette () const |
|
int | sizeMode () const |
|
int | scrollBarPolicy () const |
|
| DNativeSettings (quint32 window, const QByteArray &domain=QByteArray(), QObject *parent=nullptr) |
|
bool | isValid () const |
|
QByteArrayList | allKeys () const |
|
QVariant | getSetting (const QByteArray &name) const |
|
void | setSetting (const QByteArray &name, const QVariant &value) |
|
一个提供窗口主题的类.
DPlatformTheme类提供了一个应用程序的主题配置管理类,可以在外部控制应用的默认主题行为, 达到个性化主题的设置,所有的设置是实时响应的。
\inmodule dtkgui