-
Notifications
You must be signed in to change notification settings - Fork 5
/
markersdlg.h
215 lines (186 loc) · 4.78 KB
/
markersdlg.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/***************************************************************************
markersdlg.cpp
wkmanager.cpp - description
----------------------------------------------------
begin : 2007
copyright : (C) 2007 by Andreas Lindenau
email : [email protected]
markersdlg.cpp - description
wkmanager.cpp have been refactored to MarkersDlg.cpp QT5
----------------------------------------------------
begin : 2014
copyright : (C) 2014 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 WKMANAGER_H
#define WKMANAGER_H
#include <qpushbutton.h>
#include <QWidget>
#include <qgroupbox.h>
#include <qcombobox.h>
/*#include <q3listbox.h>*/
#include <qlabel.h>
#include <qcheckbox.h>
#include <qlineedit.h>
#include <qstring.h>
#include <QPen>
#include <QDir>
#include "constdef.h"
#include "sweepcurvewidget.h"
class MarkersDlg : public QWidget
{
Q_OBJECT
public:
MarkersDlg(QWidget * parent = 0, Qt::WindowFlags f = 0);
~MarkersDlg();
void tip(bool);
void setHomePath(QDir &);
void loadConfig();
public slots:
// void tip(bool);
void sopen1();
void sopen2();
void sopen3();
void sopen4();
void sopen5();
void sopen6();
void ssave1();
void ssave2();
void ssave3();
void ssave4();
void ssave5();
void ssave6();
void sholen1();
void sholen2();
void sholen3();
void sholen4();
void sholen5();
void sholen6();
void scolor11();
void scolor12();
void scolor21();
void scolor22();
void scolor31();
void scolor32();
void scolor41();
void scolor42();
void scolor51();
void scolor52();
void scolor61();
void scolor62();
void saktiv1();
void saktiv2();
void saktiv3();
void saktiv4();
void saktiv5();
void saktiv6();
void saktivk11();
void saktivk12();
void saktivk21();
void saktivk22();
void saktivk31();
void saktivk32();
void saktivk41();
void saktivk42();
void saktivk51();
void saktivk52();
void saktivk61();
void saktivk62();
void suebergabe(const TSweep &, const QString &);
void beenden();
void psetfontsize(int);
// void setkdir(QString);
private slots:
void save(int);
private:
QDir homedir;
int kurvennr;
QLabel *labelk1;
QLabel *labelk2;
QLabel *labelk3;
QLabel *labelk4;
QLabel *labelk5;
QLabel *labelk6;
QLabel *labelopen;
QLabel *labelsave;
QLabel *labeluebernahme;
QLabel *labelcolor;
QLabel *labelkanal;
QLabel *labeleinblendung;
QLabel *labelkanal1;
QLabel *labelkanal2;
QLabel *labelkanal3;
QLabel *labelkanal4;
QLabel *labelkanal5;
QLabel *labelkanal6;
QPushButton *open1;
QPushButton *open2;
QPushButton *open3;
QPushButton *open4;
QPushButton *open5;
QPushButton *open6;
QPushButton *save1;
QPushButton *save2;
QPushButton *save3;
QPushButton *save4;
QPushButton *save5;
QPushButton *save6;
QPushButton *uebernahme1;
QPushButton *uebernahme2;
QPushButton *uebernahme3;
QPushButton *uebernahme4;
QPushButton *uebernahme5;
QPushButton *uebernahme6;
QPushButton *color11;
QPushButton *color12;
QPushButton *color21;
QPushButton *color22;
QPushButton *color31;
QPushButton *color32;
QPushButton *color41;
QPushButton *color42;
QPushButton *color51;
QPushButton *color52;
QPushButton *color61;
QPushButton *color62;
QCheckBox *aktiv1;
QCheckBox *aktiv2;
QCheckBox *aktiv3;
QCheckBox *aktiv4;
QCheckBox *aktiv5;
QCheckBox *aktiv6;
QCheckBox *checkboxk11;
QCheckBox *checkboxk12;
QCheckBox *checkboxk21;
QCheckBox *checkboxk22;
QCheckBox *checkboxk31;
QCheckBox *checkboxk32;
QCheckBox *checkboxk41;
QCheckBox *checkboxk42;
QCheckBox *checkboxk51;
QCheckBox *checkboxk52;
QCheckBox *checkboxk61;
QCheckBox *checkboxk62;
TSweep wobbeldaten;
TSweep wobbeldaten1;
TSweep wobbeldaten2;
TSweep wobbeldaten3;
TSweep wobbeldaten4;
TSweep wobbeldaten5;
TSweep wobbeldaten6;
signals:
void loadkurve(int);
void savekurve(const TSweep &);
void wkmsendwobbel(const TSweep &);
void wkmgetwobbel(int);
// void setkurvendir(QString);
};
#endif // WKMANAGER_H