summaryrefslogtreecommitdiffstats
path: root/LogReceiver/ndgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'LogReceiver/ndgui.h')
-rw-r--r--LogReceiver/ndgui.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/LogReceiver/ndgui.h b/LogReceiver/ndgui.h
index f841cc9..e0c12d1 100644
--- a/LogReceiver/ndgui.h
+++ b/LogReceiver/ndgui.h
@@ -11,7 +11,6 @@
class ndgui: public QMainWindow {
Q_OBJECT
-Q_PROPERTY(QString manualConfInterfaces READ manualConfInterfaces WRITE setManualConfInterfaces)
public:
ndgui(QMainWindow *parent = 0);
@@ -30,6 +29,7 @@ public slots:
void continueBoot(QString ifName, int userChoice);
void showLog();
+ void prepareNetworkDiscover();
void startNetworkDiscovery();
/*test for html gui version*/
@@ -41,19 +41,21 @@ public slots:
void updateIfProgressBar(const QString &ifName, const int& percent);
void notifyCall(QString msg);
- // property functions
- void setManualConfInterfaces(QString jsonArray) {
- _manualConfInterfaces = jsonArray;
- }
- QString manualConfInterfaces() const
- {return _manualConfInterfaces;}
+private slots:
+ void setUserChoiceTrue();
private:
+ void createAction();
+
+ bool _userChoice;
+
bool _started;
QWebView * _webView;
+ QAction * _allowUserChoice;
+
NetworkDiscovery networkDiscovery;
QList<QString> _ifNameList; // maps interfaceName to its gateway