UltraScan III
us_mwl_pltctrl.h
Go to the documentation of this file.
1 #ifndef US_MWL_PLTCNTRL_H
3 #define US_MWL_PLTCNTRL_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:
23  US_MwlPlotControl( QWidget* p = 0, QVector< QVector3D >* = 0 );
24 
27  QWidget* caller ( void );
28 
30  void do_3dplot ( void );
31 
33  QGLWidget* data_3dplot ( void );
34 
36  US_Plot3Dxyz* widget_3dplot( void );
37 
38  signals:
40  void has_closed( void );
41 
42  private:
43  QVBoxLayout* mainLayout;
44  QGridLayout* controlsLayout;
45  QHBoxLayout* buttonsLayout;
46 
47  QwtCounter* ct_zscalefac;
48  QwtCounter* ct_rxscale;
49  QwtCounter* ct_ryscale;
50 
51  QCheckBox* ck_yrevrs;
52 
53  QWidget* wparent;
54  QPointer< US_Plot3Dxyz > plot3d_w;
55  QVector< QVector3D >* xyzdat;
56 
57  double zscale;
58  double rxscale;
59  double ryscale;
60 
61  protected:
63 
64  private slots:
65  void plot3_btn( void );
66  void close_all( void );
67 
68  void help ( void )
69  { showHelp.show_help( "mwlr_view_pltctrl.html" ); };
70 };
71 #endif
72