mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-18 15:57:13 +02:00
Version 1 with the action tab working
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@6 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -170,9 +170,8 @@ void qTabMeasurement::DeInitialization(){
|
||||
|
||||
|
||||
void qTabMeasurement::Enable(bool enable){
|
||||
gridTimeResolved->setEnabled(enable);
|
||||
gridLayout->setEnabled(enable);
|
||||
boxProgress->setEnabled(enable);
|
||||
frameTimeResolved->setEnabled(enable);
|
||||
frameNotTimeResolved->setEnabled(enable);
|
||||
/** Enable this always **/
|
||||
if(!enable) btnStartStop->setEnabled(true);
|
||||
}
|
||||
@ -217,12 +216,14 @@ void qTabMeasurement::startStopAcquisition(){
|
||||
#endif
|
||||
btnStartStop->setText("Stop");
|
||||
Enable(0);
|
||||
emit StartSignal();
|
||||
}else{
|
||||
#ifdef VERBOSE
|
||||
cout<<"Stopping Acquisition"<<endl;
|
||||
#endif
|
||||
btnStartStop->setText("Start");
|
||||
Enable(1);
|
||||
emit StopSignal();
|
||||
}
|
||||
myPlot->StartStopDaqToggle();
|
||||
}
|
||||
|
Reference in New Issue
Block a user