UltraScan III
Namespaces
Classes
Files
File List
File Members
programs
us_globalequil
us_eqmodel_control.h
Go to the documentation of this file.
1
#ifndef US_EQMODCTRL_H
2
#define US_EQMODCTRL_H
3
4
#include "
us_extern.h
"
5
#include "
us_globeq_data.h
"
6
#include "
us_widgets_dialog.h
"
7
#include "
us_dataIO.h
"
8
#include "
us_analyte.h
"
9
#include "
us_buffer.h
"
10
#include "
us_help.h
"
11
12
class
US_EqModelControl
:
public
US_WidgetsDialog
13
{
14
Q_OBJECT
15
16
public
:
17
US_EqModelControl
( QVector< EqScanFit >&,
EqRunFit
&,
18
US_DataIO::EditedData
*,
int
, QStringList,
bool
&,
int
& );
19
20
void
new_scan
(
int
);
21
void
new_components
(
void
);
22
void
set_float
(
bool
);
23
24
signals:
25
void
update_scan
(
int
);
26
27
private
:
28
QVector< EqScanFit >&
scanfits
;
// Scan Fit vector
29
EqRunFit
&
runfit
;
// Run Fit parameters structure
30
US_DataIO::EditedData
*
edata
;
// Edited Data pointer
31
int
modelx
;
// Selected model index
32
QStringList
models
;
// List of model titles
33
bool
&
mWidget
;
// Model Widget created flag
34
int
&
selscan
;
// Current selected scan
35
36
QLabel*
lb_gbanner
;
37
QLabel*
lb_lbanner
;
38
QLabel*
lb_molecwt
;
39
QLabel*
lb_amplitu
;
40
41
QLineEdit*
le_mwguess
;
42
QLineEdit*
le_mwbound
;
43
QLineEdit*
le_vbguess
;
44
QLineEdit*
le_vbbound
;
45
QLineEdit*
le_l1guess
;
46
QLineEdit*
le_l1bound
;
47
QLineEdit*
le_l2guess
;
48
QLineEdit*
le_l2bound
;
49
QLineEdit*
le_l3guess
;
50
QLineEdit*
le_l3bound
;
51
QLineEdit*
le_l4guess
;
52
QLineEdit*
le_l4bound
;
53
QLineEdit*
le_cdescr
;
54
QLineEdit*
le_runid
;
55
QLineEdit*
le_tempera
;
56
QLineEdit*
le_speed
;
57
QLineEdit*
le_wavelen
;
58
QLineEdit*
le_pathlen
;
59
QLineEdit*
le_plenscn
;
60
QLineEdit*
le_blguess
;
61
QLineEdit*
le_blbound
;
62
QLineEdit*
le_density
;
63
QLineEdit*
le_densscn
;
64
QLineEdit*
le_amguess
;
65
QLineEdit*
le_ambound
;
66
QLineEdit*
le_extinct
;
67
QLineEdit*
le_extiscn
;
68
QLineEdit*
le_sigma
;
69
70
QRadioButton*
rb_mwfloat
;
71
QRadioButton*
rb_mwlock
;
72
QRadioButton*
rb_vbfloat
;
73
QRadioButton*
rb_vblock
;
74
QRadioButton*
rb_l1float
;
75
QRadioButton*
rb_l1lock
;
76
QRadioButton*
rb_l2float
;
77
QRadioButton*
rb_l2lock
;
78
QRadioButton*
rb_l3float
;
79
QRadioButton*
rb_l3lock
;
80
QRadioButton*
rb_l4float
;
81
QRadioButton*
rb_l4lock
;
82
QRadioButton*
rb_blfloat
;
83
QRadioButton*
rb_bllock
;
84
QRadioButton*
rb_amfloat
;
85
QRadioButton*
rb_amlock
;
86
87
QCheckBox*
ck_mwbound
;
88
QCheckBox*
ck_vbbound
;
89
QCheckBox*
ck_l1bound
;
90
QCheckBox*
ck_l2bound
;
91
QCheckBox*
ck_l3bound
;
92
QCheckBox*
ck_l4bound
;
93
QCheckBox*
ck_blbound
;
94
QCheckBox*
ck_ambound
;
95
QCheckBox*
ck_inclfit
;
96
97
QPushButton*
pb_vbar20
;
98
QPushButton*
pb_lnasc1
;
99
QPushButton*
pb_lnasc2
;
100
QPushButton*
pb_lnasc3
;
101
QPushButton*
pb_lnasc4
;
102
QPushButton*
pb_plenapp
;
103
QPushButton*
pb_density
;
104
QPushButton*
pb_densapp
;
105
QPushButton*
pb_extinct
;
106
QPushButton*
pb_extiapp
;
107
108
QwtCounter*
ct_grunpar
;
109
QwtCounter*
ct_lrunpar
;
110
QwtCounter*
ct_scansel
;
111
112
US_Help
showHelp
;
113
114
bool
send_signal
;
115
bool
chng_floats
;
116
117
private
slots:
118
void
scan_changed
(
double
);
119
void
global_comp_changed
(
double
);
120
void
local_comp_changed
(
double
);
121
void
update_sigma
(
void
);
122
void
update_floats
(
void
);
123
void
update_gvals
(
void
);
124
void
update_lvals
(
void
);
125
void
disconnect_global
(
void
);
126
void
disconnect_local
(
void
);
127
void
connect_global
(
void
);
128
void
connect_local
(
void
);
129
void
pathlen_applyto
(
void
);
130
void
density_applyto
(
void
);
131
void
extinct_applyto
(
void
);
132
void
set_vbar
(
void
);
133
void
set_density
(
void
);
134
void
assignVbar
(
US_Analyte
);
135
void
assignDensity
(
US_Buffer
);
136
QHBoxLayout*
radiobox
( QGridLayout*, QRadioButton*,
137
QGridLayout*, QRadioButton* );
138
void
selected
(
void
);
139
140
void
help
(
void
)
141
{
showHelp
.
show_help
(
"global_equil-modctrl.html"
); };
142
};
143
#endif
144
Generated on Sun Jun 21 2015 11:40:41 for UltraScan III by
1.8.3.1-20130324