summaryrefslogtreecommitdiffstats
path: root/workspace/LogReceiver/abortbootdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'workspace/LogReceiver/abortbootdialog.h')
-rw-r--r--workspace/LogReceiver/abortbootdialog.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/workspace/LogReceiver/abortbootdialog.h b/workspace/LogReceiver/abortbootdialog.h
new file mode 100644
index 0000000..157331b
--- /dev/null
+++ b/workspace/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