DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
Dtk::Quick::DPlatformThemeProxy类 参考

一个代理类,用于导出dtkgui的DPlatformTheme类的功能到QML使用,功能和接口基本和DPlatformTheme一致 更多...

类 Dtk::Quick::DPlatformThemeProxy 继承关系图:

Public 槽

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)
 
Q_INVOKABLE 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 paletteChanged (DTK_GUI_NAMESPACE::DPalette palette)
 
void dotsPerInchChanged (const QString &screen, int dpi)
 
void windowRadiusChanged (int r)
 

Public 成员函数

 DPlatformThemeProxy (DPlatformTheme *proxy, QObject *parent=nullptr)
 
int cursorBlinkTime () const
 
int cursorBlinkTimeout () const
 
bool cursorBlink () const
 
int doubleClickDistance () const
 
int doubleClickTime () const
 
int dndDragThreshold () const
 
int windowRadius () const
 
Q_INVOKABLE 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
 
bool isValidPalette () const
 
Q_INVOKABLE int dotsPerInch (const QString &screenName=QString()) const
 

属性

int cursorBlinkTime
 
int cursorBlinkTimeout
 
bool cursorBlink
 
int doubleClickDistance
 
int doubleClickTime
 
int dndDragThreshold
 
int windowRadius
 
QByteArray themeName
 
QByteArray iconThemeName
 
QByteArray soundThemeName
 
QByteArray fontName
 
QByteArray monoFontName
 
qreal fontPointSize
 
QByteArray gtkFontName
 
QColor activeColor
 

详细描述

一个代理类,用于导出dtkgui的DPlatformTheme类的功能到QML使用,功能和接口基本和DPlatformTheme一致


该类的文档由以下文件生成: