A dialog class to select a model and load its distribution data.
More...
#include "us_mrecs_loader.h"
|
| US_MrecsLoader (bool, QString &, VEC_MRECS &, QString &, const QString="", const QString="") |
| Main constructor for dialog to select a model records entry and load its mrecs data. More...
|
|
| 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) |
|
|
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...
|
|
A dialog class to select a model and load its distribution data.
Definition at line 19 of file us_mrecs_loader.h.
US_MrecsLoader::US_MrecsLoader |
( |
bool |
dbSrc, |
|
|
QString & |
search, |
|
|
VEC_MRECS & |
amrecs, |
|
|
QString & |
adescr, |
|
|
const QString |
eGUID = "" , |
|
|
const QString |
arunID = "" |
|
) |
| |
Main constructor for dialog to select a model records entry and load its mrecs data.
- Parameters
-
dbSrc | Flag: default models source to database |
search | List search filter string |
amrecs | Output loaded mrecs vector |
adescr | Output selected model description string |
eGUID | Edit GUID for filtering on Edit children |
arunID | Run ID for limiting local file directory |
Definition at line 14 of file us_mrecs_loader.cpp.
void US_MrecsLoader::accepted |
( |
void |
| ) |
|
|
privateslot |
void US_MrecsLoader::cancelled |
( |
void |
| ) |
|
|
privateslot |
void US_MrecsLoader::change_edit |
( |
bool |
ckedit | ) |
|
|
privateslot |
QString US_MrecsLoader::concat_description |
( |
int |
index | ) |
|
|
privateslot |
Get a description of the mrecs at a given index.
- Parameters
-
index | Index in list of mrecs entries loaded (0,...,count-1) |
- Returns
- QString that concatenates MrecsDesc information. First character is separator. Remaining fields in the string, available with QString::section(), are: 1,1 - Description string; 2,2 - Mrecs file name (empty if from db); 3,3 - GUID of mrecs; 4,4 - db ID (-1 if from disk). 5,5 - GUID of related Edit;
Definition at line 242 of file us_mrecs_loader.cpp.
void US_MrecsLoader::delete_mrecs |
( |
void |
| ) |
|
|
privateslot |
void US_MrecsLoader::help |
( |
void |
| ) |
|
|
inlineprivateslot |
void US_MrecsLoader::list_vmrecs |
( |
void |
| ) |
|
|
privateslot |
int US_MrecsLoader::load_mrecs |
( |
VEC_MRECS & |
mrecs, |
|
|
int |
index |
|
) |
| |
|
privateslot |
Load mrecs at a given index.
- Parameters
-
mrecs | Mrecs to load from given index |
index | Index in list of models to load (0,...,count-1) |
- Returns
- status flag for load
Definition at line 113 of file us_mrecs_loader.cpp.
int US_MrecsLoader::mrecsIndex |
( |
QString |
mdesc, |
|
|
QList< MrecsDesc > |
mds |
|
) |
| |
|
privateslot |
void US_MrecsLoader::msearch |
( |
const QString & |
search_string | ) |
|
|
privateslot |
void US_MrecsLoader::row_selected |
( |
int |
row | ) |
|
|
privateslot |
void US_MrecsLoader::show_mrecs_info |
( |
void |
| ) |
|
|
privateslot |
bool US_MrecsLoader::can_edit |
|
private |
QCheckBox* US_MrecsLoader::ck_edit |
|
private |
QCheckBox* US_MrecsLoader::ck_unasgn |
|
private |
int US_MrecsLoader::db_id1 |
|
private |
int US_MrecsLoader::db_id2 |
|
private |
bool US_MrecsLoader::do_edit |
|
private |
bool US_MrecsLoader::do_unasgn |
|
private |
QString& US_MrecsLoader::dsearch |
|
private |
QString US_MrecsLoader::editGUID |
|
private |
QLineEdit* US_MrecsLoader::le_mfilter |
|
private |
bool US_MrecsLoader::loadDB |
|
private |
QStringList US_MrecsLoader::mdescrs |
|
private |
QString US_MrecsLoader::mrdesc |
|
private |
QList< MrecsDesc > US_MrecsLoader::mrecs_descriptions |
|
private |
QList< MrecsDesc > US_MrecsLoader::mrecs_descrs_recs |
|
private |
QString& US_MrecsLoader::odescr |
|
private |
QPushButton* US_MrecsLoader::pb_accept |
|
private |
QPushButton* US_MrecsLoader::pb_delete |
|
private |
QPushButton* US_MrecsLoader::pb_details |
|
private |
QPushButton* US_MrecsLoader::pb_filtvmrecs |
|
private |
QString US_MrecsLoader::reqGUID |
|
private |
QString US_MrecsLoader::runID |
|
private |
int US_MrecsLoader::sel_row |
|
private |
The documentation for this class was generated from the following files: