enhancement:nth frame changed to red, instead of error and changing it back

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@90 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2012-10-11 08:57:09 +00:00
parent f4dc6aab22
commit 19b6ca2eda
3 changed files with 4 additions and 10 deletions

View File

@ -497,7 +497,8 @@ void qTabPlot::SetFrequency(){
boxFrequency->setToolTip(errTip);
}
//show red if acqPeriod<minInterval
else if(acqPeriodMS<timeMS){
else if((acqPeriodMS+1)<timeMS){
cout<<"\nacqPeriodMS:"<<acqPeriodMS<<"\ttimeMS:"<<timeMS<<endl;
//qDefs::Message(qDefs::WARNING,"<nobr>Interval between Plots: You might be losing Images!</nobr>","Plot");
boxFrequency->setPalette(*red);
boxFrequency->setTitle("Interval between Plots*");