UltraScan III
us_select_runs.h
Go to the documentation of this file.
1 #ifndef US_SELECT_RUNS_H
3 #define US_SELECT_RUNS_H
4 
5 #include <QtGui>
6 
7 #include "us_extern.h"
8 #include "us_widgets_dialog.h"
9 #include "us_widgets.h"
10 #include "us_help.h"
11 #include "us_dataIO.h"
12 #include "us_db2.h"
13 
16 {
17  Q_OBJECT
18 
19  public:
20 
24 
25  US_SelectRuns( bool, QStringList& );
26 
27  signals:
30  void dkdb_changed( bool DB );
31 
32  private:
33  bool sel_db;
34 
35  QStringList& runIDs;
36 
38 
39  class RunDesc
40  {
41  public:
42  QString runID;
43  QString label;
44  QString date;
45  QString DB_id;
46  };
47 
48  QMap< QString, RunDesc > runmap;
49 
51  QStringList rlabels;
52 
53  QPushButton* pb_invest;
54 
55  QLineEdit* le_invest;
56  QLineEdit* le_dfilter;
57 
58  QLabel* lb_list;
59 
60  QTableWidget* tw_data;
61 
63 
64  QString dsearch;
65 
66  private slots:
67 
68  void scan_dbase_run ( void );
69  void scan_local_run ( void );
70  void build_runids ( void );
71  void list_data ( void );
72  void search ( const QString& );
73  void cancelled ( void );
74  void accepted ( void );
75  void get_person ( void );
76  void update_person ( int );
77  void update_disk_db ( bool );
78  void help ( void )
79  { showHelp.show_help( "select_runs.html" ); };
80 
81 };
82 #endif