-
Notifications
You must be signed in to change notification settings - Fork 5
/
profildlg.h
77 lines (62 loc) · 2.25 KB
/
profildlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/***************************************************************************
profildlg.cpp - description
----------------------------------------------------
begin : 2005
copyright : (C) 2005 by Andreas Lindenau
email : [email protected]
profildlg.cpp have been refactored to profildlg.cpp QT5
----------------------------------------------------
begin : 2013
copyright : (C) 2013 by Andrey Sobol
email : [email protected]
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef PROFILDLG_H
#define PROFILDLG_H
#include <qdialog.h>
#include <qpushbutton.h>
#include <qdialog.h>
#include <qgroupbox.h>
#include <qcombobox.h>
/*#include <q3listbox.h>*/
#include <QListWidget>
#include <qlabel.h>
#include <qcheckbox.h>
#include <qlineedit.h>
#include <qstring.h>
#include "constdef.h"
class ProfileDlg : public QDialog
{
Q_OBJECT
public:
ProfileDlg(QWidget * parent = 0, Qt::WindowFlags f = 0);
void setprofil(TProfile aprofil,int index);
TProfile getprofil(int);
void tip(bool atip);
private slots:
QString linenormalisieren(const QString &);
void allespruefen();
void allesloeschen();
private:
// tprofil profilarray[profilanz];
QPushButton *ok;
QPushButton *cancel;
QPushButton *pruefen;
QPushButton *loeschen;
QLineEdit *eanfang[profilanz];
QLineEdit *eende[profilanz];
QLineEdit *eschritte[profilanz];
QLineEdit *ebeschreibung[profilanz];
QLabel *labelbeschreibung;
QLabel *labelanfang;
QLabel *labelende;
QLabel *labelschritte;
};
#endif // PROFILDLG_H