diff options
| author | Niklas | 2011-08-01 12:31:12 +0200 |
|---|---|---|
| committer | Niklas | 2011-08-01 12:31:12 +0200 |
| commit | 2a04cb4147eb9c583fae8d0b3120a74eaf1af68a (patch) | |
| tree | 90329cb02eb9435e6f1410cf251677eaf089197c /workspace/LogReceiver/ndgui.h | |
| parent | better version of the logwriter.c and started to devide gui and logic (diff) | |
| download | fbgui-2a04cb4147eb9c583fae8d0b3120a74eaf1af68a.tar.gz fbgui-2a04cb4147eb9c583fae8d0b3120a74eaf1af68a.tar.xz fbgui-2a04cb4147eb9c583fae8d0b3120a74eaf1af68a.zip | |
seperation of logic and gui completed.
Diffstat (limited to 'workspace/LogReceiver/ndgui.h')
| -rw-r--r-- | workspace/LogReceiver/ndgui.h | 10 |
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); |
