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

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

#include "us_plot_control_2d.h"

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

Public Member Functions

 US_PlotControl2D (QWidget *p=0, US_Model *=0)
 US_PlotControl2D constructor. 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 xmwtCheck (bool)
 
void ymwtCheck (bool)
 
void xsedCheck (bool)
 
void ysedCheck (bool)
 
void xdifCheck (bool)
 
void ydifCheck (bool)
 
void xfcoCheck (bool)
 
void yfcoCheck (bool)
 
void xfraCheck (bool)
 
void yfraCheck (bool)
 
void xvbaCheck (bool)
 
void yvbaCheck (bool)
 
void checkSet (bool, bool, int)
 
void zscal_value (double)
 
void gridr_value (double)
 
void peaks_value (double)
 
void peakw_value (double)
 
void plot3_btn (void)
 
void close_all (void)
 
int dimensionType (QVector< QCheckBox * > &)
 
void help (void)
 

Private Attributes

QVBoxLayout * mainLayout
 
QGridLayout * controlsLayout
 
QHBoxLayout * buttonsLayout
 
QwtCounter * ct_rxscale
 
QwtCounter * ct_ryscale
 
QVector< QCheckBox * > xCheck
 
QVector< QCheckBox * > yCheck
 
QPointer< US_Plot3Dplot3d_w
 
US_Modelmodel
 
double zscale
 
double gridres
 
double pksmooth
 
double pkwidth
 

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 16 of file us_plot_control_2d.h.

Constructor & Destructor Documentation

US_PlotControl2D::US_PlotControl2D ( QWidget *  p = 0,
US_Model amodel = 0 
)

US_PlotControl2D constructor.

Parameters
pPointer to the parent of this widget
amodelPointer to the model to be plotted

Definition at line 12 of file us_plot_control_2d.cpp.

Member Function Documentation

void US_PlotControl2D::checkSet ( bool  chkd,
bool  isX,
int  row 
)
privateslot

Definition at line 301 of file us_plot_control_2d.cpp.

void US_PlotControl2D::close_all ( void  )
privateslot

Definition at line 401 of file us_plot_control_2d.cpp.

int US_PlotControl2D::dimensionType ( QVector< QCheckBox * > &  xycheck)
privateslot

Definition at line 406 of file us_plot_control_2d.cpp.

void US_PlotControl2D::gridr_value ( double  value)
privateslot

Definition at line 361 of file us_plot_control_2d.cpp.

void US_PlotControl2D::help ( void  )
inlineprivateslot

Definition at line 71 of file us_plot_control_2d.h.

void US_PlotControl2D::peaks_value ( double  value)
privateslot

Definition at line 366 of file us_plot_control_2d.cpp.

void US_PlotControl2D::peakw_value ( double  value)
privateslot

Definition at line 371 of file us_plot_control_2d.cpp.

void US_PlotControl2D::plot3_btn ( void  )
privateslot

Definition at line 377 of file us_plot_control_2d.cpp.

void US_PlotControl2D::xdifCheck ( bool  chkd)
privateslot

Definition at line 260 of file us_plot_control_2d.cpp.

void US_PlotControl2D::xfcoCheck ( bool  chkd)
privateslot

Definition at line 270 of file us_plot_control_2d.cpp.

void US_PlotControl2D::xfraCheck ( bool  chkd)
privateslot

Definition at line 280 of file us_plot_control_2d.cpp.

void US_PlotControl2D::xmwtCheck ( bool  chkd)
privateslot

Definition at line 240 of file us_plot_control_2d.cpp.

void US_PlotControl2D::xsedCheck ( bool  chkd)
privateslot

Definition at line 250 of file us_plot_control_2d.cpp.

void US_PlotControl2D::xvbaCheck ( bool  chkd)
privateslot

Definition at line 290 of file us_plot_control_2d.cpp.

void US_PlotControl2D::ydifCheck ( bool  chkd)
privateslot

Definition at line 265 of file us_plot_control_2d.cpp.

void US_PlotControl2D::yfcoCheck ( bool  chkd)
privateslot

Definition at line 275 of file us_plot_control_2d.cpp.

void US_PlotControl2D::yfraCheck ( bool  chkd)
privateslot

Definition at line 285 of file us_plot_control_2d.cpp.

void US_PlotControl2D::ymwtCheck ( bool  chkd)
privateslot

Definition at line 245 of file us_plot_control_2d.cpp.

void US_PlotControl2D::ysedCheck ( bool  chkd)
privateslot

Definition at line 255 of file us_plot_control_2d.cpp.

void US_PlotControl2D::yvbaCheck ( bool  chkd)
privateslot

Definition at line 295 of file us_plot_control_2d.cpp.

void US_PlotControl2D::zscal_value ( double  value)
privateslot

Definition at line 356 of file us_plot_control_2d.cpp.

Member Data Documentation

QHBoxLayout* US_PlotControl2D::buttonsLayout
private

Definition at line 30 of file us_plot_control_2d.h.

QGridLayout* US_PlotControl2D::controlsLayout
private

Definition at line 29 of file us_plot_control_2d.h.

QwtCounter* US_PlotControl2D::ct_rxscale
private

Definition at line 32 of file us_plot_control_2d.h.

QwtCounter* US_PlotControl2D::ct_ryscale
private

Definition at line 33 of file us_plot_control_2d.h.

double US_PlotControl2D::gridres
private

Definition at line 42 of file us_plot_control_2d.h.

QVBoxLayout* US_PlotControl2D::mainLayout
private

Definition at line 28 of file us_plot_control_2d.h.

US_Model* US_PlotControl2D::model
private

Definition at line 39 of file us_plot_control_2d.h.

double US_PlotControl2D::pksmooth
private

Definition at line 43 of file us_plot_control_2d.h.

double US_PlotControl2D::pkwidth
private

Definition at line 44 of file us_plot_control_2d.h.

QPointer< US_Plot3D > US_PlotControl2D::plot3d_w
private

Definition at line 38 of file us_plot_control_2d.h.

US_Help US_PlotControl2D::showHelp
protected

Definition at line 47 of file us_plot_control_2d.h.

QVector< QCheckBox* > US_PlotControl2D::xCheck
private

Definition at line 35 of file us_plot_control_2d.h.

QVector< QCheckBox* > US_PlotControl2D::yCheck
private

Definition at line 36 of file us_plot_control_2d.h.

double US_PlotControl2D::zscale
private

Definition at line 41 of file us_plot_control_2d.h.


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