本文整理匯總了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 © 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__,
),
)
示例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 © 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__,
),
)