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

#include "us_get_run.h"

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

Classes

class  RunInfo
 

Signals

void dkdb_changed (bool DB)
 A signal to tell the parent when the disk/db selection changes. More...
 

Public Member Functions

 US_GetRun (QString &, bool=true)
 Generic constructor for the US_GetRun dialog. 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 load_db (void)
 
void load_disk (void)
 
void sel_investigator (void)
 
void assign_investigator (int)
 
void select (void)
 
void deleteRun (void)
 
void populate_list (void)
 
void update_disk_db (bool)
 
void limit_data (const QString &)
 
void help (void)
 

Private Attributes

QString & runID
 
QPushButton * pb_invest
 
QLineEdit * le_invest
 
QLineEdit * le_search
 
QTableWidget * tw
 
QList< RunInforunInfo
 
US_Help showHelp
 
int personID
 
US_Disk_DB_Controlsdkdb_cntrls
 

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

This class creates a dialog with all the experimentIDs, dates last updated, runIDs and labels belonging to the current user displayed. When the user clicks the select button, the highlighted runID is passed back to the calling program.

Definition at line 18 of file us_get_run.h.

Constructor & Destructor Documentation

US_GetRun::US_GetRun ( QString &  run,
bool  inDB = true 
)

Generic constructor for the US_GetRun dialog.

Definition at line 12 of file us_get_run.cpp.

Member Function Documentation

void US_GetRun::assign_investigator ( int  invID)
privateslot

Definition at line 492 of file us_get_run.cpp.

void US_GetRun::deleteRun ( void  )
privateslot

Definition at line 257 of file us_get_run.cpp.

void US_GetRun::dkdb_changed ( bool  DB)
signal

A signal to tell the parent when the disk/db selection changes.

Parameters
DBTrue if DB is now selected
void US_GetRun::help ( void  )
inlineprivateslot

Definition at line 69 of file us_get_run.h.

void US_GetRun::limit_data ( const QString &  sfilt)
privateslot

Definition at line 426 of file us_get_run.cpp.

void US_GetRun::load_db ( void  )
privateslot

Definition at line 94 of file us_get_run.cpp.

void US_GetRun::load_disk ( void  )
privateslot

Definition at line 141 of file us_get_run.cpp.

void US_GetRun::populate_list ( void  )
privateslot

Definition at line 336 of file us_get_run.cpp.

void US_GetRun::sel_investigator ( void  )
privateslot

Definition at line 479 of file us_get_run.cpp.

void US_GetRun::select ( void  )
privateslot

Definition at line 247 of file us_get_run.cpp.

void US_GetRun::update_disk_db ( bool  isDB)
privateslot

Definition at line 402 of file us_get_run.cpp.

Member Data Documentation

US_Disk_DB_Controls* US_GetRun::dkdb_cntrls
private

Definition at line 57 of file us_get_run.h.

QLineEdit* US_GetRun::le_invest
private

Definition at line 48 of file us_get_run.h.

QLineEdit* US_GetRun::le_search
private

Definition at line 49 of file us_get_run.h.

QPushButton* US_GetRun::pb_invest
private

Definition at line 47 of file us_get_run.h.

int US_GetRun::personID
private

Definition at line 54 of file us_get_run.h.

QString& US_GetRun::runID
private

Definition at line 45 of file us_get_run.h.

QList< RunInfo > US_GetRun::runInfo
private

Definition at line 51 of file us_get_run.h.

US_Help US_GetRun::showHelp
private

Definition at line 52 of file us_get_run.h.

QTableWidget* US_GetRun::tw
private

Definition at line 50 of file us_get_run.h.


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