def restore_gui(self):
     """
     Restore the GUI 
     """
     EditCommand.restore_gui(self)
     if self.flyoutToolbar:
         self.flyoutToolbar.editResiduesAction.setChecked(False)    
 def restore_gui(self):
     """
     Restore the GUI 
     """
     EditCommand.restore_gui(self)
     if self.flyoutToolbar:
         self.flyoutToolbar.editResiduesAction.setChecked(False)
Пример #3
0
 def restore_gui(self):
     """
     Restore the GUI 
     """
     EditCommand.restore_gui(self)
     if self.flyoutToolbar:
         self.flyoutToolbar.displayProteinStyleAction.setChecked(False)    
Пример #4
0
 def restore_gui(self):
     """
     @see: EditCommand.restore_gui
     """
     EditCommand.restore_gui(self)
     #Following call doesn't update the struct with steps similar to 
     #ones in bug 2699. Instead calling struct.updateCosmeticProps directly
     ##self.propMgr.update_props_if_needed_before_closing()
     if self.hasValidStructure():
         self.struct.updateCosmeticProps() 
 def restore_gui(self):
     """
     @see: EditCommand.restore_gui
     """
     EditCommand.restore_gui(self)
     #Following call doesn't update the struct with steps similar to
     #ones in bug 2699. Instead calling struct.updateCosmeticProps directly
     ##self.propMgr.update_props_if_needed_before_closing()
     if self.hasValidStructure():
         self.struct.updateCosmeticProps()
Пример #6
0
 def restore_gui(self):
     """
     Do changes to the GUI while exiting this command. This includes closing 
     this mode's property manager, updating the command toolbar ,
     Note: The slot connection/disconnection in property manager and 
     command toolbar is handled in those classes.
     @see: L{self.init_gui}
     """
     EditCommand.restore_gui(self)
     if self.flyoutToolbar:
         self.flyoutToolbar.deActivateFlyoutToolbar()
 def restore_gui(self):
     """
     Do changes to the GUI while exiting this command. This includes closing 
     this mode's property manager, updating the command toolbar ,
     Note: The slot connection/disconnection in property manager and 
     command toolbar is handled in those classes.
     @see: L{self.init_gui}
     """
     EditCommand.restore_gui(self)
     if self.flyoutToolbar:
         self.flyoutToolbar.deActivateFlyoutToolbar()
    def restore_gui(self):
        """
        Do changes to the GUI while exiting this command. This includes closing 
        this mode's property manager, updating the command toolbar ,
        Note: The slot connection/disconnection in property manager and 
        command toolbar is handled in those classes.
        @see: L{self.init_gui}
        """                    
        EditCommand.restore_gui(self)

        if isinstance(self.graphicsMode, NanotubeLine_GM):
            self.mouseClickPoints = []

        self.graphicsMode.resetVariables()   

        if self.flyoutToolbar:
            self.flyoutToolbar.insertNanotubeAction.setChecked(False)

        self._segmentList = []
    def restore_gui(self):
        """
        Do changes to the GUI while exiting this command. This includes closing 
        this mode's property manager, updating the command toolbar ,
        Note: The slot connection/disconnection in property manager and 
        command toolbar is handled in those classes.
        @see: L{self.init_gui}
        """
        EditCommand.restore_gui(self)

        if isinstance(self.graphicsMode, NanotubeLine_GM):
            self.mouseClickPoints = []

        self.graphicsMode.resetVariables()

        if self.flyoutToolbar:
            self.flyoutToolbar.insertNanotubeAction.setChecked(False)

        self._segmentList = []