mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 07:17:13 +02:00
resize works
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@2 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -39,18 +39,29 @@ qTabSettings::~qTabSettings(){
|
||||
|
||||
|
||||
void qTabSettings::SetupWidgetWindow(){
|
||||
/** Settings */
|
||||
comboSettings->setCurrentIndex(myDet->getSettings(Detector_Index));
|
||||
}
|
||||
|
||||
|
||||
|
||||
void qTabSettings::Initialization(){
|
||||
/** Settings */
|
||||
connect(comboSettings,SIGNAL(currentIndexChanged(int)),this,SLOT(setSettings(int)));
|
||||
}
|
||||
|
||||
|
||||
|
||||
void qTabSettings::Enable(bool enable){
|
||||
//this->setEnabled(enable);
|
||||
|
||||
comboSettings->setEnabled(enable);
|
||||
}
|
||||
|
||||
|
||||
void qTabSettings::setSettings(int index){
|
||||
slsDetectorDefs::detectorSettings sett = myDet->setSettings((slsDetectorDefs::detectorSettings)index,Detector_Index);
|
||||
#ifdef VERBOSE
|
||||
cout<<"Settings have been set to "<<myDet->slsDetectorBase::getDetectorSettings(sett)<<endl;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user