Code Documentation 3.3
Social Network Visualizer
Loading...
Searching...
No Matches
dialograndsmallworld.h
Go to the documentation of this file.
1
15
16
17#ifndef DIALOGRANDSMALLWORLD_H
18#define DIALOGRANDSMALLWORLD_H
19
20#include <QDialog>
21
22#include "ui_dialograndsmallworld.h"
23
24class DialogRandSmallWorld : public QDialog
25{
26 Q_OBJECT
27public:
28 explicit DialogRandSmallWorld(QWidget *parent = Q_NULLPTR);
29
30public slots:
31 void checkErrors();
32 void getUserChoices();
33 void setModeDirected();
34 void setModeUndirected();
35 void setDiag();
36 void modifyDegree(int value);
37
38signals:
39 void userChoices( const int nodes,
40 const int degree,
41 const qreal prob,
42 const QString mode,
43 const bool diag);
44private:
45 QString mode;
47 qreal bprob;
48 bool diag;
49 Ui::DialogRandSmallWorld *ui;
50
51};
52
53#endif
void getUserChoices()
Definition dialograndsmallworld.cpp:111
void setModeDirected()
Definition dialograndsmallworld.cpp:75
void setDiag()
Definition dialograndsmallworld.cpp:86
int degree
Definition dialograndsmallworld.h:46
int nodes
Definition dialograndsmallworld.h:46
bool diag
Definition dialograndsmallworld.h:48
QString mode
Definition dialograndsmallworld.h:45
DialogRandSmallWorld(QWidget *parent=Q_NULLPTR)
Definition dialograndsmallworld.cpp:26
Ui::DialogRandSmallWorld * ui
Definition dialograndsmallworld.h:49
void modifyDegree(int value)
Definition dialograndsmallworld.cpp:70
void setModeUndirected()
Definition dialograndsmallworld.cpp:81
qreal bprob
Definition dialograndsmallworld.h:47
void userChoices(const int nodes, const int degree, const qreal prob, const QString mode, const bool diag)
void checkErrors()
Definition dialograndsmallworld.cpp:93