diff options
| author | Niklas | 2011-08-22 16:00:24 +0200 |
|---|---|---|
| committer | Niklas | 2011-08-22 16:00:24 +0200 |
| commit | 23bc13f690a08cb049adf5145f115f45cbb9950f (patch) | |
| tree | 1ee48e74cf2f6c43503bc90341e4fd6c4ccfe2bb /workspace/LogReceiver/ndgui.h | |
| parent | changed code order. added new signals (diff) | |
| download | fbgui-23bc13f690a08cb049adf5145f115f45cbb9950f.tar.gz fbgui-23bc13f690a08cb049adf5145f115f45cbb9950f.tar.xz fbgui-23bc13f690a08cb049adf5145f115f45cbb9950f.zip | |
added a additional status label and some signals
Diffstat (limited to 'workspace/LogReceiver/ndgui.h')
| -rw-r--r-- | workspace/LogReceiver/ndgui.h | 18 |
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); - - - }; |
