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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/workspace/LogReceiver/ndgui.h b/workspace/LogReceiver/ndgui.h
index 01b9d01..990a6b9 100644
--- a/workspace/LogReceiver/ndgui.h
+++ b/workspace/LogReceiver/ndgui.h
@@ -2,7 +2,12 @@
#define NDGUI_H
#include <QtGui/QWidget>
+#include "qprogressbar.h"
+#include "qlabel.h"
+#include "qgroupbox.h"
+#include "qboxlayout.h"
#include "ui_ndgui.h"
+#include "logreceiver.h"
class ndgui: public QWidget {
Q_OBJECT
@@ -13,10 +18,13 @@ public:
public slots:
void handleProgress(int iFaceIndex, int newValue);
+ void addNewInterface(QString ifName, int index);
private:
Ui::ndguiClass ui;
+ LogReceiver logReceiver;
+
/*gui elements*/
QMap<int, QProgressBar *> progressBars;
QLabel *ndStatusLabel;
@@ -28,7 +36,7 @@ private:
/*gui functions*/
void buildGui();
void createInterfaceGroupBox();
- void addInterfacesToGroupBox(QList<QNetworkInterface> &interfaces);
+ //void addInterfacesToGroupBox(QList<QNetworkInterface> &interfaces);