class AboutDialog(QtGui.QDialog): def __init__(self, *args, **kwargs): QtGui.QDialog.__init__(self, *args, **kwargs) self.ui = Ui_AboutDialog() self.ui.setupUi(self) self.ui.labelNameVersion.setText("edledit %s" % __version__) def license(self): dlg = QtGui.QDialog(self) ui = Ui_LicenseDialog() ui.setupUi(dlg) dlg.exec_()
def __init__(self, *args, **kwargs): QtGui.QDialog.__init__(self, *args, **kwargs) self.ui = Ui_AboutDialog() self.ui.setupUi(self) self.ui.labelNameVersion.setText("edledit %s" % __version__)