UltraScan III
us_adv_analysis_2d.h
Go to the documentation of this file.
1 #ifndef US_ADV_ANALYSIS_H
3 #define US_ADV_ANALYSIS_H
4 
5 #include <QtGui>
6 
7 #include "us_extern.h"
8 #include "us_widgets_dialog.h"
9 #include "us_2dsa_process.h"
10 #include "us_plot.h"
11 #include "us_help.h"
12 
14 
16 {
17  Q_OBJECT
18 
19  public:
24  US_AdvAnalysis2D( US_SimulationParameters*, bool&, QWidget* p = 0 );
25 
26  public slots:
27  void get_parameters( int&, double&, double&, double&,
28  US_Model&, bool&, double& );
29 
30  private:
32  bool& loadDB;
34 
35  int ncsteps;
36  int nctotal;
37 
38  QHBoxLayout* mainLayout;
39  QGridLayout* optimizeLayout;
40  QGridLayout* simparmsLayout;
41 
42  QWidget* parentw;
43 
44  QwtCounter* ct_menisrng;
45  QwtCounter* ct_menispts;
46  QwtCounter* ct_mciters;
47  QwtCounter* ct_repetloc;
48  QwtCounter* ct_scfactor;
49  QwtCounter* ct_scfact2;
50  QwtCounter* ct_repetran;
51  QwtCounter* ct_stddevia;
52  QwtCounter* ct_coaldist;
53  QwtCounter* ct_nbrclips;
54  QwtCounter* ct_regufact;
55  QwtCounter* ct_bandload;
56  QwtCounter* ct_spoints;
57 
58  QCheckBox* ck_unifgr;
59  QCheckBox* ck_locugr;
60  QCheckBox* ck_ranlgr;
61  QCheckBox* ck_soluco;
62  QCheckBox* ck_clipcs;
63  QCheckBox* ck_menisc;
64  QCheckBox* ck_mcarlo;
65  QCheckBox* ck_regulz;
66  QCheckBox* ck_mdgrid;
67  QCheckBox* ck_mdrati;
68 
69  QPushButton* pb_ldmodel;
70  QPushButton* pb_accept;
71 
72  QRadioButton* rb_stndcp;
73  QRadioButton* rb_bandcp;
74 
75  QComboBox* cmb_mesh;
76  QComboBox* cmb_moving;
77 
78  protected:
80 
81  private slots:
82  void optimize_options( void );
83  void uncheck_optimize( int );
84  void checkBandForm( bool );
85  void checkUniGrid ( bool );
86  void checkLocalUni( bool );
87  void checkRandLoc ( bool );
88  void checkSoluCoal( bool );
89  void checkClipLow ( bool );
90  void checkMdGrid ( bool );
91  void checkMdRatios( bool );
92  void checkMeniscus( bool );
93  void checkMonteCar( bool );
94  void checkRegular ( bool );
95  void select ( void );
96  void load_model ( void );
97 
98  void help ( void )
99  { showHelp.show_help( "2dsa_advan.html" ); };
100 };
101 #endif
102