#ifndef FORM2_H #define FORM2_H #include namespace Ui { class Form2; } class Form2 : public QWidget { Q_OBJECT public: explicit Form2(QWidget *parent = nullptr); ~Form2(); private slots: void on_btn_clicked(); private: Ui::Form2 *ui; }; #endif // FORM2_H