#ifndef FRMFRAMELESSWIDGET_H #define FRMFRAMELESSWIDGET_H #include class FramelessWidget; class FramelessWidget2; namespace Ui { class frmFramelessWidget; } class frmFramelessWidget : public QWidget { Q_OBJECT public: explicit frmFramelessWidget(QWidget *parent = 0); ~frmFramelessWidget(); protected: void closeEvent(QCloseEvent *); private: Ui::frmFramelessWidget *ui; QWidget *widget1; FramelessWidget2 *widget2; FramelessWidget *frameless; private slots: void initWidget(QWidget *w); void on_pushButton_clicked(); void stateChanged1(int arg1); void stateChanged2(int arg1); void on_pushButton_2_clicked(); }; #endif // FRMFRAMELESSWIDGET_H