dialognodefind.h
Go to the documentation of this file.
1 /***************************************************************************
2  SocNetV: Social Network Visualizer
3  version: 2.5
4  Written in Qt
5 
6  dialognodefind.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 #ifndef DIALOGNODEFIND_H
29 #define DIALOGNODEFIND_H
30 
31 #include <QDialog>
32 
33 namespace Ui {
34 class DialogNodeFind;
35 }
36 
37 class DialogNodeFind : public QDialog
38 {
39  Q_OBJECT
40 
41 public:
42  explicit DialogNodeFind(QWidget *parent = 0, QStringList indexList=QStringList());
43  ~DialogNodeFind();
44 public slots:
45  void setError(const bool &toggle);
46  void getIndex(const QString &indexStr);
47  void checkErrors ();
48  void getUserChoices ();
49 signals:
50  void userChoices( const QStringList &list,
51  const QString &type,
52  const QString &selectedIndex=QString::null);
53 private:
54  Ui::DialogNodeFind *ui;
55  QStringList list;
56  QString searchType;
57  QStringList tempListA;
58  QStringList tempListB;
59  QString str;
60  QString selectedIndex;
61 };
62 
63 #endif // DIALOGNODEFIND_H
QStringList tempListB
Definition: dialognodefind.h:58
QStringList tempListA
Definition: dialognodefind.h:57
Definition: dialognodeedit.h:35
Ui::DialogNodeFind * ui
Definition: dialognodefind.h:54
QString searchType
Definition: dialognodefind.h:56
Definition: dialognodefind.h:37
QString str
Definition: dialognodefind.h:59
QString selectedIndex
Definition: dialognodefind.h:60
QStringList list
Definition: dialognodefind.h:55