def showEvent(self, event): self._onShowEvent() QMainWindow.showEvent(self, event)
def showEvent(self, event): QMainWindow.showEvent(self, event) if not self._alreadyShown: splitter = self._ui.splitter splitter.setSizes((0.75 * splitter.height(), 0.25 * splitter.height())) self._alreadyShown = True
def showEvent(self, event): # emit signal self.emit(SIGNAL("onShow()")) # execute not overloaded showEvent QMainWindow.showEvent(self, event)