GUI: changed which camera view is visible during mounting
This commit is contained in:
@@ -410,11 +410,10 @@ class MainWindow(QMainWindow):
|
||||
"About",
|
||||
"Aare Macromolecular Crystallography GUI\nVersion: 1.0\nCopyright: Paul Scherrer Institute 2024-2025",
|
||||
)
|
||||
|
||||
#TODO tidy up mount and sampel view fucntions
|
||||
@Slot()
|
||||
def mount_view(self):
|
||||
#WIP set view to beamline combined view
|
||||
self.video_tab.setCurrentIndex(1)
|
||||
self.video_tab.setCurrentIndex(3)
|
||||
|
||||
@Slot()
|
||||
def sample_view(self):
|
||||
@@ -424,7 +423,7 @@ class MainWindow(QMainWindow):
|
||||
def update_daq_status(self, s: DAQStatusModel):
|
||||
if not self.__mounting and s.state == BeamlineStateEnum.RobotSampleExchange:
|
||||
self.__mounting = True
|
||||
self.video_tab.setCurrentIndex(1)
|
||||
self.video_tab.setCurrentIndex(3)
|
||||
elif self.__mounting and s.state != BeamlineStateEnum.RobotSampleExchange:
|
||||
self.__mounting = False
|
||||
self.video_tab.setCurrentIndex(0)
|
||||
|
||||
Reference in New Issue
Block a user