#include "us_solution_gui.h"
Classes | |
class | SolutionInfo |
Signals | |
void | updateSolutionGuiSelection (US_Solution solution) |
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 | cancelSolutionGuiSelection (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_SolutionGui (int=1, int=1, bool=false, int=US_Disk_DB_Controls::Default, const US_Solution &=US_Solution(), bool=true) | |
Generic constructor for the US_SolutionGui class. To instantiate the class a calling function must provide a structure to contain all the data. More... | |
~US_SolutionGui () | |
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) |
void | accept (void) |
void | cancel (void) |
void | sel_investigator (void) |
void | assign_investigator (int) |
void | load (void) |
void | loadDisk (void) |
void | loadDB (void) |
void | loadSolutions (void) |
void | selectSolution (QListWidgetItem *) |
void | addAnalyte (void) |
void | assignAnalyte (US_Analyte) |
void | replaceAnalyte (US_Analyte) |
void | selectAnalyte (QListWidgetItem *) |
void | changeAnalyte (QListWidgetItem *) |
void | removeAnalyte (void) |
void | calcCommonVbar20 (void) |
void | selectBuffer (void) |
void | assignBuffer (US_Buffer) |
void | saveAmount (double) |
void | saveDescription (void) |
void | saveTemperature (const QString &) |
void | saveNotes (void) |
void | newSolution (void) |
void | save (bool=true) |
void | delete_solution (void) |
void | source_changed (bool) |
void | update_disk_db (bool) |
void | db_error (const QString &) |
void | help (void) |
Private Attributes | |
QList< SolutionInfo > | info |
int | investigatorID |
int | experimentID |
int | channelID |
bool | signal |
US_Solution | solution |
bool | autosave |
bool | changed |
QStringList | IDs |
QStringList | descriptions |
QStringList | GUIDs |
QStringList | filenames |
US_Help | showHelp |
QLabel * | lb_amount |
QLineEdit * | le_investigator |
QLineEdit * | le_bufferInfo |
QLineEdit * | le_solutionDesc |
QLineEdit * | le_commonVbar20 |
QLineEdit * | le_density |
QLineEdit * | le_viscosity |
QLineEdit * | le_storageTemp |
QLineEdit * | le_guid |
QwtCounter * | ct_amount |
QListWidget * | lw_solutions |
QListWidget * | lw_analytes |
QTextEdit * | te_notes |
US_Disk_DB_Controls * | disk_controls |
Radiobuttons for disk/db choice. More... | |
QPushButton * | pb_query |
QPushButton * | pb_buffer |
QPushButton * | pb_newSolution |
QPushButton * | pb_save |
QPushButton * | pb_del |
QPushButton * | pb_addAnalyte |
QPushButton * | pb_removeAnalyte |
QPushButton * | pb_accept |
QMap< QListWidgetItem *, int > | solutionMap |
QMap< QListWidgetItem *, int > | analyteMap |
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 the solution parameters, buffers, and analytes with a single cell / channel / wavelength combination in the experiment.
Definition at line 19 of file us_solution_gui.h.
US_SolutionGui::US_SolutionGui | ( | int | expID = 1 , |
int | chID = 1 , |
||
bool | signal_wanted = false , |
||
int | select_db_disk = US_Disk_DB_Controls::Default , |
||
const US_Solution & | dataIn = US_Solution() , |
||
bool | auto_save = true |
||
) |
Generic constructor for the US_SolutionGui class. To instantiate the class a calling function must provide a structure to contain all the data.
expID | An integer value that indicates the ID of the associated experiment |
chID | An integer value that indicates the ID of the channel used |
signal_wanted | A boolean value indicating whether the caller wants a signal to be emitted |
select_db_disk | Indicates whether the default search is on the local disk or in the DB |
dataIn | A reference to a structure that contains the currently selected c/c/w dataset. |
auto_save | A boolean value indicating whether the caller wants an automatic save at Accept. |
Definition at line 15 of file us_solution_gui.cpp.
|
inline |
A null destructor.
Definition at line 50 of file us_solution_gui.h.
|
privateslot |
Definition at line 350 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 639 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 415 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 659 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 902 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 857 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 394 of file us_solution_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 738 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 1165 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 1092 of file us_solution_gui.cpp.
|
inlineprivateslot |
Definition at line 163 of file us_solution_gui.h.
|
privateslot |
Definition at line 427 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 493 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 438 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 531 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 983 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 841 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 763 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 270 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 1002 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 933 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 951 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 972 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 965 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 403 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 719 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 882 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 557 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 1134 of file us_solution_gui.cpp.
|
privateslot |
Definition at line 1156 of file us_solution_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.
solution | A reference to a structure that contains the solution, buffer and analyte choices for a single c/c/w combination |
|
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 131 of file us_solution_gui.h.
|
private |
Definition at line 92 of file us_solution_gui.h.
|
private |
Definition at line 93 of file us_solution_gui.h.
|
private |
Definition at line 89 of file us_solution_gui.h.
|
private |
Definition at line 112 of file us_solution_gui.h.
|
private |
Definition at line 96 of file us_solution_gui.h.
|
private |
Radiobuttons for disk/db choice.
Definition at line 119 of file us_solution_gui.h.
|
private |
Definition at line 88 of file us_solution_gui.h.
|
private |
Definition at line 98 of file us_solution_gui.h.
|
private |
Definition at line 97 of file us_solution_gui.h.
|
private |
Definition at line 95 of file us_solution_gui.h.
|
private |
Definition at line 86 of file us_solution_gui.h.
|
private |
Definition at line 87 of file us_solution_gui.h.
|
private |
Definition at line 102 of file us_solution_gui.h.
|
private |
Definition at line 105 of file us_solution_gui.h.
|
private |
Definition at line 107 of file us_solution_gui.h.
|
private |
Definition at line 108 of file us_solution_gui.h.
|
private |
Definition at line 111 of file us_solution_gui.h.
|
private |
Definition at line 104 of file us_solution_gui.h.
|
private |
Definition at line 106 of file us_solution_gui.h.
|
private |
Definition at line 110 of file us_solution_gui.h.
|
private |
Definition at line 109 of file us_solution_gui.h.
|
private |
Definition at line 115 of file us_solution_gui.h.
|
private |
Definition at line 114 of file us_solution_gui.h.
|
private |
Definition at line 128 of file us_solution_gui.h.
|
private |
Definition at line 126 of file us_solution_gui.h.
|
private |
Definition at line 122 of file us_solution_gui.h.
|
private |
Definition at line 125 of file us_solution_gui.h.
|
private |
Definition at line 123 of file us_solution_gui.h.
|
private |
Definition at line 121 of file us_solution_gui.h.
|
private |
Definition at line 127 of file us_solution_gui.h.
|
private |
Definition at line 124 of file us_solution_gui.h.
|
private |
Definition at line 100 of file us_solution_gui.h.
|
private |
Definition at line 90 of file us_solution_gui.h.
|
private |
Definition at line 91 of file us_solution_gui.h.
|
private |
Definition at line 130 of file us_solution_gui.h.
|
private |
Definition at line 117 of file us_solution_gui.h.