From 28f143c5b3c735faa88f9789743729d8933404be Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周二, 19 12月 2023 19:40:17 +0800 Subject: [PATCH] add win32 raise window --- src/quick/quickwindowagent.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/quick/quickwindowagent.h b/src/quick/quickwindowagent.h index 4d6160b..95220c0 100644 --- a/src/quick/quickwindowagent.h +++ b/src/quick/quickwindowagent.h @@ -38,6 +38,12 @@ QuickWindowAgent(QuickWindowAgentPrivate &d, QObject *parent = nullptr); }; + inline QuickWindowAgent *setupQuickWindow(QQuickWindow *window) { + auto agent = new QuickWindowAgent(window); + agent->setup(window); + return agent; + } + } #endif // QUICKWINDOWAGENT_H \ No newline at end of file -- Gitblit v1.9.1