QtCanpool 3.3.0
载入中...
搜索中...
未找到
QxWindow::WindowContextQt类 参考

#include <qxwindow/windowcontext_p.h>

类 QxWindow::WindowContextQt 继承关系图:

Public 成员函数

 WindowContextQt ()
 
 ~WindowContextQt () override
 
QString key () const override
 
void virtual_hook (int id, void *data) override
 
- Public 成员函数 继承自 QxWindow::WindowContext
 WindowContext ()
 
 ~WindowContext () override
 
void setup (QObject *host, WindowItemDelegate *delegate)
 
QObject * host () const
 
QWindow * window () const
 
WindowItemDelegate * delegate () const
 
bool isHitTestVisible (const QObject *obj) const
 
bool setHitTestVisible (const QObject *obj, bool visible)
 
QObject * systemButton (WindowAgentBase::SystemButton button) const
 
bool setSystemButton (WindowAgentBase::SystemButton button, QObject *obj)
 
void removeSystemButton (WindowAgentBase::SystemButton button)
 
QObject * titleBar () const
 
bool setTitleBar (QObject *obj)
 
ScreenRectCallback systemButtonAreaCallback () const
 
void setSystemButtonAreaCallback (const ScreenRectCallback &callback)
 
bool isInSystemButtons (const QPoint &pos, WindowAgentBase::SystemButton *button) const
 
bool isInTitleBarDraggableArea (const QPoint &pos) const
 
bool isCaptionClassName (const char *name) const
 
void addCaptionClassName (const QString &name)
 
void showSystemMenu (const QPoint &pos)
 
void notifyWinIdChange ()
 
virtual QVariant windowAttribute (const QString &key) const
 
virtual bool setWindowAttribute (const QString &key, const QVariant &attribute)
 
- Public 成员函数 继承自 QxWindow::WindowNativeEventDispatcher
 WindowNativeEventDispatcher ()
 
virtual ~WindowNativeEventDispatcher ()
 
virtual bool nativeDispatch (const QByteArray &eventType, void *message, QT_NATIVE_EVENT_RESULT_TYPE *result)
 
void installNativeEventFilter (WindowNativeEventFilter *filter)
 
void removeNativeEventFilter (WindowNativeEventFilter *filter)
 
- Public 成员函数 继承自 QxWindow::WindowSharedEventDispatcher
 WindowSharedEventDispatcher ()
 
virtual ~WindowSharedEventDispatcher ()
 
virtual bool sharedDispatch (QObject *obj, QEvent *event)
 
void installSharedEventFilter (WindowSharedEventFilter *filter)
 
void removeSharedEventFilter (WindowSharedEventFilter *filter)
 

Protected 成员函数

void winIdChanged () override
 
- Protected 成员函数 继承自 QxWindow::WindowContext
virtual bool windowAttributeChanged (const QString &key, const QVariant &attribute, const QVariant &oldAttribute)
 

Protected 属性

std::unique_ptr< WindowSharedEventFilter > qtWindowEventFilter
 
- Protected 属性 继承自 QxWindow::WindowContext
QObject * m_host {}
 
std::unique_ptr< WindowItemDelegate > m_delegate
 
QWindow * m_windowHandle {}
 
QSet< const QObject * > m_hitTestVisibleItems
 
QList< QString > m_captionClassNameList
 
ScreenRectCallback m_systemButtonAreaCallback
 
QObject * m_titleBar {}
 
std::array< QObject *, WindowAgentBase::Close+1 > m_systemButtons {}
 
QVariantHash m_windowAttributes
 
std::unique_ptr< QObject > m_windowEventFilter
 
std::unique_ptr< QObject > m_winIdChangeEventFilter
 
- Protected 属性 继承自 QxWindow::WindowNativeEventDispatcher
QVector< WindowNativeEventFilter * > m_nativeEventFilters
 
- Protected 属性 继承自 QxWindow::WindowSharedEventDispatcher
QVector< WindowSharedEventFilter * > m_sharedEventFilters
 

额外继承的成员函数

- Public 类型 继承自 QxWindow::WindowContext
enum  WindowContextHook {
  CentralizeHook = 1 , RaiseWindowHook , ShowSystemMenuHook , DefaultColorsHook ,
  DrawWindows10BorderHook , DrawWindows10BorderHook2 , SystemButtonAreaChangedHook
}
 

详细描述

在文件 windowcontext_p.h 第 232 行定义.

构造及析构函数说明

◆ WindowContextQt()

QxWindow::WindowContextQt::WindowContextQt ( )

在文件 windowcontext_qt.cpp 第 256 行定义.

◆ ~WindowContextQt()

QxWindow::WindowContextQt::~WindowContextQt ( )
overridedefault

成员函数说明

◆ key()

QString QxWindow::WindowContextQt::key ( ) const
overridevirtual

重载 QxWindow::WindowContext .

在文件 windowcontext_qt.cpp 第 264 行定义.

◆ virtual_hook()

void QxWindow::WindowContextQt::virtual_hook ( int  id,
void *  data 
)
overridevirtual

重载 QxWindow::WindowContext .

在文件 windowcontext_qt.cpp 第 269 行定义.

◆ winIdChanged()

void QxWindow::WindowContextQt::winIdChanged ( )
overrideprotectedvirtual

实现了 QxWindow::WindowContext.

在文件 windowcontext_qt.cpp 第 274 行定义.

类成员变量说明

◆ qtWindowEventFilter

std::unique_ptr<WindowSharedEventFilter> QxWindow::WindowContextQt::qtWindowEventFilter
protected

在文件 windowcontext_p.h 第 244 行定义.


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