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.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/workspace/LogReceiver/ndgui.h b/workspace/LogReceiver/ndgui.h
new file mode 100644
index 0000000..01b9d01
--- /dev/null
+++ b/workspace/LogReceiver/ndgui.h
@@ -0,0 +1,38 @@
+#ifndef NDGUI_H
+#define NDGUI_H
+
+#include <QtGui/QWidget>
+#include "ui_ndgui.h"
+
+class ndgui: public QWidget {
+Q_OBJECT
+
+public:
+ ndgui(QWidget *parent = 0);
+ ~ndgui();
+
+public slots:
+ void handleProgress(int iFaceIndex, int newValue);
+
+private:
+ Ui::ndguiClass ui;
+
+ /*gui elements*/
+ QMap<int, QProgressBar *> progressBars;
+ QLabel *ndStatusLabel;
+ QGroupBox *interfaceGroupBox;
+ QVBoxLayout *mainLayout;
+ QVBoxLayout *interfaceGroupBoxLayout;
+ /**/
+
+ /*gui functions*/
+ void buildGui();
+ void createInterfaceGroupBox();
+ void addInterfacesToGroupBox(QList<QNetworkInterface> &interfaces);
+
+
+
+
+};
+
+#endif // NDGUI_H