src/quick/CMakeLists.txt | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/quick/quickwindowagent.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/quick/quickwindowagent_p.h | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/widgets/CMakeLists.txt | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/widgets/widgetwindowagent.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/widgets/widgetwindowagent_p.h | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/quick/CMakeLists.txt
@@ -19,6 +19,7 @@ LINKS QWKCore QT_LINKS Core Gui Quick QT_INCLUDE_PRIVATE Core Gui Quick INCLUDE_PRIVATE contexts PREFIX QWK_QUICK ) src/quick/quickwindowagent.cpp
@@ -1,9 +1,10 @@ #include "quickwindowagent.h" #include "quickwindowagent_p.h" #include "quickitemdelegate_p.h" #include <QtQuick/QQuickWindow> #include "quickitemdelegate_p.h" #include "quickwindowcontext_p.h" namespace QWK { @@ -16,6 +17,10 @@ void QuickWindowAgentPrivate::init() { } AbstractWindowContext *QuickWindowAgentPrivate::createContext() const { return new QuickWindowContext(); } QuickWindowAgent::QuickWindowAgent(QObject *parent) : QuickWindowAgent(*new QuickWindowAgentPrivate(), parent) { } src/quick/quickwindowagent_p.h
@@ -14,6 +14,8 @@ void init(); AbstractWindowContext * createContext() const override; // Host QQuickWindow *hostWindow{}; }; src/widgets/CMakeLists.txt
@@ -19,6 +19,7 @@ LINKS QWKCore QT_LINKS Core Gui Widgets QT_INCLUDE_PRIVATE Core Gui Widgets INCLUDE_PRIVATE contexts PREFIX QWK_WIDGETS ) src/widgets/widgetwindowagent.cpp
@@ -2,6 +2,7 @@ #include "widgetwindowagent_p.h" #include "widgetitemdelegate_p.h" #include "widgetwindowcontext_p.h" namespace QWK { @@ -14,6 +15,10 @@ void WidgetWindowAgentPrivate::init() { } AbstractWindowContext *WidgetWindowAgentPrivate::createContext() const { return new WidgetWindowContext(); } WidgetWindowAgent::WidgetWindowAgent(QObject *parent) : WidgetWindowAgent(*new WidgetWindowAgentPrivate(), parent) { } src/widgets/widgetwindowagent_p.h
@@ -14,6 +14,8 @@ void init(); AbstractWindowContext * createContext() const override; // Host QWidget *hostWidget{}; };