Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Plot2d_SetupCurveScaleDlg Class Reference

Dialog box for modifying 2d curve scale factor.

#include <Plot2d_SetupCurveScaleDlg.h>

Inheritance diagram for Plot2d_SetupCurveScaleDlg:
Inheritance graph

Public Member Functions

 Plot2d_SetupCurveScaleDlg (QWidget *=0)
 Constructor. More...
 
 ~Plot2d_SetupCurveScaleDlg ()
 Destructor. More...
 
void setScale (const double)
 Set scale factor. More...
 
double getScale () const
 Get scale factor. More...
 
void setUndefinedValue ()
 Clear value in the "Scale factor" spinbox. More...
 

Private Attributes

QPushButton * myOkBtn
 
QPushButton * myCancelBtn
 
QtxDoubleSpinBoxmyValueSpin
 

Constructor & Destructor Documentation

Plot2d_SetupCurveScaleDlg::Plot2d_SetupCurveScaleDlg ( QWidget parent = 0)
Plot2d_SetupCurveScaleDlg::~Plot2d_SetupCurveScaleDlg ( )

Member Function Documentation

double Plot2d_SetupCurveScaleDlg::getScale ( ) const
Returns
chosen scale factor
See Also
setScale()

References myValueSpin.

void Plot2d_SetupCurveScaleDlg::setScale ( const double  coef)
Parameters
coefscale factor
See Also
getScale()

References myValueSpin.

void Plot2d_SetupCurveScaleDlg::setUndefinedValue ( )

Member Data Documentation

QPushButton* Plot2d_SetupCurveScaleDlg::myCancelBtn
private
QPushButton* Plot2d_SetupCurveScaleDlg::myOkBtn
private
QtxDoubleSpinBox* Plot2d_SetupCurveScaleDlg::myValueSpin
private

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