#include "us_experiment_gui.h"
Signals | |
void | updateExpInfoSelection (US_Experiment &expInfo) |
The signal that is emitted when the user chooses to accept the current choices. This information is passed back to the calling function. More... | |
void | cancelExpInfoSelection (void) |
The signal that is emitted when the user chooses to cancel the current selection. In this case all previously-entered experiment parameter associations are erased. More... | |
void | use_db (bool DB) |
Public Member Functions | |
US_ExperimentGui (bool=false, const US_Experiment &=US_Experiment(), int=US_Disk_DB_Controls::Default) | |
Generic constructor for the US_ExperimentGui class. To instantiate the class a calling function must provide a structure to contain all the data. More... | |
~US_ExperimentGui () | |
A null destructor. More... | |
Public Member Functions inherited from US_WidgetsDialog | |
US_WidgetsDialog (QWidget *, Qt::WindowFlags) | |
QLabel * | us_label (const QString &, int=0, int=QFont::Bold) |
QLabel * | us_textlabel (const QString &, int=-1, int=QFont::Bold) |
QLabel * | us_banner (const QString &, int=0, int=QFont::Bold) |
QPushButton * | us_pushbutton (const QString &, bool=true, int=0) |
QTextEdit * | us_textedit (void) |
QLineEdit * | us_lineedit (const QString &=0, int=0, bool=false) |
void | us_setReadOnly (QLineEdit *, bool=true) |
void | us_setReadOnly (QTextEdit *, bool=true) |
QListWidget * | us_listwidget (int=0) |
QGridLayout * | us_checkbox (const QString &, QCheckBox *&, bool=false) |
QGridLayout * | us_radiobutton (const QString &text, QRadioButton *&rb, bool state=false) |
QProgressBar * | us_progressBar (int, int, int=0) |
QComboBox * | us_comboBox (void) |
QLCDNumber * | us_lcd (int, int=0) |
QwtCounter * | us_counter (int, double, double, double=0.0) |
QwtPlot * | us_plot (const QString &, const QString &=QString(), const QString &=QString()) |
QwtPlotGrid * | us_grid (QwtPlot *) |
QwtPlotCurve * | us_curve (QwtPlot *, const QString &) |
QwtPlotPicker * | us_picker (QwtPlot *) |
QTabWidget * | us_tabwidget (int=0, int=QFont::Bold) |
Private Slots | |
void | reset (void) |
bool | load (void) |
void | reload (void) |
void | syncHardware (void) |
void | selectInvestigator (void) |
void | assignInvestigator (int) |
void | getInvestigatorInfo (void) |
void | source_changed (bool) |
void | update_disk_db (bool) |
void | selectProject (void) |
void | assignProject (US_Project &) |
void | cancelProject (void) |
void | saveLabel (void) |
QComboBox * | us_expTypeComboBox (void) |
void | setInstrumentList (void) |
void | setOperatorList (void) |
void | change_instrument (int) |
void | selectRotor (void) |
void | assignRotor (US_Rotor::Rotor &, US_Rotor::RotorCalibration &) |
void | cancelRotor (void) |
void | accept (void) |
void | cancel (void) |
void | connect_error (const QString &) |
void | help (void) |
Private Attributes | |
US_Experiment | expInfo |
QVector< US_Rotor::Lab > | labList |
int | currentLab |
int | currentInstrument |
bool | lab_changed |
bool | signal |
US_Disk_DB_Controls * | disk_controls |
Radiobuttons for disk/db choice. More... | |
US_Help | showHelp |
QStringList | experimentTypes |
QComboBox * | cb_expType |
US_SelectBox * | cb_instrument |
US_SelectBox * | cb_operator |
QLineEdit * | le_investigator |
QLineEdit * | le_runID |
QLineEdit * | le_project |
QLineEdit * | le_runTemp |
QLineEdit * | le_label |
QLineEdit * | le_rotorDesc |
QTextEdit * | te_comment |
QListWidget * | lw_rotorSpeeds |
QPushButton * | pb_project |
QPushButton * | pb_rotor |
QPushButton * | pb_accept |
Additional Inherited Members | |
Public Attributes inherited from US_WidgetsDialog | |
US_Global | g |
Connect to global memory and make the values accessible. More... | |
QPalette | vlgray |
Very light gray palette for read-only line edits. More... | |
This class provides the ability to associate raw data with the relevant experiment parameters, such as the lab, instrument, and rotor on which the experiment was run.
Definition at line 21 of file us_experiment_gui.h.
US_ExperimentGui::US_ExperimentGui | ( | bool | signal_wanted = false , |
const US_Experiment & | dataIn = US_Experiment() , |
||
int | select_db_disk = US_Disk_DB_Controls::Default |
||
) |
Generic constructor for the US_ExperimentGui class. To instantiate the class a calling function must provide a structure to contain all the data.
signal_wanted | A boolean value indicating whether the caller wants a signal to be emitted |
dataIn | A reference to a structure that contains previously selected experiment data, if any. |
select_db_disk | Indicates whether the default search is on the local disk or in the DB |
Definition at line 15 of file us_experiment_gui.cpp.
|
inline |
A null destructor.
Definition at line 42 of file us_experiment_gui.h.
|
privateslot |
Definition at line 725 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 428 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 514 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 698 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 774 of file us_experiment_gui.cpp.
|
signal |
The signal that is emitted when the user chooses to cancel the current selection. In this case all previously-entered experiment parameter associations are erased.
|
privateslot |
Definition at line 521 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 720 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 650 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 782 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 436 of file us_experiment_gui.cpp.
|
inlineprivateslot |
Definition at line 122 of file us_experiment_gui.h.
|
privateslot |
Definition at line 301 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 372 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 219 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 527 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 417 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 485 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 666 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 557 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 597 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 459 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 413 of file us_experiment_gui.cpp.
|
privateslot |
Definition at line 477 of file us_experiment_gui.cpp.
|
signal |
The signal that is emitted when the user chooses to accept the current choices. This information is passed back to the calling function.
expInfo | A reference to a structure that contains all the current experiment data |
|
privateslot |
Definition at line 539 of file us_experiment_gui.cpp.
|
signal |
A signal to indicate that the current disk/db selection has changed. /param DB True if DB is the new selection
|
private |
Definition at line 79 of file us_experiment_gui.h.
|
private |
Definition at line 81 of file us_experiment_gui.h.
|
private |
Definition at line 82 of file us_experiment_gui.h.
|
private |
Definition at line 70 of file us_experiment_gui.h.
|
private |
Definition at line 69 of file us_experiment_gui.h.
|
private |
Radiobuttons for disk/db choice.
Definition at line 74 of file us_experiment_gui.h.
|
private |
Definition at line 78 of file us_experiment_gui.h.
|
private |
Definition at line 67 of file us_experiment_gui.h.
|
private |
Definition at line 71 of file us_experiment_gui.h.
|
private |
Definition at line 68 of file us_experiment_gui.h.
|
private |
Definition at line 84 of file us_experiment_gui.h.
|
private |
Definition at line 88 of file us_experiment_gui.h.
|
private |
Definition at line 86 of file us_experiment_gui.h.
|
private |
Definition at line 89 of file us_experiment_gui.h.
|
private |
Definition at line 85 of file us_experiment_gui.h.
|
private |
Definition at line 87 of file us_experiment_gui.h.
|
private |
Definition at line 92 of file us_experiment_gui.h.
|
private |
Definition at line 96 of file us_experiment_gui.h.
|
private |
Definition at line 94 of file us_experiment_gui.h.
|
private |
Definition at line 95 of file us_experiment_gui.h.
|
private |
Definition at line 76 of file us_experiment_gui.h.
|
private |
Definition at line 72 of file us_experiment_gui.h.
|
private |
Definition at line 90 of file us_experiment_gui.h.