summaryrefslogtreecommitdiffstats
path: root/workspace/LogReceiver/ndgui.h
diff options
context:
space:
mode:
authorNiklas2011-08-24 13:58:14 +0200
committerNiklas2011-08-24 13:58:14 +0200
commit82aa92021583cbeefe6c0a29181680f3ca1e4242 (patch)
tree567a26262e61a858433d7f5feb524a96509afa74 /workspace/LogReceiver/ndgui.h
parentadded a additional status label and some signals (diff)
downloadfbgui-82aa92021583cbeefe6c0a29181680f3ca1e4242.tar.gz
fbgui-82aa92021583cbeefe6c0a29181680f3ca1e4242.tar.xz
fbgui-82aa92021583cbeefe6c0a29181680f3ca1e4242.zip
added to dialogs. one for the critical error case (abot boot dialog), one for the succesful case (choose interface dialog). also added a new function for testing the connectivity via tcpsocket (or http request).
Diffstat (limited to 'workspace/LogReceiver/ndgui.h')
-rw-r--r--workspace/LogReceiver/ndgui.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/workspace/LogReceiver/ndgui.h b/workspace/LogReceiver/ndgui.h
index a3b1e70..e8b0b85 100644
--- a/workspace/LogReceiver/ndgui.h
+++ b/workspace/LogReceiver/ndgui.h
@@ -8,6 +8,8 @@
#include "qboxlayout.h"
#include "ui_ndgui.h"
#include "logreceiver.h"
+#include "chooseinterfacedialog.h"
+#include "abortbootdialog.h"
class ndgui: public QWidget {
Q_OBJECT
@@ -24,15 +26,26 @@ public slots:
void handleUpdateStatusLabel(QString ifName, QString status);
void handleAllProcessesFinished();
+ void restartSystem();
+ void shutDownSystem();
+ void continueBoot(QString ifName);
+ void showLog();
+
+ void showAbortBootDialog();
+ void showChooseInterfaceDialog();
+
private:
Ui::ndguiClass ui;
LogReceiver logReceiver;
- QList<QString> finalUsableInterfaces;
+ QStringList finalUsableInterfaces;
int numberOfInterfaces;
+ ChooseInterfaceDialog *cID;
+ AbortBootDialog *aBD;
+
/*gui elements*/
QMap<QString, QProgressBar *> progressBars;
QMap<QString, QLabel*> statusLabels;
@@ -42,6 +55,9 @@ private:
QVBoxLayout *interfaceGroupBoxLayout;
/**/
+
+
+
/*gui functions*/
void buildGui();
void createInterfaceGroupBox();