当前位置: 首页>>代码示例>>Python>>正文


Python QMessageBox.about方法代码示例

本文整理汇总了Python中winpython.qt.QtGui.QMessageBox.about方法的典型用法代码示例。如果您正苦于以下问题:Python QMessageBox.about方法的具体用法?Python QMessageBox.about怎么用?Python QMessageBox.about使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在winpython.qt.QtGui.QMessageBox的用法示例。


在下文中一共展示了QMessageBox.about方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: about

# 需要导入模块: from winpython.qt.QtGui import QMessageBox [as 别名]
# 或者: from winpython.qt.QtGui.QMessageBox import about [as 别名]
 def about(self):
     """About this program"""
     QMessageBox.about(
         self,
         "About %s" % self.NAME,
         """<b>%s %s</b>
         <br>Package Manager and Advanced Tasks
         <p>Copyright &copy; 2012 Pierre Raybaut
         <br>Licensed under the terms of the MIT License
         <p>Created, developed and maintained by Pierre Raybaut
         <p><a href="%s">WinPython at Github.io</a>: downloads, bug reports,
         discussions, etc.</p>
         <p>This program is executed by:<br>
         <b>%s</b><br>
         Python %s, Qt %s, %s %s"""
         % (
             self.NAME,
             __version__,
             __project_url__,
             python_distribution_infos(),
             platform.python_version(),
             winpython.qt.QtCore.__version__,
             winpython.qt.API_NAME,
             winpython.qt.__version__,
         ),
     )
开发者ID:psycow,项目名称:winpython,代码行数:28,代码来源:controlpanel.py

示例2: about

# 需要导入模块: from winpython.qt.QtGui import QMessageBox [as 别名]
# 或者: from winpython.qt.QtGui.QMessageBox import about [as 别名]
 def about(self):
     """About this program"""
     QMessageBox.about(
         self,
         "About %s" % self.NAME,
         """<b>%s %s</b>
         <br>Package Manager and Advanced Tasks
         <p>Copyright &copy; 2012 Pierre Raybaut
         <br>Licensed under the terms of the MIT License
         <p>Created, developed and maintained by Pierre Raybaut
         <p>WinPython's community:
         <ul><li>Bug reports and feature requests: 
         <a href="%s">Google Code</a>
         </li><li>Discussions around the project: 
         <a href="%s">Google Group</a>
         </li></ul>
         <p>This program is executed by:<br>
         <b>%s</b><br>
         Python %s, Qt %s, %s %s"""
         % (
             self.NAME,
             __version__,
             __project_url__,
             __forum_url__,
             python_distribution_infos(),
             platform.python_version(),
             winpython.qt.QtCore.__version__,
             winpython.qt.API_NAME,
             winpython.qt.__version__,
         ),
     )
开发者ID:grakidov,项目名称:buildtools,代码行数:33,代码来源:controlpanel.py


注:本文中的winpython.qt.QtGui.QMessageBox.about方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。