Exemplo n.º 1
0
 def close(self):
     """close - clean up
     """
     do_close = QtWidgets.QWidget.close(self)
     if do_close:
         sig.disconnect_all(self)
         DBG("unregister handlers\n")
         for hook, handler in self.handlers:
             g.unregisterHandler(hook, handler)
     return do_close
Exemplo n.º 2
0
 def close(self):
     """close - clean up
     """
     do_close = QtWidgets.QWidget.close(self)
     if do_close:
         sig.disconnect_all(self)
         DBG("unregister handlers\n")
         for hook, handler in self.handlers:
             g.unregisterHandler(hook, handler)
     return do_close