fixed constant scan widget problem

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@69 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2012-09-25 11:31:15 +00:00
parent a79c5c6183
commit bf8a1ec0d2
2 changed files with 208 additions and 40 deletions

View File

@ -121,19 +121,42 @@ void SetPrecision(int value);
* */
void SetNSteps();
/** Range type: If size is changed,
* the Number of steps is calculated
/**Checks if size is zero and return FAIL if it does
* */
void RangeCalculateNumSteps();
int RangeCheckSizeZero();
/** Range type: If size is changed, the To is calculated
/**returns ok and number of steps if valid
* @param number of steps
* */
void RangeCalculateTo();
int RangeCheckNumValid(int &num);
/** Sets number of steps if from changed
* */
void RangeFromChanged();
/** Sets number of steps if to changed
* */
void RangeToChanged();
/** Sets s of steps if size changed
* */
void RangeSizeChanged();
/** Set range for scan
* */
void SetRangeSteps();
/** Range type: If size is changed,
* the Number of steps is calculated
* */
//void RangeCalculateNumSteps();
/** Range type: If size is changed, the To is calculated
* */
//void RangeCalculateTo();
/** Set custom steps
* returns OK if set properly
* */