summaryrefslogtreecommitdiffstats
path: root/LogReceiver/abortbootdialog.h
diff options
context:
space:
mode:
authorNiklas2011-09-01 09:31:39 +0200
committerNiklas2011-09-01 09:31:39 +0200
commit4e1b9faba7503f99ee2fbcd7458f66ade42fa309 (patch)
tree4f9668c17d4dbf103ba71302624a387b080301a3 /LogReceiver/abortbootdialog.h
parentsome minor changes (diff)
downloadfbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.tar.gz
fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.tar.xz
fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.zip
tried to clean the git. deleted old unused files and folders. moved customdhcpcd and LogReceiver to the fbgui folder
Diffstat (limited to 'LogReceiver/abortbootdialog.h')
-rw-r--r--LogReceiver/abortbootdialog.h46
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