dialograndlattice.h
Go to the documentation of this file.
1 /***************************************************************************
2  SocNetV: Social Network Visualizer
3  version: 2.5
4  Written in Qt
5 
6  dialograndlattice.h - description
7  -------------------
8  copyright : (C) 2005-2018 by Dimitris B. Kalamaras
9  email : [email protected]
10  website: : http://dimitris.apeiro.gr
11  project site : http://socnetv.org
12 
13  ***************************************************************************/
14 
15 /*******************************************************************************
16 * This program is free software: you can redistribute it and/or modify *
17 * it under the terms of the GNU General Public License as published by *
18 * the Free Software Foundation, either version 3 of the License, or *
19 * (at your option) any later version. *
20 * *
21 * This program is distributed in the hope that it will be useful, *
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
24 * GNU General Public License for more details. *
25 * *
26 * You should have received a copy of the GNU General Public License *
27 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
28 ********************************************************************************/
29 
30 
31 #ifndef DIALOGRANDLATTICE_H
32 #define DIALOGRANDLATTICE_H
33 
34 #include <QDialog>
35 
36 #include "ui_dialograndlattice.h"
37 
38 class DialogRandLattice : public QDialog
39 {
40  Q_OBJECT
41 public:
42  explicit DialogRandLattice(QWidget *parent = 0);
43 
44 
45 signals:
46  void userChoices( const int &nodes,
47  const int &length,
48  const int &dimension,
49  const int &neighLength,
50  const QString &mode,
51  const bool &diag);
52 public slots:
53 // void checkErrors(const int &i);
54  void getUserChoices();
55  void circularChanged(const bool &toggle);
56  void lengthChanged(int l);
57 // void setModeDirected();
58 // void setModeUndirected();
59 // void setDiag();
60 // void modifyDegree(int value);
61 
62 private:
63 
64  Ui::DialogRandLattice ui;
65  int nodes;
66  int length;
67  int dimension;
69  QString mode;
70  bool circular;
71 };
72 
73 #endif
bool circular
Definition: dialograndlattice.h:70
int length
Definition: dialograndlattice.h:66
int neighLength
Definition: dialograndlattice.h:68
void circularChanged(const bool &toggle)
Definition: dialograndlattice.cpp:64
int dimension
Definition: dialograndlattice.h:67
Ui::DialogRandLattice ui
Definition: dialograndlattice.h:64
QString mode
Definition: dialograndlattice.h:69
void userChoices(const int &nodes, const int &length, const int &dimension, const int &neighLength, const QString &mode, const bool &diag)
DialogRandLattice(QWidget *parent=0)
Definition: dialograndlattice.cpp:42
Definition: dialograndlattice.h:38
void getUserChoices()
Definition: dialograndlattice.cpp:80
int nodes
Definition: dialograndlattice.h:65
void lengthChanged(int l)
Definition: dialograndlattice.cpp:74