Dialog box for modifying 2d curve scale factor. More...
#include <Plot2d_SetupCurveScaleDlg.h>

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 |
| QtxDoubleSpinBox * | myValueSpin |
Dialog box for modifying 2d curve scale factor.
| Plot2d_SetupCurveScaleDlg::Plot2d_SetupCurveScaleDlg | ( | QWidget * | parent = 0 | ) |
Constructor.
| parent | parent widget |
References SUIT_Tools::centerWidget(), MARGIN_SIZE, MIN_SPIN_WIDTH, myCancelBtn, myOkBtn, myValueSpin, setScale(), and SPACING_SIZE.
| Plot2d_SetupCurveScaleDlg::~Plot2d_SetupCurveScaleDlg | ( | ) |
Destructor.
| double Plot2d_SetupCurveScaleDlg::getScale | ( | ) | const |
| void Plot2d_SetupCurveScaleDlg::setScale | ( | const double | coef | ) |
| void Plot2d_SetupCurveScaleDlg::setUndefinedValue | ( | ) |
Clear value in the "Scale factor" spinbox.
References myValueSpin, and QtxDoubleSpinBox::setCleared().
|
private |
|
private |
|
private |