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

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

#include "us_plot_control_fem.h"

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

Public Member Functions

 US_PlotControlFem (QWidget *p=0, US_Model *=0)
 US_PlotControlFem constructor. More...
 
QWidget * caller (void)
 Public function to return US_PlotControlFem's caller (e.g., US_Fematch) 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_Plot3Dwidget_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 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
 
QWidget * wparent
 
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 17 of file us_plot_control_fem.h.

Constructor & Destructor Documentation

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

US_PlotControlFem 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_fem.cpp.

Member Function Documentation

QWidget * US_PlotControlFem::caller ( void  )

Public function to return US_PlotControlFem's caller (e.g., US_Fematch)

Returns
Pointer to the QWidget that created this plot control

Definition at line 237 of file us_plot_control_fem.cpp.

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

Definition at line 330 of file us_plot_control_fem.cpp.

void US_PlotControlFem::close_all ( void  )
privateslot

Definition at line 430 of file us_plot_control_fem.cpp.

QGLWidget * US_PlotControlFem::data_3dplot ( void  )

Return 3-d plot data widget pointer.

Definition at line 249 of file us_plot_control_fem.cpp.

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

Definition at line 438 of file us_plot_control_fem.cpp.

void US_PlotControlFem::do_3dplot ( void  )

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

Definition at line 243 of file us_plot_control_fem.cpp.

void US_PlotControlFem::gridr_value ( double  value)
privateslot

Definition at line 392 of file us_plot_control_fem.cpp.

void US_PlotControlFem::help ( void  )
inlineprivateslot

Definition at line 85 of file us_plot_control_fem.h.

void US_PlotControlFem::peaks_value ( double  value)
privateslot

Definition at line 397 of file us_plot_control_fem.cpp.

void US_PlotControlFem::peakw_value ( double  value)
privateslot

Definition at line 402 of file us_plot_control_fem.cpp.

void US_PlotControlFem::plot3_btn ( void  )
privateslot

Definition at line 408 of file us_plot_control_fem.cpp.

US_Plot3D * US_PlotControlFem::widget_3dplot ( void  )

Return 3-d plot main widget pointer.

Definition at line 263 of file us_plot_control_fem.cpp.

void US_PlotControlFem::xdifCheck ( bool  chkd)
privateslot

Definition at line 289 of file us_plot_control_fem.cpp.

void US_PlotControlFem::xfcoCheck ( bool  chkd)
privateslot

Definition at line 299 of file us_plot_control_fem.cpp.

void US_PlotControlFem::xfraCheck ( bool  chkd)
privateslot

Definition at line 309 of file us_plot_control_fem.cpp.

void US_PlotControlFem::xmwtCheck ( bool  chkd)
privateslot

Definition at line 269 of file us_plot_control_fem.cpp.

void US_PlotControlFem::xsedCheck ( bool  chkd)
privateslot

Definition at line 279 of file us_plot_control_fem.cpp.

void US_PlotControlFem::xvbaCheck ( bool  chkd)
privateslot

Definition at line 319 of file us_plot_control_fem.cpp.

void US_PlotControlFem::ydifCheck ( bool  chkd)
privateslot

Definition at line 294 of file us_plot_control_fem.cpp.

void US_PlotControlFem::yfcoCheck ( bool  chkd)
privateslot

Definition at line 304 of file us_plot_control_fem.cpp.

void US_PlotControlFem::yfraCheck ( bool  chkd)
privateslot

Definition at line 314 of file us_plot_control_fem.cpp.

void US_PlotControlFem::ymwtCheck ( bool  chkd)
privateslot

Definition at line 274 of file us_plot_control_fem.cpp.

void US_PlotControlFem::ysedCheck ( bool  chkd)
privateslot

Definition at line 284 of file us_plot_control_fem.cpp.

void US_PlotControlFem::yvbaCheck ( bool  chkd)
privateslot

Definition at line 324 of file us_plot_control_fem.cpp.

void US_PlotControlFem::zscal_value ( double  value)
privateslot

Definition at line 387 of file us_plot_control_fem.cpp.

Member Data Documentation

QHBoxLayout* US_PlotControlFem::buttonsLayout
private

Definition at line 43 of file us_plot_control_fem.h.

QGridLayout* US_PlotControlFem::controlsLayout
private

Definition at line 42 of file us_plot_control_fem.h.

QwtCounter* US_PlotControlFem::ct_rxscale
private

Definition at line 45 of file us_plot_control_fem.h.

QwtCounter* US_PlotControlFem::ct_ryscale
private

Definition at line 46 of file us_plot_control_fem.h.

double US_PlotControlFem::gridres
private

Definition at line 56 of file us_plot_control_fem.h.

QVBoxLayout* US_PlotControlFem::mainLayout
private

Definition at line 41 of file us_plot_control_fem.h.

US_Model* US_PlotControlFem::model
private

Definition at line 53 of file us_plot_control_fem.h.

double US_PlotControlFem::pksmooth
private

Definition at line 57 of file us_plot_control_fem.h.

double US_PlotControlFem::pkwidth
private

Definition at line 58 of file us_plot_control_fem.h.

QPointer< US_Plot3D > US_PlotControlFem::plot3d_w
private

Definition at line 52 of file us_plot_control_fem.h.

US_Help US_PlotControlFem::showHelp
protected

Definition at line 61 of file us_plot_control_fem.h.

QWidget* US_PlotControlFem::wparent
private

Definition at line 51 of file us_plot_control_fem.h.

QVector< QCheckBox* > US_PlotControlFem::xCheck
private

Definition at line 48 of file us_plot_control_fem.h.

QVector< QCheckBox* > US_PlotControlFem::yCheck
private

Definition at line 49 of file us_plot_control_fem.h.

double US_PlotControlFem::zscale
private

Definition at line 55 of file us_plot_control_fem.h.


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