DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
Dtk::Quick::DQMLGlobalObject类 参考
类 Dtk::Quick::DQMLGlobalObject 继承关系图:

Public 类型

enum  ControlState {
  NormalState , HoveredState , PressedState , DisabledState ,
  InactiveState
}
 
enum  ZOrder {
  BottomOrder = -99 , BelowOrder = -1 , NormalOrder = 0 , AboveOrder = 1 ,
  TopOrder = 99
}
 
enum  PopupMode { AutoMode , WindowMode , EmbedMode }
 

信号

void hasBlurWindowChanged ()
 
void hasCompositeChanged ()
 
void hasNoTitlebarChanged ()
 
void paletteChanged ()
 
void inactivePaletteChanged ()
 
void themeTypeChanged (DTK_GUI_NAMESPACE::DGuiApplicationHelper::ColorType themeType)
 

Public 成员函数

 DQMLGlobalObject (QObject *parent=nullptr)
 
bool hasBlurWindow () const
 
bool hasComposite () const
 
bool hasNoTitlebar () const
 
bool isSoftwareRender () const
 
DWindowManagerHelper::WMName windowManagerName () const
 
QString windowManagerNameString () const
 
DGuiApplicationHelper::ColorType themeType () const
 
DPlatformThemeProxyplatformTheme () const
 
DFontManager * fontManager () const
 
QPalette palette () const
 
QPalette inactivePalette () const
 
QQuickPalette * quickPalette () const
 
QQuickPalette * inactiveQuickPalette () const
 
Q_INVOKABLE QColor blendColor (const QColor &substrate, const QColor &superstratum)
 
Q_INVOKABLE DTK_QUICK_NAMESPACE::DColor makeColor (DTK_QUICK_NAMESPACE::DColor::Type type)
 
Q_INVOKABLE DTK_QUICK_NAMESPACE::DColor makeColor (const QColor &color)
 
Q_INVOKABLE QUrl makeShadowImageUrl (qreal boxSize, qreal cornerRadius, qreal shadowBlur, QColor color, qreal xOffset, qreal yOffset, qreal spread, bool hollow, bool inner)
 
Q_INVOKABLE DTK_GUI_NAMESPACE::DGuiApplicationHelper::ColorType toColorType (const QColor &color)
 
Q_INVOKABLE QColor selectColor (const QColor &windowColor, const QColor &light, const QColor &dark)
 
QString deepinWebsiteName () const
 
QString deepinWebsiteLink () const
 
QString deepinDistributionOrgLogo () const
 
Q_INVOKABLE QPoint cursorPosition () const
 
Q_INVOKABLE DTK_QUICK_NAMESPACE::DQuickDciIcon makeIcon (const QJSValue &qicon, const QJSValue &iconExtra)
 
Q_INVOKABLE DTK_GUI_NAMESPACE::DDciIconPalette makeIconPalette (const QPalette &palette)
 
Q_INVOKABLE bool sendMessage (QObject *target, const QString &content, const QString &iconName=QString(), int duration=4000, const QString &msgId=QString())
 
Q_INVOKABLE bool sendMessage (QObject *target, QQmlComponent *delegate, const QVariant &message, int duration=4000, const QString &msgId=QString())
 
Q_INVOKABLE void closeMessage (DTK_QUICK_NAMESPACE::FloatingMessageContainer *message)
 
Q_INVOKABLE void closeMessage (QObject *target, const QString &msgId)
 
Q_INVOKABLE void sendSystemMessage (const QString &summary, const QString &body=QString(), const QString &appIcon=QString(), const QStringList &actions=QStringList(), const QVariantMap hints=QVariantMap(), const int timeout=3000, const uint replaceId=0)
 

静态 Public 成员函数

static DQMLGlobalObjectcreate (QQmlEngine *qmlEngine, QJSEngine *jsEngine)
 
static void setPopupMode (const PopupMode mode)
 
static bool loadTranslator ()
 

属性

bool hasBlurWindow
 
bool hasComposite
 
bool hasNoTitlebar
 
bool isSoftwareRender
 
DTK_GUI_NAMESPACE::DWindowManagerHelper::WMName windowManagerName
 
DTK_GUI_NAMESPACE::DGuiApplicationHelper::ColorType themeType
 
QString windowManagerNameString
 
DPlatformThemeProxyplatformTheme
 
DTK_GUI_NAMESPACE::DFontManager * fontManager
 
QPalette palette
 
QPalette inactivePalette
 
QString deepinDistributionOrgLogo
 
QString deepinWebsiteName
 
QString deepinWebsiteLink
 

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