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

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

#include "us_vhwc_pltctl.h"

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

Signals

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

Public Member Functions

 US_VhwCPlotControl (QWidget *p=0, QVector< QVector3D > *=0, int=2)
 US_VhwCPlotControl constructor. More...
 
QWidget * caller (void)
 Function to return US_VhwCPlotControl'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 ptype_toggle (bool)
 
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
 
QwtCounter * ct_peaksmoo
 
QwtCounter * ct_peakwid
 
QwtCounter * ct_gridres
 
QCheckBox * ck_yrevrs
 
QCheckBox * ck_contour
 
QWidget * wparent
 
QPointer< US_Plot3Dxyzplot3d_w
 
QVector< QVector3D > * xyzdat
 
double zscale
 
double rxscale
 
double ryscale
 
double pksmooth
 
double pkwidth
 
int gridres
 
int p_type
 
bool envel
 

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_vhwc_pltctl.h.

Constructor & Destructor Documentation

US_VhwCPlotControl::US_VhwCPlotControl ( QWidget *  p = 0,
QVector< QVector3D > *  d = 0,
int  a_ptype = 2 
)

US_VhwCPlotControl constructor.

Parameters
pPointer to the parent of this widget
dPointer to the xyz data to be plotted
a_ptypePlot type flag (0,1,2 -> envel, integ, integ+conc)

Definition at line 27 of file us_vhwc_pltctl.cpp.

Member Function Documentation

QWidget * US_VhwCPlotControl::caller ( void  )

Function to return US_VhwCPlotControl's caller.

Returns
Pointer to the QWidget that created this plot control

Definition at line 146 of file us_vhwc_pltctl.cpp.

void US_VhwCPlotControl::close_all ( void  )
privateslot

Definition at line 251 of file us_vhwc_pltctl.cpp.

QGLWidget * US_VhwCPlotControl::data_3dplot ( void  )

Return 3-d plot data widget pointer.

Definition at line 158 of file us_vhwc_pltctl.cpp.

void US_VhwCPlotControl::do_3dplot ( void  )

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

Definition at line 152 of file us_vhwc_pltctl.cpp.

void US_VhwCPlotControl::has_closed ( void  )
signal

Signal emitted when this dialog has been closed.

void US_VhwCPlotControl::help ( void  )
inlineprivateslot

Definition at line 82 of file us_vhwc_pltctl.h.

void US_VhwCPlotControl::plot3_btn ( void  )
privateslot

Definition at line 173 of file us_vhwc_pltctl.cpp.

void US_VhwCPlotControl::ptype_toggle ( bool  chkd)
privateslot

Definition at line 138 of file us_vhwc_pltctl.cpp.

US_Plot3Dxyz * US_VhwCPlotControl::widget_3dplot ( void  )

Return 3-d plot main widget pointer.

Definition at line 167 of file us_vhwc_pltctl.cpp.

Member Data Documentation

QHBoxLayout* US_VhwCPlotControl::buttonsLayout
private

Definition at line 47 of file us_vhwc_pltctl.h.

QCheckBox* US_VhwCPlotControl::ck_contour
private

Definition at line 57 of file us_vhwc_pltctl.h.

QCheckBox* US_VhwCPlotControl::ck_yrevrs
private

Definition at line 56 of file us_vhwc_pltctl.h.

QGridLayout* US_VhwCPlotControl::controlsLayout
private

Definition at line 46 of file us_vhwc_pltctl.h.

QwtCounter* US_VhwCPlotControl::ct_gridres
private

Definition at line 54 of file us_vhwc_pltctl.h.

QwtCounter* US_VhwCPlotControl::ct_peaksmoo
private

Definition at line 52 of file us_vhwc_pltctl.h.

QwtCounter* US_VhwCPlotControl::ct_peakwid
private

Definition at line 53 of file us_vhwc_pltctl.h.

QwtCounter* US_VhwCPlotControl::ct_rxscale
private

Definition at line 50 of file us_vhwc_pltctl.h.

QwtCounter* US_VhwCPlotControl::ct_ryscale
private

Definition at line 51 of file us_vhwc_pltctl.h.

QwtCounter* US_VhwCPlotControl::ct_zscalefac
private

Definition at line 49 of file us_vhwc_pltctl.h.

bool US_VhwCPlotControl::envel
private

Definition at line 72 of file us_vhwc_pltctl.h.

int US_VhwCPlotControl::gridres
private

Definition at line 69 of file us_vhwc_pltctl.h.

QVBoxLayout* US_VhwCPlotControl::mainLayout
private

Definition at line 45 of file us_vhwc_pltctl.h.

int US_VhwCPlotControl::p_type
private

Definition at line 70 of file us_vhwc_pltctl.h.

double US_VhwCPlotControl::pksmooth
private

Definition at line 66 of file us_vhwc_pltctl.h.

double US_VhwCPlotControl::pkwidth
private

Definition at line 67 of file us_vhwc_pltctl.h.

QPointer< US_Plot3Dxyz > US_VhwCPlotControl::plot3d_w
private

Definition at line 60 of file us_vhwc_pltctl.h.

double US_VhwCPlotControl::rxscale
private

Definition at line 64 of file us_vhwc_pltctl.h.

double US_VhwCPlotControl::ryscale
private

Definition at line 65 of file us_vhwc_pltctl.h.

US_Help US_VhwCPlotControl::showHelp
protected

Definition at line 75 of file us_vhwc_pltctl.h.

QWidget* US_VhwCPlotControl::wparent
private

Definition at line 59 of file us_vhwc_pltctl.h.

QVector< QVector3D >* US_VhwCPlotControl::xyzdat
private

Definition at line 61 of file us_vhwc_pltctl.h.

double US_VhwCPlotControl::zscale
private

Definition at line 63 of file us_vhwc_pltctl.h.


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