qt_demoe/framelesswidget/frmframelesswidget.h

38 lines
717 B
C
Raw Normal View History

2019-10-10 05:42:12 +00:00
#ifndef FRMFRAMELESSWIDGET_H
#define FRMFRAMELESSWIDGET_H
#include <QWidget>
2019-10-11 07:15:12 +00:00
class FramelessWidget;
2021-05-15 11:10:30 +00:00
class FramelessWidget2;
2019-10-10 05:42:12 +00:00
2021-03-08 01:04:13 +00:00
namespace Ui {
class frmFramelessWidget;
2019-10-10 05:42:12 +00:00
}
class frmFramelessWidget : public QWidget
{
Q_OBJECT
public:
explicit frmFramelessWidget(QWidget *parent = 0);
~frmFramelessWidget();
2019-10-11 07:15:12 +00:00
protected:
void closeEvent(QCloseEvent *);
2019-10-10 05:42:12 +00:00
private:
Ui::frmFramelessWidget *ui;
2021-05-15 11:10:30 +00:00
QWidget *widget1;
FramelessWidget2 *widget2;
2019-10-11 07:15:12 +00:00
FramelessWidget *frameless;
2019-10-10 05:42:12 +00:00
private slots:
2021-05-15 11:10:30 +00:00
void initWidget(QWidget *w);
2021-03-08 01:04:13 +00:00
void on_pushButton_clicked();
2019-10-11 07:15:12 +00:00
void stateChanged1(int arg1);
void stateChanged2(int arg1);
2021-05-15 11:10:30 +00:00
void on_pushButton_2_clicked();
2019-10-10 05:42:12 +00:00
};
#endif // FRMFRAMELESSWIDGET_H