def helpAbout(self, copyrightDate, about, version=1.0):
"""
This is a helper method for easily adding a generic help messageBox to self
Creates a about MessageBox
:param copyrightDate : string , the copyright date for the tool
:param about : string, the about information
"""
__version__ = version
QtWidgets.QMessageBox.about(self, "About" + self.objectName(),
"<b>'About {0}</b> v {1}Copyright © 2007,{2}.All rights reserved.\
<p>Python {3} - Qt {4} - PyQt {5} on {6}".format(copyrightDate, about,
__version__,
platform.python_version(),
QtCore.QT_VERSION_STR,
QtCore.PYQT_VERSION_STR,
platform.system()))
评论列表
文章目录