UltraScan III
us_table.h
Go to the documentation of this file.
1 #ifndef US_TABLE_H
2 #define US_TABLE_H
3 
4 #include <QtGui>
5 
6 #include "us_widgets_dialog.h"
7 #include "us_extern.h"
8 
12 
14 {
15  Q_OBJECT
16 
17  public:
18 
27 
28  US_Table( QMap< double, double >&, const QString&, bool&,
29  QWidget* = 0, Qt::WindowFlags = 0 );
30 
31  private:
32  QMap< double, double >& values;
33  bool changed;
34  QMap< double, double > local;
35  QListWidget* lw_table;
36 
37  QLineEdit* le_wl;
38  QLineEdit* le_value;
39 
40  void update ( void );
41 
42  private slots:
43  void done ( void );
44  void edited ( void );
45  void new_row ( void );
46  void delete_row( QListWidgetItem* );
47 };
48 #endif
49