UltraScan III
us_select_lambdas.h
Go to the documentation of this file.
1 #ifndef US_SELECT_LAMBDAS_H
2 #define US_SELECT_LAMBDAS_H
3 
4 #include <QtGui>
5 
6 #include "us_extern.h"
7 #include "us_widgets_dialog.h"
8 #include "us_help.h"
9 
10 #ifndef DbgLv
11 #define DbgLv(a) if(dbg_level>=a)qDebug()
12 #endif
13 
15 {
16  Q_OBJECT
17 
18  public:
19  US_SelectLambdas( QVector< int > );
20 
21  signals:
22  void new_lambda_list( QVector< int > );
23 
24  private:
25  QLineEdit* le_original;
26  QLineEdit* le_selected;
27 
28  QListWidget* lw_original;
29  QListWidget* lw_selected;
30 
31  QPushButton* pb_add;
32  QPushButton* pb_remove;
33  QPushButton* pb_accept;
34 
35  int dbg_level;
36  int nbr_orig;
38 
39  QVector< int > original;
40  QVector< int > selected;
41 
43 
44  private slots:
45  void add_selections( void );
46  void rmv_selections( void );
47  void cancel ( void );
48  void done ( void );
49  void reset ( void );
50  void help ( void )
51  { showHelp.show_help( "manual/edit_select_lambdas.html" ); };
52 };
53 #endif