diff options
Diffstat (limited to 'LogReceiver/abortbootdialog.h')
| -rw-r--r-- | LogReceiver/abortbootdialog.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/LogReceiver/abortbootdialog.h b/LogReceiver/abortbootdialog.h new file mode 100644 index 0000000..157331b --- /dev/null +++ b/LogReceiver/abortbootdialog.h @@ -0,0 +1,46 @@ +#ifndef ABORTBOOTDIALOG_H +#define ABORTBOOTDIALOG_H + +#include <QDialog> +#include "qboxlayout.h" +#include "qgroupbox.h" +#include "qcombobox.h" +#include "qlabel.h" + + +class AbortBootDialog : public QDialog +{ + Q_OBJECT +public: + explicit AbortBootDialog(QWidget *parent = 0); + + void closeDialog(); +private slots: + void showLogButtonClicked(); + void shutDownButtonClicked(); + void restartButtonClicked(); + void timerLabelUpdate(); + +private: + QVBoxLayout *mainLayout; + QGroupBox *contentGroupBox; + QGroupBox *buttonGroupBox; + QLabel *timerLabel; + QTimer *timer; + int oneMinuteCountdown; + + void createContentGroupBox(); + void createButtonGroupBox(); + void createTimer(); + + +signals: + void showLogSignal(); + void shutDownSignal(); + void restartSignal(); + +public slots: + +}; + +#endif // ABORTBOOTDIALOG_H |
