Example #1
0
 def restoreState(self, state, update=False):
     """overwriting standard Node method to extend it with restoring ctrlWidget state"""
     logger.debug("restoring [{0}] Node's state".format(self.name()))
     Node.restoreState(self, state)
     logger.debug("restored state of [{0}] Node".format(self.name()))
     # additionally restore state of the control widget
     self._ctrlWidget.restoreState(state['crtlWidget'])
     if update:
         self.update()
Example #2
0
 def restoreState(self, state, update=False):
     """overwriting standard Node method to extend it with restoring ctrlWidget state"""
     logger.debug("restoring [{0}] Node's state".format(self.name()))
     Node.restoreState(self, state)
     logger.debug("restored state of [{0}] Node".format(self.name()))
     # additionally restore state of the control widget
     self._ctrlWidget.restoreState(state['crtlWidget'])
     if update:
         self.update()
Example #3
0
 def restoreState(self, state):
     """overwriting stadart Node method to extend it with restoring ctrlWidget state"""
     Node.restoreState(self, state)
     # additionally restore state of the control widget
     self._ctrlWidget.restoreState(state['crtlWidget'])
Example #4
0
 def restoreState(self, state):
     """overwriting stadart Node method to extend it with restoring ctrlWidget state"""
     Node.restoreState(self, state)
Example #5
0
 def restoreState(self, state):
     """overwriting stadart Node method to extend it with restoring ctrlWidget state"""
     Node.restoreState(self, state)
Example #6
0
 def restoreState(self, state):
     """overwriting stadart Node method to extend it with restoring ctrlWidget state"""
     Node.restoreState(self, state)
     # additionally restore state of the control widget
     self._ctrlWidget.restoreState(state['crtlWidget'])