qt_demoe/framelesswidget/frmframelesswidget.h

35 lines
588 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;
2019-10-10 05:42:12 +00:00
namespace Ui
{
class frmFramelessWidget;
}
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;
2019-10-11 09:13:42 +00:00
QWidget *w;
2019-10-11 07:15:12 +00:00
FramelessWidget *frameless;
2019-10-10 05:42:12 +00:00
private slots:
void on_btnOpen_clicked();
2019-10-11 07:15:12 +00:00
void stateChanged1(int arg1);
void stateChanged2(int arg1);
2019-10-10 05:42:12 +00:00
};
#endif // FRMFRAMELESSWIDGET_H