#ifndef WIDGET_H #define WIDGET_H #include #include class Widget : public QWidget { Q_OBJECT private: QPushButton *button; public: Widget(QWidget *parent = nullptr); ~Widget(); }; #endif // WIDGET_H