DtkGui 5.5.23
DTK Gui module
|
额外继承的成员函数 | |
![]() | |
enum | MotifFunction { FUNC_RESIZE = (1L << 1) , FUNC_MOVE = (1L << 2) , FUNC_MINIMIZE = (1L << 3) , FUNC_MAXIMIZE = (1L << 4) , FUNC_CLOSE = (1L << 5) , FUNC_ALL = FUNC_RESIZE | FUNC_MOVE | FUNC_MINIMIZE | FUNC_MAXIMIZE | FUNC_CLOSE } |
enum | MotifDecoration { DECOR_BORDER = (1L << 1) , DECOR_RESIZEH = (1L << 2) , DECOR_TITLE = (1L << 3) , DECOR_MENU = (1L << 4) , DECOR_MINIMIZE = (1L << 5) , DECOR_MAXIMIZE = (1L << 6) , DECOR_ALL = DECOR_BORDER | DECOR_RESIZEH | DECOR_TITLE | DECOR_MENU | DECOR_MINIMIZE | DECOR_MAXIMIZE } |
enum | WMName { OtherWM , DeepinWM , KWinWM } |
enum | WmWindowType { UnknowWindowType = 0x000000 , NormalType = 0x000001 , DesktopType = 0x000002 , DockType = 0x000004 , ToolbarType = 0x000008 , MenuType = 0x000010 , UtilityType = 0x000020 , SplashType = 0x000040 , DialogType = 0x000080 , DropDownMenuType = 0x000100 , PopupMenuType = 0x000200 , TooltipType = 0x000400 , NotificationType = 0x000800 , ComboType = 0x001000 , DndType = 0x002000 , KdeOverrideType = 0x004000 } |
![]() | |
void | windowManagerChanged () |
信号会在当前环境窗口管理器变化时被发送. | |
void | hasBlurWindowChanged () |
信号会在 hasBlurWindow 属性的值改变时被发送. | |
void | hasCompositeChanged () |
信号会在 hasComposite 属性的值改变时被发送. | |
void | hasNoTitlebarChanged () |
信号会在 hasNoTitlebar 属性的值改变时被发送. | |
void | hasWallpaperEffectChanged () |
信号会在 hasWallpaperEffect 属性的值改变时被发送. | |
void | windowListChanged () |
信号会在当前环境本地窗口列表变化时被发送。包含打开新窗口、关闭窗口、改变窗口的 层叠顺序. | |
void | windowMotifWMHintsChanged (quint32 winId) |
信号会在窗口功能或修饰标志改变时被发送. 更多... | |
![]() | |
bool | hasBlurWindow () const |
DWindowManagerHelper::hasBlurWindow 更多... | |
bool | hasComposite () const |
DWindowManagerHelper::hasComposite 更多... | |
bool | hasNoTitlebar () const |
DWindowManagerHelper::hasNoTitlebar 更多... | |
bool | hasWallpaperEffect () const |
DWindowManagerHelper::hasWallpaperEffect 更多... | |
QString | windowManagerNameString () const |
DWindowManagerHelper::windowManagerNameString 更多... | |
WMName | windowManagerName () const |
DWindowManagerHelper::windowManagerName 更多... | |
QVector< quint32 > | allWindowIdList () const |
DWindowManagerHelper::allWindowIdList 更多... | |
QVector< quint32 > | currentWorkspaceWindowIdList () const |
DWindowManagerHelper::currentWorkspaceWindowIdList 更多... | |
QList< DForeignWindow * > | currentWorkspaceWindows () const |
DWindowManagerHelper::currentWorkspaceWindowIdList 更多... | |
quint32 | windowFromPoint (const QPoint &p) |
DWindowManagerHelper::windowFromPoint 更多... | |
![]() | |
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 DWindowManagerHelper * | instance () |
DWindowManagerHelper::instance DWindowManagerHelper 的单例对象,使用 Q_GLOBAL_STATIC 定义,在第一次调用时实例化。 更多... | |
static void | setMotifFunctions (const QWindow *window, MotifFunctions hints) |
DWindowManagerHelper::setMotifFunctions 设置窗口的功能性标志,会覆盖之前的设置 window hints | |
static MotifFunctions | setMotifFunctions (const QWindow *window, MotifFunctions hints, bool on) |
DWindowManagerHelper::setMotifFunctions 设置窗口某些标志位的开启状态,不影响其它标志位 window hints 要设置的标志位 on 如果值为 true 则开启标志,否则关闭 更多... | |
static MotifFunctions | getMotifFunctions (const QWindow *window) |
DWindowManagerHelper::getMotifFunctions window 更多... | |
static void | setMotifDecorations (const QWindow *window, MotifDecorations hints) |
DWindowManagerHelper::setMotifDecorations 设置窗口的修饰性标志,会覆盖之前的设置 window hints | |
static MotifDecorations | setMotifDecorations (const QWindow *window, MotifDecorations hints, bool on) |
DWindowManagerHelper::setMotifFunctions 设置窗口某些标志位的开启状态,不影响其它标志位 window hints 要设置的标志位 on 如果值为 true 则开启标志,否则关闭 更多... | |
static MotifDecorations | getMotifDecorations (const QWindow *window) |
DWindowManagerHelper::getMotifFunctions window 更多... | |
static void | setWmWindowTypes (QWindow *window, WmWindowTypes types) |
DWindowManagerHelper::setWmWindowTypes 直接设置窗口管理器层级提供的窗口类型,如DesktopType和DockType类型也被 桌面环境需要,但是Qt自身并没有提供对应的设置接口 window types | |
static void | setWmClassName (const QByteArray &name) |
DWindowManagerHelper::setWmClassName 设置x11环境上默认使用的wm class name,主要是在窗口创建时用于设置WM_CLASS窗口属性 name 更多... | |
static void | popupSystemWindowMenu (const QWindow *window) |
DWindowManagerHelper::popupSystemWindowMenu 显示窗口管理器对窗口的菜单,和有边框的窗口在标题栏上点击鼠标右键弹出的菜单内容一致。 在 DMainWindow 的标题栏上点击鼠标右键会调用此函数打开系统菜单: 更多... | |
![]() | |
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) |
![]() | |
typedef | QObjectList |
![]() | |
DWindowManagerHelper (QObject *parent=0) | |
DWindowManagerHelper::DWindowManagerHelper 不允许直接实例化此对象 parent 更多... | |
![]() | |
QObject * | sender () const const |
int | senderSignalIndex () const const |
int | receivers (const char *signal) const const |
bool | isSignalConnected (const QMetaMethod &signal) const const |
virtual void | timerEvent (QTimerEvent *event) |
virtual void | childEvent (QChildEvent *event) |
virtual void | customEvent (QEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
![]() | |
bool | hasBlurWindow |
窗口管理器是否支持窗口背景模糊特效 更多... | |
bool | hasComposite |
窗口管理器是否支持混成效果。如果不支持混成,则表示所有窗口的背景都不能透明, 随之而来也不会有窗口阴影等效果,不规则窗口的边缘也会存在锯齿。 更多... | |
bool | hasNoTitlebar |
窗口管理器是否支持隐藏窗口标题栏。如果支持,则 DPlatformWindowHandle::enableDXcbForWindow 会优先使用此方法支持自定义窗口标题栏。 更多... | |
bool | hasWallpaperEffect |
窗口管理器是否支持窗口背景特效绘制。如果支持,则 绘制背景到透明窗口 会使用此方法开启特效窗口壁纸背景绘制。 更多... | |
![]() | |
objectName | |