1 #ifndef PLOT2D_FITDATADLG_H
2 #define PLOT2D_FITDATADLG_H
12 class PLOT2D_EXPORT Plot2d_FitDataDlg : public QDialog
18 Plot2d_FitDataDlg( QWidget* parent, bool secondAxisY );
21 void setRange(const double xMin,
25 const double y2Min = 0,
26 const double y2Max = 0);
27 // gets range, returns mode (see getMode())
28 int getRange(double& xMin,
34 // gets mode : 0 - Fit all; 1 - Fit horizontal, 2 - Fit vertical
38 // called when range mode changed
39 void onModeChanged(int);
42 QButtonGroup* myRangeGrp;
43 QRadioButton* myModeAllRB;
44 QRadioButton* myModeHorRB;
45 QRadioButton* myModeVerRB;
46 QLineEdit* myXMinEdit;
47 QLineEdit* myYMinEdit;
48 QLineEdit* myY2MinEdit;
49 QLineEdit* myXMaxEdit;
50 QLineEdit* myYMaxEdit;
51 QLineEdit* myY2MaxEdit;
53 QPushButton* myCancelBtn;