Initial Round of Sandbox implementation

This commit is contained in:
reiche authored and Sven committed 2026-01-26 12:51:49 +01:00
1 parent d896a50e0b
commit 8c428539a3
12 files changed
+242 -99449

No files matched your search

+7 -1
View File
@@ -21,6 +21,12 @@ class ReferenceManager:
#### all event selecting some tracking points
def swithToUserDefinedLocation(self):
n = self.parent.UITrackReference.count()
self.parent.UITrackReference.setCurrentIndex(n-1)
def updateReferenceLocation(self,location):
self.parent.UITrackLocation.setText(location)
def updateReferencePoint(self,twiss):
for key in self.twisswidget.keys():
@@ -47,7 +53,7 @@ class ReferenceManager:
return
twiss = self.reference['Reference'][key]['twiss']
name = self.reference['Reference'][key]['location']
self.parent.UITrackLocation.setText(name)
self.updateReferenceLocation(name)
self.updateReferencePoint(twiss)
def updateReferenceComboBox(self):