dialograndregular.h
Go to the documentation of this file.
1 /***************************************************************************
2  SocNetV: Social Network Visualizer
3  version: 2.2
4  Written in Qt
5 
6  dialograndregular.h - description
7  -------------------
8  copyright : (C) 2005-2017 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 #ifndef DIALOGRANDREGULAR_H
31 #define DIALOGRANDREGULAR_H
32 
33 #include <QDialog>
34 
35 #include "ui_dialograndregular.h"
36 
37 class DialogRandRegular : public QDialog
38 {
39  Q_OBJECT
40 public:
41  explicit DialogRandRegular(QWidget *parent = 0);
42 
43 public slots:
44  void checkErrors(const int &i);
45  void gatherData();
46  void setModeDirected();
47  void setModeUndirected();
48  void setDiag();
49  void modifyDegree(int value);
50 
51 signals:
52  void userChoices( const int nodes,
53  const int degree,
54  const QString mode,
55  const bool diag);
56 private:
57  QString mode;
58  int nodes, degree;
59  bool diag;
60  Ui::DialogRandRegular ui;
61 
62 };
63 
64 #endif
void setModeDirected()
Definition: dialograndregular.cpp:87
Definition: dialograndregular.h:37
void setModeUndirected()
Definition: dialograndregular.cpp:94
QString mode
Definition: dialograndregular.h:57
void checkErrors(const int &i)
Definition: dialograndregular.cpp:107
int degree
Definition: dialograndregular.h:58
void userChoices(const int nodes, const int degree, const QString mode, const bool diag)
DialogRandRegular(QWidget *parent=0)
Definition: dialograndregular.cpp:38
void setDiag()
Definition: dialograndregular.cpp:100
bool diag
Definition: dialograndregular.h:59
void modifyDegree(int value)
Definition: dialograndregular.cpp:82
Ui::DialogRandRegular ui
Definition: dialograndregular.h:60
int nodes
Definition: dialograndregular.h:58
void gatherData()
Definition: dialograndregular.cpp:124