summaryrefslogtreecommitdiffstats
path: root/workspace/LogReceiver/ndgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'workspace/LogReceiver/ndgui.h')
-rw-r--r--workspace/LogReceiver/ndgui.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/workspace/LogReceiver/ndgui.h b/workspace/LogReceiver/ndgui.h
index d3cf29f..a3b1e70 100644
--- a/workspace/LogReceiver/ndgui.h
+++ b/workspace/LogReceiver/ndgui.h
@@ -17,17 +17,25 @@ public:
~ndgui();
public slots:
- void handleProgress(int iFaceIndex, int newValue);
- void addNewInterface(QString ifName, int index);
+ void handleProgress(QString ifName, int newValue);
+ void addNewInterface(QString ifName);
void handleConnectionEstablished(QString ifName);
+ void handleAbortBoot(QString msg);
+ void handleUpdateStatusLabel(QString ifName, QString status);
+ void handleAllProcessesFinished();
private:
Ui::ndguiClass ui;
LogReceiver logReceiver;
+ QList<QString> finalUsableInterfaces;
+
+ int numberOfInterfaces;
+
/*gui elements*/
- QMap<int, QProgressBar *> progressBars;
+ QMap<QString, QProgressBar *> progressBars;
+ QMap<QString, QLabel*> statusLabels;
QLabel *ndStatusLabel;
QGroupBox *interfaceGroupBox;
QVBoxLayout *mainLayout;
@@ -37,10 +45,6 @@ private:
/*gui functions*/
void buildGui();
void createInterfaceGroupBox();
- //void addInterfacesToGroupBox(QList<QNetworkInterface> &interfaces);
-
-
-
};