42 if ((num < 0) || !
GetComp())
return;
48 RangeTypCmb->setCurrentIndex(typ);
49 AxisNumSpin->setValue(naxis);
51 if (typ!=3) LeftEdt->setText(QString::number(left));
52 if (typ!=2) RightEdt->setText(QString::number(right));
59 LeftEdt->setEnabled((num == 0) || (num == 1) || (num == 2));
60 RightEdt->setEnabled((num == 0) || (num == 1) || (num == 3));
70 Int_t typ = RangeTypCmb->currentIndex();
71 Int_t naxis = AxisNumSpin->value();
73 Double_t left = 0., right = 0.;
74 bool isok1 =
true, isok2 =
true;
76 if (typ!=3) left = LeftEdt->text().toDouble(&isok1);
77 if (typ!=2) right = RightEdt->text().toDouble(&isok2);
Basic abstract class, combining common properties of data and model.
void SetRangeCondition(Int_t n, Int_t typ, Int_t naxis, Double_t left, Double_t right)
Change specified range condition.
void GetRangeCondition(Int_t n, Int_t &typ, Int_t &naxis, Double_t &left, Double_t &right) const
Return value for specified range condition.