#include "us_abstractrotor_gui.h"
Signals | |
void | use_db (bool DB) |
Public Member Functions | |
US_AbstractRotorGui (bool=false, int=US_Disk_DB_Controls::Default, US_Rotor::Rotor *=new US_Rotor::Rotor()) | |
Generic constructor for the US_AbstractRotorGui class used to add a new rotor. 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 | setupGui (int) |
void | reset (void) |
void | source_changed (bool) |
bool | loadAbstractRotors (void) |
void | showDetails (int) |
int | getIndex (void) |
void | select (void) |
void | connect_error (const QString &) |
void | help (void) |
Private Attributes | |
US_Rotor::Rotor * | currentRotor |
bool | signal |
QPushButton * | pb_help |
QPushButton * | pb_reset |
QPushButton * | pb_accept |
QPushButton * | pb_close |
QRadioButton * | rb_db |
QRadioButton * | rb_disk |
QLineEdit * | le_name |
QLineEdit * | le_serialNumber |
QComboBox * | cb_rotors |
QTextEdit * | te_details |
US_Disk_DB_Controls * | disk_controls |
Radiobuttons for disk/db choice. More... | |
QVector< US_Rotor::AbstractRotor > | abstractRotorList |
int | currentARIndex |
US_Help | showHelp |
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 an interface to the Rotor tables of USLIMS and allows the user to add, delete, vide and modify rotors in the database. This class is also used to pick rotors from the database for various Applications that need rotors.
Definition at line 22 of file us_abstractrotor_gui.h.
US_AbstractRotorGui::US_AbstractRotorGui | ( | bool | signal_wanted = false , |
int | select_db_disk = US_Disk_DB_Controls::Default , |
||
US_Rotor::Rotor * | dataIn = new US_Rotor::Rotor() |
||
) |
Generic constructor for the US_AbstractRotorGui class used to add a new rotor.
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 | The Rotor structure that will be added to the database |
Definition at line 13 of file us_abstractrotor_gui.cpp.
|
privateslot |
Definition at line 238 of file us_abstractrotor_gui.cpp.
|
privateslot |
Definition at line 190 of file us_abstractrotor_gui.cpp.
|
inlineprivateslot |
Definition at line 83 of file us_abstractrotor_gui.h.
|
privateslot |
Definition at line 137 of file us_abstractrotor_gui.cpp.
|
privateslot |
Definition at line 105 of file us_abstractrotor_gui.cpp.
|
privateslot |
Definition at line 215 of file us_abstractrotor_gui.cpp.
|
privateslot |
Definition at line 27 of file us_abstractrotor_gui.cpp.
|
privateslot |
Definition at line 245 of file us_abstractrotor_gui.cpp.
|
privateslot |
Definition at line 114 of file us_abstractrotor_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 68 of file us_abstractrotor_gui.h.
|
private |
Definition at line 62 of file us_abstractrotor_gui.h.
|
private |
Definition at line 69 of file us_abstractrotor_gui.h.
|
private |
Definition at line 48 of file us_abstractrotor_gui.h.
|
private |
Radiobuttons for disk/db choice.
Definition at line 66 of file us_abstractrotor_gui.h.
|
private |
Definition at line 59 of file us_abstractrotor_gui.h.
|
private |
Definition at line 60 of file us_abstractrotor_gui.h.
|
private |
Definition at line 53 of file us_abstractrotor_gui.h.
|
private |
Definition at line 54 of file us_abstractrotor_gui.h.
|
private |
Definition at line 51 of file us_abstractrotor_gui.h.
|
private |
Definition at line 52 of file us_abstractrotor_gui.h.
|
private |
Definition at line 56 of file us_abstractrotor_gui.h.
|
private |
Definition at line 57 of file us_abstractrotor_gui.h.
|
private |
Definition at line 71 of file us_abstractrotor_gui.h.
|
private |
Definition at line 49 of file us_abstractrotor_gui.h.
|
private |
Definition at line 64 of file us_abstractrotor_gui.h.