UltraScan III
us_adv_dmgamc.h
Go to the documentation of this file.
1 #ifndef US_ADV_DMGA_H
3 #define US_ADV_DMGA_H
4 
5 #include <QtGui>
6 
7 #include "us_extern.h"
8 #include "us_widgets_dialog.h"
9 #include "us_model.h"
10 #include "us_plot.h"
11 #include "us_help.h"
12 #include <qwt_plot.h>
13 
15 
17 {
18  Q_OBJECT
19 
20  public:
26  US_AdvDmgaMc( US_Model*, QVector< US_Model >&,
27  QMap< QString, QString>&, QWidget* p = 0 );
28 
29  private:
31  QVector< US_Model >& imodels;
32  QMap< QString, QString >& parmap;
34 
35  QStringList ls_params;
36 
37  QString lddesc;
38  int ncomp;
39 
40  QVBoxLayout* mainLayout;
41 
42  QGridLayout* paramLayout;
43  QGridLayout* lo_mean;
44  QGridLayout* lo_median;
45  QGridLayout* lo_mode;
46  QGridLayout* lo_curmod;
47 
49  QwtPlot* data_plot;
50 
51  QWidget* parentw;
52 
53  QPushButton* pb_nextmodel;
54  QPushButton* pb_reaction;
55 
56  QLabel* lb_ms_iter;
57 
58  QwtCounter* ct_modelnbr;
59 
60  QLineEdit* le_modtype;
61  QLineEdit* le_kdissoc;
62  QLineEdit* le_koffrate;
63  QLineEdit* le_sedcoeff;
64  QLineEdit* le_difcoeff;
65  QLineEdit* le_moweight;
66  QLineEdit* le_friratio;
67  QLineEdit* le_vbar20;
68  QLineEdit* le_partconc;
69  QLineEdit* le_ms_mean;
70  QLineEdit* le_ms_95lo;
71  QLineEdit* le_ms_95hi;
72  QLineEdit* le_ms_medi;
73  QLineEdit* le_ms_mode;
74  QLineEdit* le_ms_iter;
75 
76  QRadioButton* rb_mean;
77  QRadioButton* rb_median;
78  QRadioButton* rb_mode;
79  QRadioButton* rb_curmod;
80 
81  QComboBox* cb_params;
82 
83  protected:
85 
86  private slots:
87 
88  void done ( void );
89  void next_model ( void );
90  void change_model ( double );
91  void set_model_type( bool );
92  void plot_distrib ( void );
93  void next_param ( void );
94  void prev_param ( void );
95  void simulate ( void );
96  void help ( void )
97  { showHelp.show_help( "fem_adv_dmgamc.html" ); };
98 };
99 #endif
100