2018-04-28 22:39:50 +00:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
2018-04-28 23:21:30 +00:00
|
|
|
#include <QtWidgets>
|
2018-04-28 22:39:50 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
|
|
~MainWindow();
|
|
|
|
|
2018-04-28 23:21:30 +00:00
|
|
|
protected:
|
|
|
|
void closeEvent(QCloseEvent *event) override;
|
|
|
|
|
2018-04-28 22:39:50 +00:00
|
|
|
private slots:
|
|
|
|
void on_actionExit_triggered();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::MainWindow *ui;
|
2018-04-29 00:21:05 +00:00
|
|
|
QAbstractButton *myButton = nullptr;
|
2018-04-28 22:39:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAINWINDOW_H
|