got rid of unncessary printouts and MyApplication inqDetectorMain does not work.so bak to original

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@251 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2014-01-30 17:50:41 +00:00
parent 635a33ea85
commit a1c58f152f
4 changed files with 15 additions and 35 deletions

View File

@ -127,13 +127,13 @@ void qTabAdvanced::SetupWidgetWindow(){
det = myDet->getSlsDetector(comboDetector->currentIndex());
qDefs::checkErrorMessage(myDet,"qTabAdvanced::SetupWidgetWindow");
cout << "ports" << endl;
cout << "Getting ports" << endl;
spinControlPort->setValue(det->getControlPort());
spinStopPort->setValue(det->getStopPort());
spinTCPPort->setValue(det->getReceiverPort());
spinUDPPort->setValue(atoi(det->getReceiverUDPPort()));
cout << "net" << endl;
cout << "Getting network information" << endl;
dispIP->setText(det->getDetectorIP());
dispMAC->setText(det->getDetectorMAC());
dispRxrHostname->setText(det->getReceiver());
@ -142,8 +142,9 @@ void qTabAdvanced::SetupWidgetWindow(){
//check if its online and set it to red if offline
#ifdef VERYVERBOSE
cout << "online" << endl;
#endif
if(det->setOnline()==slsDetectorDefs::ONLINE_FLAG)
det->checkOnline();
if(det->setReceiverOnline()==slsDetectorDefs::ONLINE_FLAG)
@ -164,17 +165,12 @@ void qTabAdvanced::SetupWidgetWindow(){
}
cout << "ROI" << endl;
//updates roi
cout << "Getting ROI" << endl;
updateROIList();
cout << "Init" << endl;
Initialization();
cout << "done" << endl;
qDefs::checkErrorMessage(det,"qTabAdvanced::SetupWidgetWindow");
}