some clone changes and setting the gui image read frequency to be one for eiger in gui

This commit is contained in:
Maliakal Dhanya
2014-09-10 14:39:02 +02:00
parent 92c56739d9
commit baf65e8318
3 changed files with 6 additions and 1 deletions

View File

@ -190,6 +190,7 @@ void qCloneWidget::SetCloneHists(int nHists,int histNBins,double* histXAxis,doub
void qCloneWidget::SetCloneHists2D(int nbinsx,double xmin,double xmax,int nbinsy, double ymin, double ymax, double *d){
cloneplot2D->GetPlot()->SetData(nbinsx,xmin,xmax,nbinsy,ymin,ymax,d);
cloneplot2D->UpdateNKeepSetRangeIfSet();
}
@ -226,6 +227,7 @@ void qCloneWidget::SetRange(bool IsXYRange[],double XYRangeValues[]){
}else{
cloneplot2D->GetPlot()->SetXMinMax(XYRangeValues[qDefs::XMINIMUM],XYRangeValues[qDefs::XMAXIMUM]);
cloneplot2D->GetPlot()->SetYMinMax(XYRangeValues[qDefs::YMINIMUM],XYRangeValues[qDefs::YMAXIMUM]);
cloneplot2D->GetPlot()->Update();
}
}

View File

@ -1116,6 +1116,8 @@ void qTabPlot::Refresh(){
boxFrequency->setEnabled(true);
connect(boxScan, SIGNAL(toggled(bool)), this, SLOT(EnableScanBox()));
EnableScanBox();
if(myDet->getDetectorsType() == slsDetectorDefs::EIGER)
comboFrequency->setCurrentIndex(1);
SetFrequency();
}else{