UltraScan III
us_vhwc_pltctl.h
Go to the documentation of this file.
1 #ifndef US_VHW_C_PLTCTL_H
3 #define US_VHW_C_PLTCTL_H
4 
5 #include <QtGui>
6 
7 #include "us_extern.h"
8 #include "us_widgets_dialog.h"
9 #include "us_plot3d_xyz.h"
10 #include "us_plot.h"
11 #include "us_help.h"
12 
14 
16 {
17  Q_OBJECT
18 
19  public:
24  US_VhwCPlotControl( QWidget* p = 0, QVector< QVector3D >* = 0,
25  int = 2 );
26 
29  QWidget* caller ( void );
30 
32  void do_3dplot ( void );
33 
35  QGLWidget* data_3dplot ( void );
36 
38  US_Plot3Dxyz* widget_3dplot( void );
39 
40  signals:
42  void has_closed( void );
43 
44  private:
45  QVBoxLayout* mainLayout;
46  QGridLayout* controlsLayout;
47  QHBoxLayout* buttonsLayout;
48 
49  QwtCounter* ct_zscalefac;
50  QwtCounter* ct_rxscale;
51  QwtCounter* ct_ryscale;
52  QwtCounter* ct_peaksmoo;
53  QwtCounter* ct_peakwid;
54  QwtCounter* ct_gridres;
55 
56  QCheckBox* ck_yrevrs;
57  QCheckBox* ck_contour;
58 
59  QWidget* wparent;
60  QPointer< US_Plot3Dxyz > plot3d_w;
61  QVector< QVector3D >* xyzdat;
62 
63  double zscale;
64  double rxscale;
65  double ryscale;
66  double pksmooth;
67  double pkwidth;
68 
69  int gridres;
70  int p_type;
71 
72  bool envel;
73 
74  protected:
76 
77  private slots:
78  void ptype_toggle( bool );
79  void plot3_btn ( void );
80  void close_all ( void );
81 
82  void help ( void )
83  { showHelp.show_help( "vhw_combine_pltctl.html" ); };
84 };
85 #endif
86