UltraScan III
Namespaces
Classes
Files
File List
File Members
programs
us_convert
us_experiment_gui.h
Go to the documentation of this file.
1
#ifndef US_EXPERIMENT_GUI_H
3
#define US_EXPERIMENT_GUI_H
4
5
#include "
us_widgets_dialog.h
"
6
#include "
us_widgets.h
"
7
#include "
us_extern.h
"
8
#include "
us_help.h
"
9
#include "
us_convert.h
"
10
#include "
us_experiment.h
"
11
#include "
us_selectbox.h
"
12
#include "
us_project.h
"
13
#include "
us_rotor.h
"
14
21
class
US_ExperimentGui
:
public
US_WidgetsDialog
22
{
23
Q_OBJECT
24
25
public
:
26
37
US_ExperimentGui
(
bool
=
false
,
38
const
US_Experiment
& =
US_Experiment
(),
39
int
=
US_Disk_DB_Controls::Default
);
40
42
~US_ExperimentGui
() {};
43
44
signals:
45
53
void
updateExpInfoSelection
(
US_Experiment
&
expInfo
);
54
60
void
cancelExpInfoSelection
(
void
);
61
64
void
use_db
(
bool
DB );
65
66
private
:
67
US_Experiment
expInfo
;
68
QVector< US_Rotor::Lab >
labList
;
69
int
currentLab
;
70
int
currentInstrument
;
71
bool
lab_changed
;
72
bool
signal
;
73
74
US_Disk_DB_Controls
*
disk_controls
;
75
76
US_Help
showHelp
;
77
78
QStringList
experimentTypes
;
79
QComboBox*
cb_expType
;
80
81
US_SelectBox
*
cb_instrument
;
82
US_SelectBox
*
cb_operator
;
83
84
QLineEdit*
le_investigator
;
85
QLineEdit*
le_runID
;
86
QLineEdit*
le_project
;
87
QLineEdit*
le_runTemp
;
88
QLineEdit*
le_label
;
89
QLineEdit*
le_rotorDesc
;
90
QTextEdit*
te_comment
;
91
92
QListWidget*
lw_rotorSpeeds
;
93
94
QPushButton*
pb_project
;
95
QPushButton*
pb_rotor
;
96
QPushButton*
pb_accept
;
97
98
private
slots:
99
void
reset
(
void
);
100
bool
load
(
void
);
101
void
reload
(
void
);
102
void
syncHardware
(
void
);
103
void
selectInvestigator
(
void
);
104
void
assignInvestigator
(
int
);
105
void
getInvestigatorInfo
(
void
);
106
void
source_changed
(
bool
);
107
void
update_disk_db
(
bool
);
108
void
selectProject
(
void
);
109
void
assignProject
(
US_Project
& );
110
void
cancelProject
(
void
);
111
void
saveLabel
(
void
);
112
QComboBox*
us_expTypeComboBox
(
void
);
113
void
setInstrumentList
(
void
);
114
void
setOperatorList
(
void
);
115
void
change_instrument
(
int
);
116
void
selectRotor
(
void
);
117
void
assignRotor
(
US_Rotor::Rotor
&,
US_Rotor::RotorCalibration
& );
118
void
cancelRotor
(
void
);
119
void
accept
(
void
);
120
void
cancel
(
void
);
121
void
connect_error
(
const
QString& );
122
void
help
(
void
)
123
{
showHelp
.
show_help
(
"manual/convert-experiment.html"
); };
124
};
125
#endif
Generated on Sun Jun 21 2015 11:40:42 for UltraScan III by
1.8.3.1-20130324