|
| Q_DECL_DEPRECATED_X ("Use UseInactiveColorGroup enum with setAttribute.") static void setUseInactiveColorGroup(bool on) |
|
| Q_DECL_DEPRECATED_X ("Use ColorCompositing enum with setAttribute.") static void setColorCompositingEnabled(bool on) |
|
DPlatformTheme * | systemTheme () const |
| DGuiApplicationHelper::systemTheme. 更多...
|
|
DPlatformTheme * | applicationTheme () const |
| DGuiApplicationHelper::applicationTheme. 更多...
|
|
D_DECL_DEPRECATED DPlatformTheme * | windowTheme (QWindow *window) const |
| 返回窗口级别的主题, 优先级高于 windowTheme 和 systemTheme. 更多...
|
|
DPalette | applicationPalette () const |
| 返回应用程序调色板. 更多...
|
|
void | setApplicationPalette (const DPalette &palette) |
| DGuiApplicationHelper::setApplicationPalette. 更多...
|
|
D_DECL_DEPRECATED DPalette | windowPalette (QWindow *window) const |
| DGuiApplicationHelper::windowPalette. 更多...
|
|
const DFontManager * | fontManager () const |
| DGuiApplicationHelper::fontManager. 更多...
|
|
ColorType | themeType () const |
| 返回程序的主题类型. 更多...
|
|
ColorType | paletteType () const |
| 返回当前已设置的调色板类型. 更多...
|
|
bool | hasUserManual () const |
| Determine whether it's a user manual for this application. 更多...
|
|
virtual const QMetaObject * | metaObject () const const |
|
| QObject (QObject *parent) |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
QString | objectName () const const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const const |
|
bool | isWindowType () const const |
|
bool | signalsBlocked () const const |
|
bool | blockSignals (bool block) |
|
QThread * | thread () const const |
|
void | moveToThread (QThread *targetThread) |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
int | startTimer (std::chrono::milliseconds time, Qt::TimerType timerType) |
|
void | killTimer (int id) |
|
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
|
const QObjectList & | children () const const |
|
void | setParent (QObject *parent) |
|
void | installEventFilter (QObject *filterObj) |
|
void | removeEventFilter (QObject *obj) |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
|
bool | disconnect (const QObject *receiver, const char *method) const const |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () const const |
|
void | dumpObjectInfo () const const |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const const |
|
QList< QByteArray > | dynamicPropertyNames () const const |
|
void | destroyed (QObject *obj) |
|
void | objectNameChanged (const QString &objectName) |
|
QObject * | parent () const const |
|
bool | inherits (const char *className) const const |
|
void | deleteLater () |
|
| Q_DISABLE_COPY (Class) |
|
| Q_DISABLE_MOVE (Class) |
|
| Q_DISABLE_COPY_MOVE (Class) |
|
T | qobject_cast (QObject *object) |
|
T | qobject_cast (const QObject *object) |
|
T | qFindChild (const QObject *obj, const QString &name) |
|
QList< T > | qFindChildren (const QObject *obj, const QString &name) |
|
QList< T > | qFindChildren (const QObject *obj, const QRegExp ®Exp) |
|
| Q_CLASSINFO (Name, Value) |
|
| Q_INTERFACES (...) |
|
| Q_PROPERTY (...) |
|
| Q_ENUMS (...) |
|
| Q_FLAGS (...) |
|
| Q_ENUM (...) |
|
| Q_FLAG (...) |
|
| Q_ENUM_NS (...) |
|
| Q_FLAG_NS (...) |
|
| Q_OBJECT Q_OBJECT |
|
| Q_GADGET Q_GADGET |
|
| Q_NAMESPACE Q_NAMESPACE |
|
| Q_NAMESPACE_EXPORT (EXPORT_MACRO) |
|
| Q_SIGNALS Q_SIGNALS |
|
| Q_SIGNAL Q_SIGNAL |
|
| Q_SLOTS Q_SLOTS |
|
| Q_SLOT Q_SLOT |
|
| Q_EMIT Q_EMIT |
|
| Q_INVOKABLE Q_INVOKABLE |
|
| Q_REVISION Q_REVISION |
|
| Q_SET_OBJECT_NAME (Object) |
|
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT |
|
|
static D_DECL_DEPRECATED void | registerInstanceCreator (HelperCreator creator) |
| 创建 DGuiApplicationHelper 对象. 更多...
|
|
static DGuiApplicationHelper * | instance () |
| DGuiApplicationHelper::instance返回 DGuiApplicationHelper 对象 更多...
|
|
static QColor | adjustColor (const QColor &base, qint8 hueFloat, qint8 saturationFloat, qint8 lightnessFloat, qint8 redFloat, qint8 greenFloat, qint8 blueFloat, qint8 alphaFloat) |
| 调整颜色. 更多...
|
|
static QImage | adjustColor (const QImage &base, qint8 hueFloat, qint8 saturationFloat, qint8 lightnessFloat, qint8 redFloat, qint8 greenFloat, qint8 blueFloat, qint8 alphaFloat) |
| 调整图片整体像素颜色. 更多...
|
|
static QColor | blendColor (const QColor &substrate, const QColor &superstratum) |
| 将两种颜色混合,合成新的颜色. 更多...
|
|
static DPalette | standardPalette (ColorType type) |
| 根据主题获取标准调色板. 更多...
|
|
static void | generatePaletteColor (DPalette &base, QPalette::ColorRole role, ColorType type) |
| 获取调色板颜色. 更多...
|
|
static void | generatePaletteColor (DPalette &base, DPalette::ColorType role, ColorType type) |
| 加工调色板的颜色. 这是为便于使用而提供的一个重载成员函数.与上面的函数相比,它接受不同类型的参数.一般我们只会为调色板的 QPalette::Normal 组设置颜色值, 但是 控件中也需要使用其他组的颜色, 此函数使用一些固定规则为 base 填充 QPalette::Disabled 和 QPalette::Inactive 分组的颜色. 不同的颜色类型会使用不同的加工规则, 如果为 LightType 类型, 则将颜色的alpha通道调整为 0.6 后作为 QPalette::Disabled 类的颜色使用, 调整为 0.4 后 作为 QPalette::Inactive 类的颜色使用. 如果为 DarkType 类型, 则将颜色的alpha通道调整为 0.7 后作为 QPalette::Disabled 类的颜色使用, 调整为 0.6 后作为 QPalette::Inactive 类的颜色使用. 更多...
|
|
static void | generatePalette (DPalette &base, ColorType type=UnknownType) |
| 加工调色板的颜色. 这是为便于使用而提供的一个重载成员函数.与上面的函数相比,它接受不同类型的参数.同 generatePaletteColor, 将直接调用 generatePaletteColor 加工 所有类型的调色板颜色. 更多...
|
|
static DPalette | fetchPalette (const DPlatformTheme *theme) |
| 获取调色板数据. 更多...
|
|
static bool | isXWindowPlatform () |
|
static bool | isTabletEnvironment () |
| 用于判断当前桌面环境是否是平板电脑环境. 更多...
|
|
static bool | isSpecialEffectsEnvironment () |
| isAnimationEnvironment 用于判断当前桌面环境是否是开启了动画等特效的环境 更多...
|
|
static void | setAttribute (Attribute attribute, bool enable) |
|
static bool | testAttribute (Attribute attribute) |
|
static ColorType | toColorType (const QColor &color) |
| 获取颜色的明亮度,将其转换为主题类型的枚举值. 更多...
|
|
static ColorType | toColorType (const QPalette &palette) |
| 将调色板 palette 转换为主题类型的枚举. 这是为便于使用而提供的一个重载成员函数.与上面的函数相比,它接受不同类型的参数.使用 QPalette::background 获取颜色的明亮度,将其转换为主题类型的枚举值。 返回调色板的颜色类型 更多...
|
|
static bool | setSingleInstance (const QString &key, SingleScope singleScope=UserScope) |
| 设置DGuiApplicationHelper实例. 更多...
|
|
static void | setSingleInstanceInterval (int interval=3000) |
| 设置从QLocalServer获取消息的等待时间. 更多...
|
|
static D_DECL_DEPRECATED void | setSingelInstanceInterval (int interval=3000) |
| 设置从QLocalServer获取消息的等待时间. 更多...
|
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
bool | disconnect (const QMetaObject::Connection &connection) |
|
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
|
DGuiApplicationHelper 应用程序的 GUI ,如主题、调色板等.
\inmodule dtkgui