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

#include <Plot2d_FitDataDlg.h>

Inheritance diagram for Plot2d_FitDataDlg:
Inheritance graph

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

QGroupBoxmyRangeGrp
 
QRadioButton * myModeAllRB
 
QRadioButton * myModeHorRB
 
QRadioButton * myModeVerRB
 
QLineEditmyXMinEdit
 
QLineEditmyYMinEdit
 
QLineEditmyY2MinEdit
 
QLineEditmyXMaxEdit
 
QLineEditmyYMaxEdit
 
QLineEditmyY2MaxEdit
 
QPushButton * myOkBtn
 
QPushButton * myCancelBtn
 
bool mySecondAxisY
 

Constructor & Destructor Documentation

Plot2d_FitDataDlg::Plot2d_FitDataDlg ( QWidget parent,
bool  secondAxisY 
)

Member Function Documentation

int Plot2d_FitDataDlg::getMode ( )

Gets mode : 0 - Fit all; 1 - Fit horizontal, 2 - Fit vertical

References myModeAllRB, myModeHorRB, and myModeVerRB.

int Plot2d_FitDataDlg::getRange ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax,
double &  y2Min,
double &  y2Max 
)
void Plot2d_FitDataDlg::onModeChanged ( int  mode)
protectedslot

Called when range mode changed

References mySecondAxisY, myXMaxEdit, myXMinEdit, myY2MaxEdit, myY2MinEdit, myYMaxEdit, and myYMinEdit.

void Plot2d_FitDataDlg::setRange ( const double  xMin,
const double  xMax,
const double  yMin,
const double  yMax,
const double  y2Min = 0,
const double  y2Max = 0 
)

Member Data Documentation

QPushButton* Plot2d_FitDataDlg::myCancelBtn
private
QRadioButton* Plot2d_FitDataDlg::myModeAllRB
private
QRadioButton* Plot2d_FitDataDlg::myModeHorRB
private
QRadioButton* Plot2d_FitDataDlg::myModeVerRB
private
QPushButton* Plot2d_FitDataDlg::myOkBtn
private
QGroupBox* Plot2d_FitDataDlg::myRangeGrp
private
bool Plot2d_FitDataDlg::mySecondAxisY
private
QLineEdit* Plot2d_FitDataDlg::myXMaxEdit
private
QLineEdit* Plot2d_FitDataDlg::myXMinEdit
private
QLineEdit* Plot2d_FitDataDlg::myY2MaxEdit
private
QLineEdit* Plot2d_FitDataDlg::myY2MinEdit
private
QLineEdit* Plot2d_FitDataDlg::myYMaxEdit
private
QLineEdit* Plot2d_FitDataDlg::myYMinEdit
private

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