UltraScan III
List of all members | Classes | Signals | Public Member Functions | Private Slots | Private Attributes
US_SelectEdits Class Reference

A dialog class to select edit IDs of runs for models,noises pre-filter. More...

#include "us_select_edits.h"

Inheritance diagram for US_SelectEdits:
Inheritance graph
[legend]
Collaboration diagram for US_SelectEdits:
Collaboration graph
[legend]

Classes

class  EditDesc
 < description of each edit set in the list presented More...
 

Signals

void dkdb_changed (bool DB)
 A signal to the parent that disk/db selectin has changed. More...
 

Public Member Functions

 US_SelectEdits (bool, QStringList &)
 Main constructor for dialog to select edits(s) 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 scan_dbase_edit (void)
 
void scan_local_edit (void)
 
void build_runids (void)
 
void list_data (void)
 
void search (const QString &)
 
void cancelled (void)
 
void accepted (void)
 
void get_person (void)
 
void update_person (int)
 
void update_disk_db (bool)
 
void help (void)
 

Private Attributes

bool sel_db
 Select-database flag. More...
 
QStringList & editIDs
 Selected edit IDs (GUIDs for local) More...
 
US_Help showHelp
 
QMap< QString, EditDesceditmap
 map of labels,data-desc-objs More...
 
QMap< QString, EditDescrunmap
 map of runids,data-desc-objs More...
 
EditDesc edesc
 Current selected data's description. More...
 
QStringList elabels
 Keys for editmap. More...
 
QStringList rlabels
 RunIDs in editmap. More...
 
QPushButton * pb_invest
 Investigator button. More...
 
QLineEdit * le_invest
 Investigator id:name text entry. More...
 
QLineEdit * le_dfilter
 Data search filter text entry. More...
 
QLabel * lb_list
 Label at top of data list. More...
 
QTableWidget * tw_data
 Data table list widget. More...
 
US_Disk_DB_Controlsdkdb_cntrls
 Disk/DB controls. More...
 
QString dsearch
 Current data search string. More...
 

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...
 

Detailed Description

A dialog class to select edit IDs of runs for models,noises pre-filter.

Definition at line 15 of file us_select_edits.h.

Constructor & Destructor Documentation

US_SelectEdits::US_SelectEdits ( bool  dbase,
QStringList &  edIDs 
)

Main constructor for dialog to select edits(s)

Parameters
dbaseFlag: Data source is database
edIDsA reference to a list of selected editIDs

Definition at line 17 of file us_select_edits.cpp.

Member Function Documentation

void US_SelectEdits::accepted ( void  )
privateslot

Definition at line 216 of file us_select_edits.cpp.

void US_SelectEdits::build_runids ( void  )
privateslot

Definition at line 481 of file us_select_edits.cpp.

void US_SelectEdits::cancelled ( void  )
privateslot

Definition at line 208 of file us_select_edits.cpp.

void US_SelectEdits::dkdb_changed ( bool  DB)
signal

A signal to the parent that disk/db selectin has changed.

Parameters
DBTrue if DB source is now selected
void US_SelectEdits::get_person ( void  )
privateslot

Definition at line 521 of file us_select_edits.cpp.

void US_SelectEdits::help ( void  )
inlineprivateslot

Definition at line 82 of file us_select_edits.h.

void US_SelectEdits::list_data ( void  )
privateslot

Definition at line 152 of file us_select_edits.cpp.

void US_SelectEdits::scan_dbase_edit ( void  )
privateslot

Definition at line 262 of file us_select_edits.cpp.

void US_SelectEdits::scan_local_edit ( void  )
privateslot

Definition at line 346 of file us_select_edits.cpp.

void US_SelectEdits::search ( const QString &  search_string)
privateslot

Definition at line 106 of file us_select_edits.cpp.

void US_SelectEdits::update_disk_db ( bool  isDB)
privateslot

Definition at line 542 of file us_select_edits.cpp.

void US_SelectEdits::update_person ( int  ID)
privateslot

Definition at line 533 of file us_select_edits.cpp.

Member Data Documentation

US_Disk_DB_Controls* US_SelectEdits::dkdb_cntrls
private

Disk/DB controls.

Definition at line 66 of file us_select_edits.h.

QString US_SelectEdits::dsearch
private

Current data search string.

Definition at line 68 of file us_select_edits.h.

EditDesc US_SelectEdits::edesc
private

Current selected data's description.

Definition at line 53 of file us_select_edits.h.

QStringList& US_SelectEdits::editIDs
private

Selected edit IDs (GUIDs for local)

Definition at line 35 of file us_select_edits.h.

QMap< QString, EditDesc > US_SelectEdits::editmap
private

map of labels,data-desc-objs

Definition at line 50 of file us_select_edits.h.

QStringList US_SelectEdits::elabels
private

Keys for editmap.

Definition at line 54 of file us_select_edits.h.

QLabel* US_SelectEdits::lb_list
private

Label at top of data list.

Definition at line 62 of file us_select_edits.h.

QLineEdit* US_SelectEdits::le_dfilter
private

Data search filter text entry.

Definition at line 60 of file us_select_edits.h.

QLineEdit* US_SelectEdits::le_invest
private

Investigator id:name text entry.

Definition at line 59 of file us_select_edits.h.

QPushButton* US_SelectEdits::pb_invest
private

Investigator button.

Definition at line 57 of file us_select_edits.h.

QStringList US_SelectEdits::rlabels
private

RunIDs in editmap.

Definition at line 55 of file us_select_edits.h.

QMap< QString, EditDesc > US_SelectEdits::runmap
private

map of runids,data-desc-objs

Definition at line 51 of file us_select_edits.h.

bool US_SelectEdits::sel_db
private

Select-database flag.

Definition at line 33 of file us_select_edits.h.

US_Help US_SelectEdits::showHelp
private

Definition at line 37 of file us_select_edits.h.

QTableWidget* US_SelectEdits::tw_data
private

Data table list widget.

Definition at line 64 of file us_select_edits.h.


The documentation for this class was generated from the following files: