mainwindow.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:zoocore 作者: dsparrow27 项目源码 文件源码
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 &copy; 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()))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号