Code Documentation 3.3
Social Network Visualizer
Loading...
Searching...
No Matches
dialograndlattice.h
Go to the documentation of this file.
1
15
16
17#ifndef DIALOGRANDLATTICE_H
18#define DIALOGRANDLATTICE_H
19
20#include <QDialog>
21
22#include "ui_dialograndlattice.h"
23
24class DialogRandLattice : public QDialog
25{
26 Q_OBJECT
27public:
28 explicit DialogRandLattice(QWidget *parent = Q_NULLPTR);
29
30signals:
31 void userChoices( const int &nodes,
32 const int &length,
33 const int &dimension,
34 const int &neighLength,
35 const QString &mode,
36 const bool &diag);
37
38public slots:
39// void checkErrors(const int &i);
40 void getUserChoices();
41 void circularChanged(const bool &toggle);
42 void lengthChanged(int l);
43// void setModeDirected();
44// void setModeUndirected();
45// void setDiag();
46// void modifyDegree(int value);
47
48private:
49
50 Ui::DialogRandLattice ui;
51 int nodes;
52 int length;
55 QString mode;
57};
58
59#endif
int neighLength
Definition dialograndlattice.h:54
int dimension
Definition dialograndlattice.h:53
void lengthChanged(int l)
Definition dialograndlattice.cpp:59
Ui::DialogRandLattice ui
Definition dialograndlattice.h:50
DialogRandLattice(QWidget *parent=Q_NULLPTR)
Definition dialograndlattice.cpp:27
void userChoices(const int &nodes, const int &length, const int &dimension, const int &neighLength, const QString &mode, const bool &diag)
void getUserChoices()
Definition dialograndlattice.cpp:65
int length
Definition dialograndlattice.h:52
bool circular
Definition dialograndlattice.h:56
QString mode
Definition dialograndlattice.h:55
void circularChanged(const bool &toggle)
Definition dialograndlattice.cpp:49
int nodes
Definition dialograndlattice.h:51