| | |
| | | #ifndef WIN32WINDOWCONTEXT_P_H |
| | | #define WIN32WINDOWCONTEXT_P_H |
| | | |
| | | // |
| | | // W A R N I N G !!! |
| | | // ----------------- |
| | | // |
| | | // This file is not part of the QWindowKit API. It is used purely as an |
| | | // implementation detail. This header file may change from version to |
| | | // version without notice, or may even be removed. |
| | | // |
| | | |
| | | #include <QWKCore/qwindowkit_windows.h> |
| | | #include <QWKCore/private/abstractwindowcontext_p.h> |
| | | |
| | |
| | | QString key() const override; |
| | | void virtual_hook(int id, void *data) override; |
| | | |
| | | bool needBorderPainter() const; |
| | | int borderThickness() const; |
| | | |
| | | protected: |
| | | void winIdChanged(QWindow *oldWindow, bool destroyed) override; |
| | | void winIdChanged() override; |
| | | bool windowAttributeChanged(const QString &key, const QVariant &attribute, |
| | | const QVariant &oldAttribute) override; |
| | | |
| | | public: |
| | | bool windowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result); |
| | |
| | | bool nonClientCalcSizeHandler(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, |
| | | LRESULT *result); |
| | | |
| | | public: |
| | | bool needBorderPainter() const; |
| | | |
| | | int borderThickness() const; |
| | | |
| | | protected: |
| | | WId windowId = 0; |
| | | |
| | |
| | | bool mouseLeaveBlocked = false; |
| | | |
| | | bool centered = false; |
| | | |
| | | bool hasExtraMargins = false; |
| | | }; |
| | | |
| | | } |