included images

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@53 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d 2012-09-07 16:33:24 +00:00
parent c9db2c4272
commit b85e03adfd
2 changed files with 1 additions and 4 deletions

View File

@ -176,6 +176,7 @@ void qDetectorMain::SetUpDetector(){
//instantiate detector and set window title
myDet = new multiSlsDetector(detID);
string host = myDet->getHostname(detID);
cout<<"online:"<<myDet->setOnline();<<endl;
slsDetector *s = myDet->getSlsDetector(detID);
//if hostname doesnt exist even in shared memory
if(!host.length()){

View File

@ -303,8 +303,6 @@ void qTabMeasurement::startStopAcquisition(){
cout << "Stopping Acquisition" << endl<< endl;
#endif
myDet->stopAcquisition();
//btnStartStop->setStyleSheet("color:green");
//btnStartStop->setStyleSheet("background:rgb(239,239,239)");
progressTimer->stop();
btnStartStop->setText("Start");
btnStartStop->setIcon(*iconStart);
@ -323,8 +321,6 @@ void qTabMeasurement::UpdateFinished(){
btnStartStop->setText("Start");
btnStartStop->setIcon(*iconStart);
btnStartStop->setChecked(false);
//btnStartStop->setStyleSheet("color:green");
//btnStartStop->setStyleSheet("background:rgb(239,239,239)");
Enable(1);
connect(btnStartStop,SIGNAL(clicked()),this,SLOT(startStopAcquisition()));
UpdateProgress();