You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
#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>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
|
|
~MainWindow();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void handleQuitButton();
|
|
|
|
void handleGracefulQuitButton();
|
|
|
|
void handleGracefulQuitTimerEvent();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QWidget *centralWidget;
|
|
|
|
QWidget *verticalLayoutWidget;
|
|
|
|
QVBoxLayout *verticalLayout1;
|
|
|
|
QPushButton *quitButton;
|
|
|
|
QPushButton *gracefulQuitButton;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAINWINDOW_H
|