(self, QShowEvent)
return super().showEvent(QShowEvent)
center dialog update title
center dialog update title
center dialog update title
def showEvent(self, QShowEvent):  # pylint: disable=invalid-name
        """ center dialog update title
        """
        self.setWindowTitle(self.title)
        self.setGeometry(
            QStyle.alignedRect(Qt.LeftToRight, Qt.AlignCenter, self.size(),
                               qApp.desktop().availableGeometry()))
        return super().showEvent(QShowEvent)
def showEvent ( self , QShowEvent ) : # pylint: disable=invalid-name self . setWindowTitle ( self . title ) self . setGeometry ( QStyle . alignedRect ( Qt . LeftToRight , Qt . AlignCenter , self . size ( ) , qApp . desktop ( ) . availableGeometry ( ) ) ) return super ( ) . showEvent ( QShowEvent )