2016-06-14 03:52:17 +03:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
2016-06-17 16:49:49 +03:00
|
|
|
#include <QPushButton>
|
|
|
|
#include <QtCore/QVariant>
|
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
|
|
#include <QtWidgets/QPushButton>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
#include <QtWidgets/QWidget>
|
2016-06-14 03:52:17 +03:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
|
|
~MainWindow();
|
|
|
|
|
2016-06-17 16:49:49 +03:00
|
|
|
private slots:
|
|
|
|
void handleQuitButton();
|
2016-06-24 22:37:59 +03:00
|
|
|
void handleGracefulQuitButton();
|
|
|
|
void handleGracefulQuitTimerEvent();
|
2016-06-17 16:49:49 +03:00
|
|
|
|
2016-06-14 03:52:17 +03:00
|
|
|
private:
|
2016-06-17 16:49:49 +03:00
|
|
|
QWidget *centralWidget;
|
|
|
|
QWidget *verticalLayoutWidget;
|
|
|
|
QVBoxLayout *verticalLayout1;
|
|
|
|
QPushButton *quitButton;
|
2016-06-24 22:37:59 +03:00
|
|
|
QPushButton *gracefulQuitButton;
|
2016-06-14 03:52:17 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAINWINDOW_H
|