| | |
| | | #ifndef WIDGETWINDOWAGENTPRIVATE_H |
| | | #define WIDGETWINDOWAGENTPRIVATE_H |
| | | |
| | | #include <QWKCore/private/corewindowagent_p.h> |
| | | #include <QWKCore/private/windowagentbase_p.h> |
| | | #include <QWKWidgets/widgetwindowagent.h> |
| | | |
| | | namespace QWK { |
| | | |
| | | class WidgetWindowAgentPrivate : public CoreWindowAgentPrivate { |
| | | class WidgetWindowAgentPrivate : public WindowAgentBasePrivate { |
| | | Q_DECLARE_PUBLIC(WidgetWindowAgent) |
| | | public: |
| | | WidgetWindowAgentPrivate(); |
| | |
| | | |
| | | void init(); |
| | | |
| | | AbstractWindowContext * createContext() const override; |
| | | |
| | | // Host |
| | | QWidget *hostWidget{}; |
| | | #ifdef Q_OS_MAC |
| | | QWidget *systemButtonAreaWidget{}; |
| | | std::unique_ptr<QObject> systemButtonAreaWidgetEventFilter; |
| | | #endif |
| | | |
| | | #ifdef Q_OS_WINDOWS |
| | | void setupWindows10BorderWorkaround(); |
| | | #endif |
| | | }; |
| | | |
| | | } |
| | | |
| | | #endif // WIDGETWINDOWAGENTPRIVATE_H |
| | | #endif // WIDGETWINDOWAGENTPRIVATE_H |