1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once #include "ui_window.h" #include <QMainWindow> #include <QCloseEvent> class window : public QMainWindow { Q_OBJECT Ui::window ui; void closeEvent(QCloseEvent* e) override; public: window(); };