From f963da1b4099d1bcadae6f8d8669937c3a9ad0f1 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周五, 29 12月 2023 09:14:59 +0800 Subject: [PATCH] Add object helper --- examples/mainwindow/mainwindow.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/examples/mainwindow/mainwindow.h b/examples/mainwindow/mainwindow.h index 5511105..e7b601d 100644 --- a/examples/mainwindow/mainwindow.h +++ b/examples/mainwindow/mainwindow.h @@ -3,6 +3,11 @@ #include <QtWidgets/QMainWindow> +namespace QWK { + class WidgetWindowAgent; + class StyleAgent; +} + class MainWindow : public QMainWindow { Q_OBJECT public: @@ -26,6 +31,8 @@ void loadStyleSheet(Theme theme); Theme currentTheme{}; + + QWK::WidgetWindowAgent *windowAgent; }; #endif // MAINWINDOW_H -- Gitblit v1.9.1