#include <Plot2d_FitDataDlg.h>
Public Member Functions |
| | Plot2d_FitDataDlg (QWidget *parent, bool secondAxisY) |
| void | setRange (const double xMin, const double xMax, const double yMin, const double yMax, const double y2Min=0, const double y2Max=0) |
| int | getRange (double &xMin, double &xMax, double &yMin, double &yMax, double &y2Min, double &y2Max) |
| int | getMode () |
Protected Slots |
| void | onModeChanged (int) |
Private Attributes |
| QGroupBox * | myRangeGrp |
| QRadioButton * | myModeAllRB |
| QRadioButton * | myModeHorRB |
| QRadioButton * | myModeVerRB |
| QLineEdit * | myXMinEdit |
| QLineEdit * | myYMinEdit |
| QLineEdit * | myY2MinEdit |
| QLineEdit * | myXMaxEdit |
| QLineEdit * | myYMaxEdit |
| QLineEdit * | myY2MaxEdit |
| QPushButton * | myOkBtn |
| QPushButton * | myCancelBtn |
| bool | mySecondAxisY |
Constructor & Destructor Documentation
| Plot2d_FitDataDlg::Plot2d_FitDataDlg |
( |
QWidget * |
parent, |
|
|
bool |
secondAxisY |
|
) |
| |
Constructor
References MARGIN_SIZE, MIN_EDIT_SIZE, myCancelBtn, myModeAllRB, myModeHorRB, myModeVerRB, myOkBtn, myRangeGrp, mySecondAxisY, myXMaxEdit, myXMinEdit, myY2MaxEdit, myY2MinEdit, myYMaxEdit, myYMinEdit, onModeChanged(), and SPACING_SIZE.
Member Function Documentation
| void Plot2d_FitDataDlg::setRange |
( |
const double |
xMin, |
|
|
const double |
xMax, |
|
|
const double |
yMin, |
|
|
const double |
yMax, |
|
|
const double |
y2Min = 0, |
|
|
const double |
y2Max = 0 |
|
) |
| |
| int Plot2d_FitDataDlg::getRange |
( |
double & |
xMin, |
|
|
double & |
xMax, |
|
|
double & |
yMin, |
|
|
double & |
yMax, |
|
|
double & |
y2Min, |
|
|
double & |
y2Max |
|
) |
| |
Gets range, returns mode (see getMode())
References myModeAllRB, myModeHorRB, myModeVerRB, mySecondAxisY, myXMaxEdit, myXMinEdit, myY2MaxEdit, myY2MinEdit, myYMaxEdit, and myYMinEdit.
| int Plot2d_FitDataDlg::getMode |
( |
| ) |
|
| void Plot2d_FitDataDlg::onModeChanged |
( |
int |
mode | ) |
[protected, slot] |
Field Documentation