summaryrefslogtreecommitdiffstats
path: root/doxygen/latex/classndgui.tex
blob: 9d1225fabdc88b3149654d141e2f324b6ce32f37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
\hypertarget{classndgui}{
\section{ndgui Class Reference}
\label{classndgui}\index{ndgui@{ndgui}}
}


the GUI.  




{\ttfamily \#include $<$ndgui.h$>$}



Collaboration diagram for ndgui:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=214pt]{classndgui__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classndgui_a6e23dd3c6c1b4d04f30025b2c10bf18d}{handleConnectionEstablished} (QString ifName)
\begin{DoxyCompactList}\small\item\em handle if a interface is able to connect \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_af98fc47fe747975dee2cf2346acf785d}{abortBoot} (QString msg)
\begin{DoxyCompactList}\small\item\em show abortBoot dialog \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_a944586f41e55f491391052b79cfb529f}{chooseInterfaceDialog} (QString msg)
\begin{DoxyCompactList}\small\item\em opens ths chooseInterfaceDialog \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_a7b8063ad972601bdfdeb00f23009165c}{handleAllProcessesFinished} ()
\begin{DoxyCompactList}\small\item\em determines if we continue the boot sequence or if we show the chooseInterface or abortBoot dialog \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_a84f2b0cc1d9dd99312c02aa5b2d0cb0d}{restartSystem} ()
\begin{DoxyCompactList}\small\item\em restart the system \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_a50f06ac02fc69545878e0abbdbb7ebe5}{shutDownSystem} ()
\begin{DoxyCompactList}\small\item\em shut down the system \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_af640d1a415d6d5d853eba76bfaf5290f}{continueBoot} (QString ifName)
\begin{DoxyCompactList}\small\item\em continue the boot sequence \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_a42b6f854919553d74014fc1b21e9aa81}{continueBootWithoutCheck} (QString ifName)
\begin{DoxyCompactList}\small\item\em continue the boot sequence without further checking if the connection is still possible. \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_a05cca4d99fe640456e1a082ca5895a5c}{tryAgain} ()
\begin{DoxyCompactList}\small\item\em starts the whole application again. \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_aa7cc65d744f45cf123a87cdf4be36b3d}{startSingleShot} ()
\begin{DoxyCompactList}\small\item\em starts a singleshot event. \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_ac173b84ab72e5a53ae0289e48ab395ef}{startNetworkDiscovery} ()
\begin{DoxyCompactList}\small\item\em start the network discovery \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_ad1331d475beb6eb0ee87b3c37b8d2ec6}{attachToDOM} ()
\begin{DoxyCompactList}\small\item\em stellt ein ndgui/fbgui Objekt zur verwendung durch die html bereit. \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_aa3373ffada3e46d087c04ff7508ed5f4}{loadJQuery} ()
\begin{DoxyCompactList}\small\item\em load jQuery and js scripts into the page so that all javascript functions will work. \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_a4f9798503e6e924b13d9fbe15e224120}{addInterface} (const QString \&ifName)
\begin{DoxyCompactList}\small\item\em adds an interface to the DOM tree. Creates its progress bar and it's status label. \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_ae7405769ad8f08f987ecd590542dcef8}{updateIfStatus} (const QString \&ifName, const QString \&status)
\begin{DoxyCompactList}\small\item\em update the status for each interface \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_aa6f9ae5b9c750d29832c4f4724926a2b}{updateStatus} (const QString \&status)
\begin{DoxyCompactList}\small\item\em updates the over all status \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_a96c967742597072213e62f5247e6c3bd}{updateIfProgressBar} (const QString \&ifName, const int \&percent)
\begin{DoxyCompactList}\small\item\em updates the progress bar for each interface. \item\end{DoxyCompactList}\item 
void \hyperlink{classndgui_a10b941fdad53df12bb0f7602688eb79a}{notifyCall} (QString msg)
\begin{DoxyCompactList}\small\item\em just for debugging. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classndgui_a806312a541d5a5fff560fa1b40182409}{initFbgui} ()
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classndgui_a7b3eea54cb5df6f54fbbfbe3ab71b98e}{ndgui} (QMainWindow $\ast$parent=0)
\item 
\hyperlink{classndgui_add61170d96702b55f550cb613a72754e}{$\sim$ndgui} ()
\item 
Q\_\-INVOKABLE QVariantList \hyperlink{classndgui_a064fe279626d4101313124600fb0db53}{getManualConfInterfaces} ()
\begin{DoxyCompactList}\small\item\em fills the drop down box of the manual interface configuration dialog. \item\end{DoxyCompactList}\item 
Q\_\-INVOKABLE int \hyperlink{classndgui_a5f951b7f0b4d7459644dd67d9d693226}{ip4\_\-setManualConfiguration} (QVariantMap result)
\begin{DoxyCompactList}\small\item\em takes the entered manual configuration dates and delivers it to the networkDiscovery for further actions. \item\end{DoxyCompactList}\item 
Q\_\-INVOKABLE QString \hyperlink{classndgui_a734cf33c60368b5670ab8c927b4d52bb}{readLogFile} ()
\begin{DoxyCompactList}\small\item\em read the log file. Log File will be presented inside of a dialog. \item\end{DoxyCompactList}\item 
Q\_\-INVOKABLE QVariantMap \hyperlink{classndgui_aca229fe8f5a79c35ba6d784d76ac4358}{getInterfaceConf} (QString ifName)
\begin{DoxyCompactList}\small\item\em return a json formated interface configuration \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
the GUI. This class is responsible for creating and displaying the user interface. It also connects the webView via QWebBridge to javascript functions inside the html files. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classndgui_a7b3eea54cb5df6f54fbbfbe3ab71b98e}{
\index{ndgui@{ndgui}!ndgui@{ndgui}}
\index{ndgui@{ndgui}!ndgui@{ndgui}}
\subsubsection[{ndgui}]{\setlength{\rightskip}{0pt plus 5cm}ndgui::ndgui (
\begin{DoxyParamCaption}
\item[{QMainWindow $\ast$}]{parent = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}
\label{classndgui_a7b3eea54cb5df6f54fbbfbe3ab71b98e}
constructor \hypertarget{classndgui_add61170d96702b55f550cb613a72754e}{
\index{ndgui@{ndgui}!$\sim$ndgui@{$\sim$ndgui}}
\index{$\sim$ndgui@{$\sim$ndgui}!ndgui@{ndgui}}
\subsubsection[{$\sim$ndgui}]{\setlength{\rightskip}{0pt plus 5cm}ndgui::$\sim$ndgui (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classndgui_add61170d96702b55f550cb613a72754e}
destructor 

\subsection{Member Function Documentation}
\hypertarget{classndgui_af98fc47fe747975dee2cf2346acf785d}{
\index{ndgui@{ndgui}!abortBoot@{abortBoot}}
\index{abortBoot@{abortBoot}!ndgui@{ndgui}}
\subsubsection[{abortBoot}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::abortBoot (
\begin{DoxyParamCaption}
\item[{QString}]{msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_af98fc47fe747975dee2cf2346acf785d}


show abortBoot dialog 


\begin{DoxyParams}{Parameters}
{\em msg} & the message, displayed in the dialog. \\
\hline
\end{DoxyParams}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=374pt]{classndgui_af98fc47fe747975dee2cf2346acf785d_icgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a4f9798503e6e924b13d9fbe15e224120}{
\index{ndgui@{ndgui}!addInterface@{addInterface}}
\index{addInterface@{addInterface}!ndgui@{ndgui}}
\subsubsection[{addInterface}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::addInterface (
\begin{DoxyParamCaption}
\item[{const QString \&}]{ifName}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a4f9798503e6e924b13d9fbe15e224120}


adds an interface to the DOM tree. Creates its progress bar and it's status label. 


\begin{DoxyParams}{Parameters}
{\em ifName} & name of the new interface. \\
\hline
\end{DoxyParams}
\hypertarget{classndgui_ad1331d475beb6eb0ee87b3c37b8d2ec6}{
\index{ndgui@{ndgui}!attachToDOM@{attachToDOM}}
\index{attachToDOM@{attachToDOM}!ndgui@{ndgui}}
\subsubsection[{attachToDOM}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::attachToDOM (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_ad1331d475beb6eb0ee87b3c37b8d2ec6}


stellt ein ndgui/fbgui Objekt zur verwendung durch die html bereit. 



Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=320pt]{classndgui_ad1331d475beb6eb0ee87b3c37b8d2ec6_cgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a944586f41e55f491391052b79cfb529f}{
\index{ndgui@{ndgui}!chooseInterfaceDialog@{chooseInterfaceDialog}}
\index{chooseInterfaceDialog@{chooseInterfaceDialog}!ndgui@{ndgui}}
\subsubsection[{chooseInterfaceDialog}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::chooseInterfaceDialog (
\begin{DoxyParamCaption}
\item[{QString}]{msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a944586f41e55f491391052b79cfb529f}


opens ths chooseInterfaceDialog 


\begin{DoxyParams}{Parameters}
{\em msg} & the interfaces as json formated string. will be displayed in a select box. \\
\hline
\end{DoxyParams}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classndgui_a944586f41e55f491391052b79cfb529f_icgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_af640d1a415d6d5d853eba76bfaf5290f}{
\index{ndgui@{ndgui}!continueBoot@{continueBoot}}
\index{continueBoot@{continueBoot}!ndgui@{ndgui}}
\subsubsection[{continueBoot}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::continueBoot (
\begin{DoxyParamCaption}
\item[{QString}]{ifName}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_af640d1a415d6d5d853eba76bfaf5290f}


continue the boot sequence 

represents the end of the \hyperlink{class_network_discovery}{NetworkDiscovery} life time. will start the fbgui screen. All networkDiscovery signals will be ignored after this point. 

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classndgui_af640d1a415d6d5d853eba76bfaf5290f_cgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a42b6f854919553d74014fc1b21e9aa81}{
\index{ndgui@{ndgui}!continueBootWithoutCheck@{continueBootWithoutCheck}}
\index{continueBootWithoutCheck@{continueBootWithoutCheck}!ndgui@{ndgui}}
\subsubsection[{continueBootWithoutCheck}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::continueBootWithoutCheck (
\begin{DoxyParamCaption}
\item[{QString}]{ifName}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a42b6f854919553d74014fc1b21e9aa81}


continue the boot sequence without further checking if the connection is still possible. 



Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=366pt]{classndgui_a42b6f854919553d74014fc1b21e9aa81_cgraph}
\end{center}
\end{figure}




Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classndgui_a42b6f854919553d74014fc1b21e9aa81_icgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_aca229fe8f5a79c35ba6d784d76ac4358}{
\index{ndgui@{ndgui}!getInterfaceConf@{getInterfaceConf}}
\index{getInterfaceConf@{getInterfaceConf}!ndgui@{ndgui}}
\subsubsection[{getInterfaceConf}]{\setlength{\rightskip}{0pt plus 5cm}QVariantMap ndgui::getInterfaceConf (
\begin{DoxyParamCaption}
\item[{QString}]{ifName}
\end{DoxyParamCaption}
)}}
\label{classndgui_aca229fe8f5a79c35ba6d784d76ac4358}


return a json formated interface configuration 


\begin{DoxyParams}{Parameters}
{\em ifName} & the name of the interface \\
\hline
\end{DoxyParams}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classndgui_aca229fe8f5a79c35ba6d784d76ac4358_cgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a064fe279626d4101313124600fb0db53}{
\index{ndgui@{ndgui}!getManualConfInterfaces@{getManualConfInterfaces}}
\index{getManualConfInterfaces@{getManualConfInterfaces}!ndgui@{ndgui}}
\subsubsection[{getManualConfInterfaces}]{\setlength{\rightskip}{0pt plus 5cm}QVariantList ndgui::getManualConfInterfaces (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classndgui_a064fe279626d4101313124600fb0db53}


fills the drop down box of the manual interface configuration dialog. 

\hypertarget{classndgui_a7b8063ad972601bdfdeb00f23009165c}{
\index{ndgui@{ndgui}!handleAllProcessesFinished@{handleAllProcessesFinished}}
\index{handleAllProcessesFinished@{handleAllProcessesFinished}!ndgui@{ndgui}}
\subsubsection[{handleAllProcessesFinished}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::handleAllProcessesFinished (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a7b8063ad972601bdfdeb00f23009165c}


determines if we continue the boot sequence or if we show the chooseInterface or abortBoot dialog 

if we have a user choice (\_\-userChoice = true) than networkDiscovery will emit a allProcessesFinished signal if all processes are done. This method determines if user will see an abort boot dialog (no interface names in the ifNameList list) or an choose interface dialog (one or more interface names in the list (add with handleConnectionEstablished)). 

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classndgui_a7b8063ad972601bdfdeb00f23009165c_cgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a6e23dd3c6c1b4d04f30025b2c10bf18d}{
\index{ndgui@{ndgui}!handleConnectionEstablished@{handleConnectionEstablished}}
\index{handleConnectionEstablished@{handleConnectionEstablished}!ndgui@{ndgui}}
\subsubsection[{handleConnectionEstablished}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::handleConnectionEstablished (
\begin{DoxyParamCaption}
\item[{QString}]{ifName}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a6e23dd3c6c1b4d04f30025b2c10bf18d}


handle if a interface is able to connect 

if we have a user choice (\_\-userChoice = true) than networkDiscovery will emit connectionEstablished signals. Add the interface name to a \_\-ifNameList. This list holds all interfaces the user can choose out of. \hypertarget{classndgui_a806312a541d5a5fff560fa1b40182409}{
\index{ndgui@{ndgui}!initFbgui@{initFbgui}}
\index{initFbgui@{initFbgui}!ndgui@{ndgui}}
\subsubsection[{initFbgui}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::initFbgui (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{classndgui_a806312a541d5a5fff560fa1b40182409}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classndgui_a806312a541d5a5fff560fa1b40182409_icgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a5f951b7f0b4d7459644dd67d9d693226}{
\index{ndgui@{ndgui}!ip4\_\-setManualConfiguration@{ip4\_\-setManualConfiguration}}
\index{ip4\_\-setManualConfiguration@{ip4\_\-setManualConfiguration}!ndgui@{ndgui}}
\subsubsection[{ip4\_\-setManualConfiguration}]{\setlength{\rightskip}{0pt plus 5cm}int ndgui::ip4\_\-setManualConfiguration (
\begin{DoxyParamCaption}
\item[{QVariantMap}]{jsonArr}
\end{DoxyParamCaption}
)}}
\label{classndgui_a5f951b7f0b4d7459644dd67d9d693226}


takes the entered manual configuration dates and delivers it to the networkDiscovery for further actions. 


\begin{DoxyParams}{Parameters}
{\em jsonArr} & a jsonArr which contains the manual entered interface configuration \\
\hline
\end{DoxyParams}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classndgui_a5f951b7f0b4d7459644dd67d9d693226_cgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_aa3373ffada3e46d087c04ff7508ed5f4}{
\index{ndgui@{ndgui}!loadJQuery@{loadJQuery}}
\index{loadJQuery@{loadJQuery}!ndgui@{ndgui}}
\subsubsection[{loadJQuery}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::loadJQuery (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_aa3373ffada3e46d087c04ff7508ed5f4}


load jQuery and js scripts into the page so that all javascript functions will work. 



Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=320pt]{classndgui_aa3373ffada3e46d087c04ff7508ed5f4_icgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a10b941fdad53df12bb0f7602688eb79a}{
\index{ndgui@{ndgui}!notifyCall@{notifyCall}}
\index{notifyCall@{notifyCall}!ndgui@{ndgui}}
\subsubsection[{notifyCall}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::notifyCall (
\begin{DoxyParamCaption}
\item[{QString}]{msg}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a10b941fdad53df12bb0f7602688eb79a}


just for debugging. 

\hypertarget{classndgui_a734cf33c60368b5670ab8c927b4d52bb}{
\index{ndgui@{ndgui}!readLogFile@{readLogFile}}
\index{readLogFile@{readLogFile}!ndgui@{ndgui}}
\subsubsection[{readLogFile}]{\setlength{\rightskip}{0pt plus 5cm}QString ndgui::readLogFile (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classndgui_a734cf33c60368b5670ab8c927b4d52bb}


read the log file. Log File will be presented inside of a dialog. 



Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=366pt]{classndgui_a734cf33c60368b5670ab8c927b4d52bb_cgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a84f2b0cc1d9dd99312c02aa5b2d0cb0d}{
\index{ndgui@{ndgui}!restartSystem@{restartSystem}}
\index{restartSystem@{restartSystem}!ndgui@{ndgui}}
\subsubsection[{restartSystem}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::restartSystem (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a84f2b0cc1d9dd99312c02aa5b2d0cb0d}


restart the system 

this method will restart the system. triggered through a button click in the gui. \hypertarget{classndgui_a50f06ac02fc69545878e0abbdbb7ebe5}{
\index{ndgui@{ndgui}!shutDownSystem@{shutDownSystem}}
\index{shutDownSystem@{shutDownSystem}!ndgui@{ndgui}}
\subsubsection[{shutDownSystem}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::shutDownSystem (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a50f06ac02fc69545878e0abbdbb7ebe5}


shut down the system 

this method will restart the system. triggered through a button click in the gui. \hypertarget{classndgui_ac173b84ab72e5a53ae0289e48ab395ef}{
\index{ndgui@{ndgui}!startNetworkDiscovery@{startNetworkDiscovery}}
\index{startNetworkDiscovery@{startNetworkDiscovery}!ndgui@{ndgui}}
\subsubsection[{startNetworkDiscovery}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::startNetworkDiscovery (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_ac173b84ab72e5a53ae0289e48ab395ef}


start the network discovery 

main starting point of the whole procedure. disconnect the loadFinished signal with the startNetworkDiscovery and starts the networkDiscovery. 

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classndgui_ac173b84ab72e5a53ae0289e48ab395ef_cgraph}
\end{center}
\end{figure}




Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=376pt]{classndgui_ac173b84ab72e5a53ae0289e48ab395ef_icgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_aa7cc65d744f45cf123a87cdf4be36b3d}{
\index{ndgui@{ndgui}!startSingleShot@{startSingleShot}}
\index{startSingleShot@{startSingleShot}!ndgui@{ndgui}}
\subsubsection[{startSingleShot}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::startSingleShot (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_aa7cc65d744f45cf123a87cdf4be36b3d}


starts a singleshot event. 

is connected to the singleShot event. Triggering this method means that we go on with the main \hyperlink{class_network_discovery}{NetworkDiscovery} screen. connects the loadFinished signal of the \_\-webView with the startNetworkDiscovery slot and removes the action. 

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classndgui_aa7cc65d744f45cf123a87cdf4be36b3d_cgraph}
\end{center}
\end{figure}




Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=376pt]{classndgui_aa7cc65d744f45cf123a87cdf4be36b3d_icgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a05cca4d99fe640456e1a082ca5895a5c}{
\index{ndgui@{ndgui}!tryAgain@{tryAgain}}
\index{tryAgain@{tryAgain}!ndgui@{ndgui}}
\subsubsection[{tryAgain}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::tryAgain (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a05cca4d99fe640456e1a082ca5895a5c}


starts the whole application again. 



Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=374pt]{classndgui_a05cca4d99fe640456e1a082ca5895a5c_cgraph}
\end{center}
\end{figure}


\hypertarget{classndgui_a96c967742597072213e62f5247e6c3bd}{
\index{ndgui@{ndgui}!updateIfProgressBar@{updateIfProgressBar}}
\index{updateIfProgressBar@{updateIfProgressBar}!ndgui@{ndgui}}
\subsubsection[{updateIfProgressBar}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::updateIfProgressBar (
\begin{DoxyParamCaption}
\item[{const QString \&}]{ifName, }
\item[{const int \&}]{percent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_a96c967742597072213e62f5247e6c3bd}


updates the progress bar for each interface. 


\begin{DoxyParams}{Parameters}
{\em ifname} & the name ot the interface to update\\
\hline
{\em percent} & the progress in percent \\
\hline
\end{DoxyParams}
\hypertarget{classndgui_ae7405769ad8f08f987ecd590542dcef8}{
\index{ndgui@{ndgui}!updateIfStatus@{updateIfStatus}}
\index{updateIfStatus@{updateIfStatus}!ndgui@{ndgui}}
\subsubsection[{updateIfStatus}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::updateIfStatus (
\begin{DoxyParamCaption}
\item[{const QString \&}]{ifName, }
\item[{const QString \&}]{status}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_ae7405769ad8f08f987ecd590542dcef8}


update the status for each interface 


\begin{DoxyParams}{Parameters}
{\em ifName} & the name ot the interface to update\\
\hline
{\em status} & the new status of the interface. \\
\hline
\end{DoxyParams}
\hypertarget{classndgui_aa6f9ae5b9c750d29832c4f4724926a2b}{
\index{ndgui@{ndgui}!updateStatus@{updateStatus}}
\index{updateStatus@{updateStatus}!ndgui@{ndgui}}
\subsubsection[{updateStatus}]{\setlength{\rightskip}{0pt plus 5cm}void ndgui::updateStatus (
\begin{DoxyParamCaption}
\item[{const QString \&}]{status}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{classndgui_aa6f9ae5b9c750d29832c4f4724926a2b}


updates the over all status 


\begin{DoxyParams}{Parameters}
{\em status} & the new status message \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/niklas/workspace/fbgui/src/\hyperlink{ndgui_8h}{ndgui.h}\item 
/home/niklas/workspace/fbgui/src/\hyperlink{ndgui_8cpp}{ndgui.cpp}\end{DoxyCompactItemize}