mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 14:38:14 +02:00
1. bug fix: loading trimbits and gui complains of different trimbits and sets them all to zero. This is fixed. It just loads -1 to gui. 2. Advanced Tab made slightly better aligned
This commit is contained in:
parent
3fb92aa9dd
commit
bcea5a99a1
@ -142,7 +142,7 @@
|
||||
<rect>
|
||||
<x>230</x>
|
||||
<y>15</y>
|
||||
<width>242</width>
|
||||
<width>226</width>
|
||||
<height>44</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -783,6 +783,9 @@ An extension given by the modules serial number will be attached.
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>-1</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>63</number>
|
||||
</property>
|
||||
|
@ -1131,14 +1131,6 @@ void qTabAdvanced::updateAllTrimbitsFromServer(){
|
||||
|
||||
int ret = myDet->setAllTrimbits(-1);
|
||||
qDefs::checkErrorMessage(myDet,"qTabAdvanced::updateAllTrimbitsFromServer");
|
||||
if(ret<0){
|
||||
qDefs::Message(qDefs::WARNING,"Inconsistent value from alltrimbits value.\n"
|
||||
"Setting it for all detectors involved to 0.","qTabAdvanced::updateAllTrimbitsFromServer");
|
||||
//set to default
|
||||
spinSetAllTrimbits->setValue(0);
|
||||
myDet->setAllTrimbits(0);
|
||||
qDefs::checkErrorMessage(myDet,"qTabAdvanced::updateAllTrimbitsFromServer");
|
||||
}else
|
||||
spinSetAllTrimbits->setValue(ret);
|
||||
|
||||
connect(spinSetAllTrimbits, SIGNAL(editingFinished()), this, SLOT(SetAllTrimbits()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user