-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcvg_level_wizard.h
92 lines (73 loc) · 2.12 KB
/
cvg_level_wizard.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
/******************************************************************************************
**** PROGRAM: cvg_level_wizard.h
**** AUTHOR: Chengan 4/01/05
**** [email protected]
******************************************************************************************/
#ifndef CVG_LEVEL_WIZARD_H
#define CVG_LEVEL_WIZARD_H
#include <qvariant.h>
#include <q3wizard.h>
#include <q3valuevector.h>
//Added by qt3to4:
#include <Q3VBoxLayout>
#include <Q3GridLayout>
#include <Q3HBoxLayout>
#include <QLabel>
class Q3VBoxLayout;
class Q3HBoxLayout;
class Q3GridLayout;
class QSpacerItem;
class QWidget;
class Q3ButtonGroup;
class QLabel;
class QLineEdit;
class QSpinBox;
class Q3Table;
class NetworkClass;
class CvgLevelWizard : public Q3Wizard
{
Q_OBJECT
public:
CvgLevelWizard( NetworkClass*, QWidget* parent = 0, const char* name = 0);
~CvgLevelWizard();
QWidget* WizardPage1;
Q3ButtonGroup* cvg_gen_param_buttonGroup;
QLabel* info_max_thr_textLabel;
QLabel* info_min_thr_textLabel;
QLabel* num_thr_textLabel;
QLineEdit* info_max_thr_lineEdit;
QLineEdit* info_min_thr_lineEdit;
QSpinBox* num_thr_spinBox;
Q3ButtonGroup* cvg_adv_param_buttonGroup;
QLabel* scan_fraction_area_textLabel;
QLabel* init_sample_resolution_textLabel;
QLineEdit* scan_fraction_area_lineEdit;
QLineEdit* init_sample_resolution_lineEdit;
QWidget* WizardPage2;
Q3Table* cvg_table;
Q3ValueVector <double>& getThrVector( );
int num_thr;
double min_thr;
double max_thr;
double scan_fra_area;
int sam_res;
bool extension;
private:
Q3ValueVector <double> m_thr_vector;
NetworkClass* np;
protected:
Q3VBoxLayout* WizardPage1Layout;
Q3HBoxLayout* WizardPage2Layout;
Q3GridLayout* cvg_gen_param_buttonGroupLayout;
Q3GridLayout* cvg_adv_param_buttonGroupLayout;
protected slots:
virtual void accept();
void adv_button_clicked();
virtual void languageChange();
void table_valueChanged(int, int );
void cancel_btn_clicked();
void thr_changed();
void back_clicked();
void next_btn_clicked();
};
#endif // CVG_LEVEL_WIZARD_H