UltraScan III
List of all members | Signals | Public Member Functions | Protected Attributes | Private Slots | Private Attributes
US_MwlPlotControl Class Reference

A class to provide a window with enhanced plot controls. More...

#include "us_mwl_pltctrl.h"

Inheritance diagram for US_MwlPlotControl:
Inheritance graph
[legend]
Collaboration diagram for US_MwlPlotControl:
Collaboration graph
[legend]

Signals

void has_closed (void)
 Signal emitted when this dialog has been closed. More...
 

Public Member Functions

 US_MwlPlotControl (QWidget *p=0, QVector< QVector3D > *=0)
 US_MwlPlotControl constructor. More...
 
QWidget * caller (void)
 Function to return US_MwlPlotControl's caller. More...
 
void do_3dplot (void)
 Force (re-)plot of currently specified 3-D plot. More...
 
QGLWidget * data_3dplot (void)
 Return 3-d plot data widget pointer. More...
 
US_Plot3Dxyzwidget_3dplot (void)
 Return 3-d plot main widget pointer. More...
 
- Public Member Functions inherited from US_WidgetsDialog
 US_WidgetsDialog (QWidget *, Qt::WindowFlags)
 
QLabel * us_label (const QString &, int=0, int=QFont::Bold)
 
QLabel * us_textlabel (const QString &, int=-1, int=QFont::Bold)
 
QLabel * us_banner (const QString &, int=0, int=QFont::Bold)
 
QPushButton * us_pushbutton (const QString &, bool=true, int=0)
 
QTextEdit * us_textedit (void)
 
QLineEdit * us_lineedit (const QString &=0, int=0, bool=false)
 
void us_setReadOnly (QLineEdit *, bool=true)
 
void us_setReadOnly (QTextEdit *, bool=true)
 
QListWidget * us_listwidget (int=0)
 
QGridLayout * us_checkbox (const QString &, QCheckBox *&, bool=false)
 
QGridLayout * us_radiobutton (const QString &text, QRadioButton *&rb, bool state=false)
 
QProgressBar * us_progressBar (int, int, int=0)
 
QComboBox * us_comboBox (void)
 
QLCDNumber * us_lcd (int, int=0)
 
QwtCounter * us_counter (int, double, double, double=0.0)
 
QwtPlot * us_plot (const QString &, const QString &=QString(), const QString &=QString())
 
QwtPlotGrid * us_grid (QwtPlot *)
 
QwtPlotCurve * us_curve (QwtPlot *, const QString &)
 
QwtPlotPicker * us_picker (QwtPlot *)
 
QTabWidget * us_tabwidget (int=0, int=QFont::Bold)
 

Protected Attributes

US_Help showHelp
 

Private Slots

void plot3_btn (void)
 
void close_all (void)
 
void help (void)
 

Private Attributes

QVBoxLayout * mainLayout
 
QGridLayout * controlsLayout
 
QHBoxLayout * buttonsLayout
 
QwtCounter * ct_zscalefac
 
QwtCounter * ct_rxscale
 
QwtCounter * ct_ryscale
 
QCheckBox * ck_yrevrs
 
QWidget * wparent
 
QPointer< US_Plot3Dxyzplot3d_w
 
QVector< QVector3D > * xyzdat
 
double zscale
 
double rxscale
 
double ryscale
 

Additional Inherited Members

- Public Attributes inherited from US_WidgetsDialog
US_Global g
 Connect to global memory and make the values accessible. More...
 
QPalette vlgray
 Very light gray palette for read-only line edits. More...
 

Detailed Description

A class to provide a window with enhanced plot controls.

Definition at line 15 of file us_mwl_pltctrl.h.

Constructor & Destructor Documentation

US_MwlPlotControl::US_MwlPlotControl ( QWidget *  p = 0,
QVector< QVector3D > *  d = 0 
)

US_MwlPlotControl constructor.

Parameters
pPointer to the parent of this widget
dPointer to the xyz data to be plotted

Definition at line 18 of file us_mwl_pltctrl.cpp.

Member Function Documentation

QWidget * US_MwlPlotControl::caller ( void  )

Function to return US_MwlPlotControl's caller.

Returns
Pointer to the QWidget that created this plot control

Definition at line 97 of file us_mwl_pltctrl.cpp.

void US_MwlPlotControl::close_all ( void  )
privateslot

Definition at line 176 of file us_mwl_pltctrl.cpp.

QGLWidget * US_MwlPlotControl::data_3dplot ( void  )

Return 3-d plot data widget pointer.

Definition at line 109 of file us_mwl_pltctrl.cpp.

void US_MwlPlotControl::do_3dplot ( void  )

Force (re-)plot of currently specified 3-D plot.

Definition at line 103 of file us_mwl_pltctrl.cpp.

void US_MwlPlotControl::has_closed ( void  )
signal

Signal emitted when this dialog has been closed.

void US_MwlPlotControl::help ( void  )
inlineprivateslot

Definition at line 68 of file us_mwl_pltctrl.h.

void US_MwlPlotControl::plot3_btn ( void  )
privateslot

Definition at line 124 of file us_mwl_pltctrl.cpp.

US_Plot3Dxyz * US_MwlPlotControl::widget_3dplot ( void  )

Return 3-d plot main widget pointer.

Definition at line 118 of file us_mwl_pltctrl.cpp.

Member Data Documentation

QHBoxLayout* US_MwlPlotControl::buttonsLayout
private

Definition at line 45 of file us_mwl_pltctrl.h.

QCheckBox* US_MwlPlotControl::ck_yrevrs
private

Definition at line 51 of file us_mwl_pltctrl.h.

QGridLayout* US_MwlPlotControl::controlsLayout
private

Definition at line 44 of file us_mwl_pltctrl.h.

QwtCounter* US_MwlPlotControl::ct_rxscale
private

Definition at line 48 of file us_mwl_pltctrl.h.

QwtCounter* US_MwlPlotControl::ct_ryscale
private

Definition at line 49 of file us_mwl_pltctrl.h.

QwtCounter* US_MwlPlotControl::ct_zscalefac
private

Definition at line 47 of file us_mwl_pltctrl.h.

QVBoxLayout* US_MwlPlotControl::mainLayout
private

Definition at line 43 of file us_mwl_pltctrl.h.

QPointer< US_Plot3Dxyz > US_MwlPlotControl::plot3d_w
private

Definition at line 54 of file us_mwl_pltctrl.h.

double US_MwlPlotControl::rxscale
private

Definition at line 58 of file us_mwl_pltctrl.h.

double US_MwlPlotControl::ryscale
private

Definition at line 59 of file us_mwl_pltctrl.h.

US_Help US_MwlPlotControl::showHelp
protected

Definition at line 62 of file us_mwl_pltctrl.h.

QWidget* US_MwlPlotControl::wparent
private

Definition at line 53 of file us_mwl_pltctrl.h.

QVector< QVector3D >* US_MwlPlotControl::xyzdat
private

Definition at line 55 of file us_mwl_pltctrl.h.

double US_MwlPlotControl::zscale
private

Definition at line 57 of file us_mwl_pltctrl.h.


The documentation for this class was generated from the following files: