def setupConnections(self):
        logging.debug('USRegistrationGuidelet.setupConnections')
        Guidelet.setupConnections(self)

        # panels
        self.ui.captureCollapsibleButton.connect('toggled(bool)',
                                                 self.onCapturePanelToggled)
        self.ui.registerCollapsibleButton.connect('toggled(bool)',
                                                  self.onRegisterPanelToggled)
        self.ui.segmentCollapsibleButton.connect('toggled(bool)',
                                                 self.onSegmentPanelToggled)

        # load & segment panel
        self.ui.loadPatientDataButton.connect('clicked(bool)',
                                              self.onLoadPatientDataClicked)
        self.ui.createModelButton.connect('clicked(bool)',
                                          self.onCreateModelClicked)

        # capture panel
        self.ui.deleteSeqButton.connect('clicked(bool)',
                                        self.onDeleteSeqClicked)
        self.ui.loadTFModelButton.connect('clicked(bool)',
                                          self.onLoadTFModelClicked)
        self.ui.pauseRecButton.connect('clicked(bool)', self.onPauseRecClicked)
        self.ui.startStopRecButton.connect('clicked(bool)',
                                           self.onStartStopRec)

        # register panel
        self.ui.performRegButton.connect('clicked(bool)',
                                         self.onPerformRegClicked)
示例#2
0
 def setupConnections(self):
     logging.debug('ScoliUs.setupConnections()')
     Guidelet.setupConnections(self)
     self.calibrationCollapsibleButton.connect(
         'toggled(bool)', self.onPatientSetupPanelToggled)
     self.exampleButton.connect('clicked(bool)',
                                self.onExampleButtonClicked)
示例#3
0
    def setupConnections(self):
        logging.debug('EpiGuide.setupConnections()')
        Guidelet.setupConnections(self)

        self.navigationCollapsibleButton.connect('toggled(bool)',
                                                 self.onNavigationPanelToggled)
        # Add our own behaviour (in addition to the default behavior) of the Ultrasound record button
        self.ultrasound.startStopRecordingButton.connect(
            'clicked(bool)', self.onStartStopRecordingButtonClicked)
 def setupConnections(self):
   logging.debug('ScoliUs.setupConnections()')
   Guidelet.setupConnections(self)
   self.calibrationCollapsibleButton.connect('toggled(bool)', self.onPatientSetupPanelToggled)
   self.exampleButton.connect('clicked(bool)', self.onExampleButtonClicked)
    def setupConnections(self):
        logging.debug('UltrasoundTrainingSystem.setupConnections()')
        Guidelet.setupConnections(self)

        self.LoadSceneButton.connect('clicked()', self.openLoadSceneDialog)
示例#6
0
    def setupConnections(self):
        logging.debug('UsSimulatorTraining.setupConnections()')
        Guidelet.setupConnections(self)

        self.LoadSceneButton.connect('clicked()', self.openLoadSceneDialog)