dialognodeedit.h
Go to the documentation of this file.
1 /***************************************************************************
2  SocNetV: Social Network Visualizer
3  version: 2.5
4  Written in Qt
5 
6  dialognodeedit.h - description
7  -------------------
8  copyright : (C) 2005-2018 by Dimitris B. Kalamaras
9  project site : http://socnetv.org
10 
11  ***************************************************************************/
12 
13 /*******************************************************************************
14 * This program is free software: you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation, either version 3 of the License, or *
17 * (at your option) any later version. *
18 * *
19 * This program is distributed in the hope that it will be useful, *
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22 * GNU General Public License for more details. *
23 * *
24 * You should have received a copy of the GNU General Public License *
25 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
26 ********************************************************************************/
27 
28 
29 #ifndef DIALOGNODEEDIT_H
30 #define DIALOGNODEEDIT_H
31 
32 #include <QDialog>
33 
34 
35 namespace Ui {
36 class DialogNodeEdit;
37 }
38 
39 class DialogNodeEdit : public QDialog
40 {
41  Q_OBJECT
42 public:
43  explicit DialogNodeEdit(QWidget *parent = 0,
44  const QString &l = "",
45  const int &s = 8,
46  const QColor &c= QColor("red"),
47  const QString &sh = "circle");
48  ~DialogNodeEdit();
49 public slots:
50  void checkErrors ();
51  void getUserChoices ();
52  void selectColor();
53 signals:
54  void userChoices( const QString, const int, const QString, const QColor, const QString);
55  void nodeEditDialogError(QString);
56 
57 private:
58  QColor nodeColor;
59  QString nodeShape;
60  QString nodeValue;
61  QString nodeLabel;
62  int nodeSize;
63  QPixmap pixmap;
64  Ui::DialogNodeEdit *ui;
65 };
66 
67 #endif
QPixmap pixmap
Definition: dialognodeedit.h:63
Definition: dialognodeedit.h:35
int nodeSize
Definition: dialognodeedit.h:62
QColor nodeColor
Definition: dialognodeedit.h:58
Definition: dialognodeedit.h:39
QString nodeValue
Definition: dialognodeedit.h:60
QString nodeShape
Definition: dialognodeedit.h:59
Ui::DialogNodeEdit * ui
Definition: dialognodeedit.h:64
QString nodeLabel
Definition: dialognodeedit.h:61