summaryrefslogtreecommitdiffstats
path: root/workspace/LogReceiver/ndgui.h
diff options
context:
space:
mode:
authorNiklas2011-08-22 16:00:24 +0200
committerNiklas2011-08-22 16:00:24 +0200
commit23bc13f690a08cb049adf5145f115f45cbb9950f (patch)
tree1ee48e74cf2f6c43503bc90341e4fd6c4ccfe2bb /workspace/LogReceiver/ndgui.h
parentchanged code order. added new signals (diff)
downloadfbgui-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.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);
-
-
-
};