class UDSAboutDialog(QtGui.QDialog): def __init__(self, parent=None): QtGui.QDialog.__init__(self, parent) self.ui = Ui_UDSAboutDialog() self.ui.setupUi(self) def closeDialog(self): self.hide()
class UDSAboutDialog(QtGui.QDialog): def __init__(self, parent=None): QtGui.QDialog.__init__(self, parent) self.ui = Ui_UDSAboutDialog() self.ui.setupUi(self) self.ui.VersionLabel.setText("Version " + VERSION) def closeDialog(self): self.hide()