UltraScan III
us_remove_distros.h
Go to the documentation of this file.
1 #ifndef US_RMVDISTR_H
3 #define US_RMVDISTR_H
4 
5 #include <QtGui>
6 
7 #include "us_extern.h"
8 #include "us_widgets_dialog.h"
9 #include "us_pseudo3d_combine.h"
10 #include "us_spectrodata.h"
11 #include "us_help.h"
12 #include <qwt_plot.h>
13 
15 
17 {
18  Q_OBJECT
19 
20  public:
24  US_RemoveDistros( QList< DisSys >&, QWidget* p = 0 );
25 
26  private:
27  QList< DisSys >& distros; // Reference to model distributions list
28 
29  int nd_orig; // Number of distributions in original
30  int nd_removed; // Number of total distributions removed
31  int nd_selected; // Number of currently selected distributions
32 
33  QGridLayout* mainLayout; //
34 
35  QStringList mdesc_orig; // List of descriptions from original
36  QStringList mdesc_list; // List of descriptions now listed
37 
38  QListWidget* lw_distrs; // List widget of distributions
39 
40  QTextEdit* te_status; // Status text box
41 
42  QPushButton* pb_restore; // Restore button
43  QPushButton* pb_remove; // Remove button
44  QPushButton* pb_help; // Help button
45  QPushButton* pb_cancel; // Cancel button
46  QPushButton* pb_accept; // Accept button
47 
48  protected:
50 
51  private slots:
52 
53  void selectionsChanged( void );
54  void remove ( void );
55  void restore ( void );
56  void accepted ( void );
57  void help ( void )
58  { showHelp.show_help( "pseudo3d_comb_rmv.html" ); };
59 };
60 #endif
61