UltraScan III
us_get_dbrun_ra.h
Go to the documentation of this file.
1 #ifndef US_GET_DBRUN_H
3 #define US_GET_DBRUN_H
4 
5 #include <QtGui>
6 
7 #include "us_extern.h"
8 #include "us_widgets_dialog.h"
9 
17 {
18  Q_OBJECT
19 
20  public:
22  // \param r Where the selected runID will be stored
23  US_GetDBRunRa( QString& );
24 
27  class RunInfo
28  {
29  public:
30  int ID;
31  QString date;
32  QString runID;
33  QString label;
34  };
35 
36  private:
37  QTableWidget* tw;
38  QString& runID;
39  QList< RunInfo > runInfo;
40 
41  bool loadData ( void );
42 
43  private slots:
44  void columnClicked ( int );
45  void select ( void );
46  void deleteRun ( void );
47 };
48 #endif