UltraScan III
us_plot_control_fem.h
Go to the documentation of this file.
1 #ifndef US_PLOT_CONTROL_H
3 #define US_PLOT_CONTROL_H
4 
5 #include <QtGui>
6 
7 #include "us_extern.h"
8 #include "us_widgets_dialog.h"
9 #include "us_resplot_fem.h"
10 #include "us_plot3d.h"
11 #include "us_model.h"
12 #include "us_plot.h"
13 #include "us_help.h"
14 
16 
18 {
19  Q_OBJECT
20 
21  public:
25  US_PlotControlFem( QWidget* p = 0, US_Model* = 0 );
26 
29  QWidget* caller( void );
30 
32  void do_3dplot( void );
33 
35  QGLWidget* data_3dplot( void );
36 
38  US_Plot3D* widget_3dplot( void );
39 
40  private:
41  QVBoxLayout* mainLayout;
42  QGridLayout* controlsLayout;
43  QHBoxLayout* buttonsLayout;
44 
45  QwtCounter* ct_rxscale;
46  QwtCounter* ct_ryscale;
47 
48  QVector< QCheckBox* > xCheck;
49  QVector< QCheckBox* > yCheck;
50 
51  QWidget* wparent;
52  QPointer< US_Plot3D > plot3d_w;
54 
55  double zscale;
56  double gridres;
57  double pksmooth;
58  double pkwidth;
59 
60  protected:
62 
63  private slots:
64  void xmwtCheck( bool );
65  void ymwtCheck( bool );
66  void xsedCheck( bool );
67  void ysedCheck( bool );
68  void xdifCheck( bool );
69  void ydifCheck( bool );
70  void xfcoCheck( bool );
71  void yfcoCheck( bool );
72  void xfraCheck( bool );
73  void yfraCheck( bool );
74  void xvbaCheck( bool );
75  void yvbaCheck( bool );
76  void checkSet( bool, bool, int );
77  void zscal_value( double );
78  void gridr_value( double );
79  void peaks_value( double );
80  void peakw_value( double );
81  void plot3_btn( void );
82  void close_all( void );
83  int dimensionType( QVector< QCheckBox* >& );
84 
85  void help ( void )
86  { showHelp.show_help( "fe_match_controls.html" ); };
87 };
88 #endif
89