UltraScan III
Namespaces
Classes
Files
File List
File Members
gui
us_model_editor.h
Go to the documentation of this file.
1
#ifndef US_MODEL_EDITOR_H
3
#define US_MODEL_EDITOR_H
4
5
#include <QtGui>
6
7
#include "
us_widgets_dialog.h
"
8
#include "
us_help.h
"
9
#include "
us_predict1.h
"
10
12
13
class
US_ModelEditor
:
public
US_WidgetsDialog
14
{
15
Q_OBJECT
16
17
public
:
21
US_ModelEditor
( ModelSystem&, QWidget* = 0,
22
Qt::WindowFlags = 0 );
23
24
private
:
25
US_Help
showhelp
;
26
27
int
component
;
28
int
shape
;
29
enum
{
PROLATE
,
OBLATE
,
ROD
,
SPHERE
};
30
31
QLabel*
lb_header
;
32
33
QLineEdit*
le_sed
;
34
QLineEdit*
le_diff
;
35
QLineEdit*
le_extinction
;
36
QLineEdit*
le_vbar
;
37
QLineEdit*
le_mw
;
38
QLineEdit*
le_f_f0
;
39
QLineEdit*
le_conc
;
40
QLineEdit*
le_c0
;
41
QLineEdit*
le_koff
;
42
QLineEdit*
le_keq
;
43
QLineEdit*
le_sigma
;
44
QLineEdit*
le_delta
;
45
QLineEdit*
le_stoich
;
46
47
QComboBox*
cmb_component1
;
48
QListWidget*
cmb_component2
;
49
50
QSpinBox*
sb_count
;
51
52
QPushButton*
pb_vbar
;
53
QPushButton*
pb_load_c0
;
54
55
QRadioButton*
rb_rod
;
56
QRadioButton*
rb_oblate
;
57
QRadioButton*
rb_sphere
;
58
QRadioButton*
rb_prolate
;
59
60
QString
c0_file
;
61
62
ModelSystem&
model
;
63
US_Hydrosim
simcomp
;
64
65
void
update_sD
(
void
);
66
bool
verify_model
(
void
);
67
void
error
(
const
QString& );
68
void
update_component
(
void
);
69
70
private
slots:
71
72
void
help
(
void
){
showhelp
.
show_help
(
"manual/astfem_component.html"
); };
73
74
void
update_shape
(
void
);
75
void
change_component1
(
int
);
76
void
change_spinbox
(
int
);
77
void
get_vbar
(
void
);
78
void
simulate_component
(
void
);
79
80
void
select_shape
(
int
);
81
void
load_c0
(
void
);
82
void
load_model
(
void
);
83
void
save_model
(
void
);
84
void
accept_model
(
void
);
85
86
void
update_sed
(
const
QString& );
87
void
update_diff
(
const
QString& );
88
void
update_extinction
(
const
QString& );
89
void
update_vbar
(
const
QString& );
90
void
update_vbar
(
double
);
91
void
update_mw
(
const
QString& );
92
void
update_f_f0
(
const
QString& );
93
void
update_conc
(
const
QString& );
94
void
update_keq
(
const
QString& );
95
void
update_koff
(
const
QString& );
96
void
update_sigma
(
const
QString& );
97
void
update_delta
(
const
QString& );
98
};
99
#endif
Generated on Sun Jun 21 2015 11:40:42 for UltraScan III by
1.8.3.1-20130324