1
#ifndef SETUPENTITYDIALOG_H
2
#define SETUPENTITYDIALOG_H
3
/***************************************************************************
4
SetupEntityDialog.h - description
7
copyright : (C) 2012 by Jaime Robles
8
email : jaime@robles.es
9
***************************************************************************/
11
/*****************************************************************************
12
* This file is part of KLog. *
14
* KLog 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. *
19
* KLog 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. *
24
* You should have received a copy of the GNU General Public License *
25
* along with KLog. If not, see <https://www.gnu.org/licenses/>. *
27
*****************************************************************************/
29
//#include <QtWidgets>
35
class SetupEntityDialog : public QDialog
47
void slotOkButtonClicked();
48
void slotCancelButtonClicked();
50
void slotCheckEntity();
51
void slotCheckMainprefix();
54
void slotCheckContinent();
55
void slotCheckLatitude();
56
void slotCheckLongitude();
58
void slotCheckARRLid();
59
void slotCheckDeleted();
60
void slotCheckDeletedDate();
61
void slotCheckPrefixes();
65
void entityAdded(const QStringList _qs); // entity
68
QString checkEntity();
69
QString checkMainprefix();
72
QString checkContinent();
73
QString checkLatitude();
74
QString checkLongitude();
76
QString checkARRLid();
77
QString checkDeleted();
78
QString checkDeletedDate();
79
QString checkPrefixes();
81
bool entityBool, mainPrefixBool, cqBool, ituBool, contBool;
82
bool latBool, lonBool, utcBool, arrlidBool, delBool, delDateBool, prefBool;
84
QLineEdit *entityLineEdit, *cqLineEdit, *ituLineEdit;
85
QLineEdit *contLineEdit, *latLineEdit, *lonLineEdit;
86
QLineEdit *utcLineEdit, *mprefLineEdit, *arrlidLineEdit;
87
QLineEdit *deletedLineEdit, *prefLineEdit;
88
QDateEdit *delQDateEdit;
89
QRadioButton *delRbutton;
91
QStringList entityData;
92
//QPalette *paletteOrig, *paletteWrong;
99
#endif // SetupEntityDialog_H