UltraScan III
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 
22 {
23  Q_OBJECT
24 
25  public:
26 
37  US_ExperimentGui( bool = false,
38  const US_Experiment& = US_Experiment(),
40 
43 
44  signals:
45 
54 
60  void cancelExpInfoSelection( void );
61 
64  void use_db( bool DB );
65 
66  private:
68  QVector< US_Rotor::Lab > labList;
72  bool signal;
73 
75 
77 
78  QStringList experimentTypes;
79  QComboBox* cb_expType;
80 
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 );
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