UltraScan III
us_plot_control_2d.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_plot3d.h"
10 #include "us_model.h"
11 #include "us_plot.h"
12 #include "us_help.h"
13 
15 
17 {
18  Q_OBJECT
19 
20  public:
24  US_PlotControl2D( QWidget* p = 0, US_Model* = 0 );
25 
26  private:
27 
28  QVBoxLayout* mainLayout;
29  QGridLayout* controlsLayout;
30  QHBoxLayout* buttonsLayout;
31 
32  QwtCounter* ct_rxscale;
33  QwtCounter* ct_ryscale;
34 
35  QVector< QCheckBox* > xCheck;
36  QVector< QCheckBox* > yCheck;
37 
38  QPointer< US_Plot3D > plot3d_w;
40 
41  double zscale;
42  double gridres;
43  double pksmooth;
44  double pkwidth;
45 
46  protected:
48 
49  private slots:
50  void xmwtCheck( bool );
51  void ymwtCheck( bool );
52  void xsedCheck( bool );
53  void ysedCheck( bool );
54  void xdifCheck( bool );
55  void ydifCheck( bool );
56  void xfcoCheck( bool );
57  void yfcoCheck( bool );
58  void xfraCheck( bool );
59  void yfraCheck( bool );
60  void xvbaCheck( bool );
61  void yvbaCheck( bool );
62  void checkSet( bool, bool, int );
63  void zscal_value( double );
64  void gridr_value( double );
65  void peaks_value( double );
66  void peakw_value( double );
67  void plot3_btn( void );
68  void close_all( void );
69  int dimensionType( QVector< QCheckBox* >& );
70 
71  void help ( void )
72  { showHelp.show_help( "us_2dsa_controls.html" ); };
73 };
74 #endif
75