35 lines
514 B
C++
35 lines
514 B
C++
#ifndef FRMMAIN_H
|
|
#define FRMMAIN_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class frmMain;
|
|
}
|
|
|
|
class frmMain : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit frmMain(QWidget *parent = 0);
|
|
~frmMain();
|
|
|
|
protected:
|
|
bool eventFilter(QObject *watched, QEvent *event);
|
|
|
|
private:
|
|
Ui::frmMain *ui;
|
|
|
|
private slots:
|
|
void initForm();
|
|
void buttonClick();
|
|
|
|
private slots:
|
|
void on_btnMenu_Min_clicked();
|
|
void on_btnMenu_Max_clicked();
|
|
void on_btnMenu_Close_clicked();
|
|
};
|
|
|
|
#endif // UIDEMO01_H
|