dialognodeedit.h
Go to the documentation of this file.
1 /***************************************************************************
2  SocNetV: Social Network Visualizer
3  version: 2.2
4  Written in Qt
5 
6  dialognodeedit.h - description
7  -------------------
8  copyright : (C) 2005-2017 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 #include "ui_dialognodeedit.h"
35 
36 
37 class DialogNodeEdit : public QDialog
38 {
39  Q_OBJECT
40 public:
41  explicit DialogNodeEdit(QWidget *parent = 0,
42  const QString &l = "",
43  const int &s = 8,
44  const QColor &c= QColor("red"),
45  const QString &sh = "circle");
47 public slots:
48  void checkErrors ();
49  void gatherData ();
50  void selectColor();
51 signals:
52  void userChoices( const QString, const int, const QString, const QColor, const QString);
53  void nodeEditDialogError(QString);
54 
55 private:
56  QColor nodeColor;
57  QString nodeShape;
58  QString nodeValue;
59  QString nodeLabel;
60  int nodeSize;
61  QPixmap pixmap;
62  Ui::DialogNodeEdit *ui;
63 
64 
65 
66 };
67 
68 #endif
void nodeEditDialogError(QString)
void gatherData()
Definition: dialognodeedit.cpp:94
QPixmap pixmap
Definition: dialognodeedit.h:61
int nodeSize
Definition: dialognodeedit.h:60
QColor nodeColor
Definition: dialognodeedit.h:56
Definition: dialognodeedit.h:37
void checkErrors()
Definition: dialognodeedit.cpp:125
QString nodeValue
Definition: dialognodeedit.h:58
QString nodeShape
Definition: dialognodeedit.h:57
Ui::DialogNodeEdit * ui
Definition: dialognodeedit.h:62
void userChoices(const QString, const int, const QString, const QColor, const QString)
QString nodeLabel
Definition: dialognodeedit.h:59
void selectColor()
Definition: dialognodeedit.cpp:145
DialogNodeEdit(QWidget *parent=0, const QString &l="", const int &s=8, const QColor &c=QColor("red"), const QString &sh="circle")
Definition: dialognodeedit.cpp:41
~DialogNodeEdit()
Definition: dialognodeedit.cpp:162