Ejemplo n.º 1
0
 def focusInEvent(self, QFocusEvent):
     self.parent.set_active_layout(self.widget())
     QDockWidget.focusInEvent(self, QFocusEvent)