Exemplo n.º 1
0
 def postDetach(self):
     '''reimplemented from :class:`TaurusBaseWritableWidget`'''
     TaurusBaseWritableWidget.postDetach(self)
     Qt.QObject.disconnect(self, Qt.SIGNAL("currentIndexChanged(int)"),
                           self.writeIndexValue)
     Qt.QObject.disconnect(self, Qt.SIGNAL("applied()"),
                           self.writeValue)
Exemplo n.º 2
0
 def postDetach(self):
     '''reimplemented from :class:`TaurusBaseWritableWidget`'''
     TaurusBaseWritableWidget.postDetach(self)
     try:
         self.currentIndexChanged.disconnect(self.writeIndexValue)
     except TypeError:
         # In new style-signal if a signal is disconnected without
         # previously was connected it, it raises a TypeError
         pass
Exemplo n.º 3
0
 def postDetach(self):
     '''reimplemented from :class:`TaurusBaseWritableWidget`'''
     TaurusBaseWritableWidget.postDetach(self)
     try:
         self.currentIndexChanged.disconnect(self.writeIndexValue)
         self.applied.disconnect(self.writeValue)
     except TypeError:
         # In new style-signal if a signal is disconnected without
         # previously was connected it, it raises a TypeError
         pass