本文整理汇总了Python中guidata.qt.QtGui.QMessageBox.about方法的典型用法代码示例。如果您正苦于以下问题:Python QMessageBox.about方法的具体用法?Python QMessageBox.about怎么用?Python QMessageBox.about使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类guidata.qt.QtGui.QMessageBox
的用法示例。
在下文中一共展示了QMessageBox.about方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: about
# 需要导入模块: from guidata.qt.QtGui import QMessageBox [as 别名]
# 或者: from guidata.qt.QtGui.QMessageBox import about [as 别名]
def about( self ):
QMessageBox.about( self, _("About ")+APP_NAME,
"""<b>%s</b> v%s<p>%s Darko Petrovic
<br>(Lisence goes here)
<p>Python %s, Qt %s, PyQt %s %s %s""" % \
(APP_NAME, VERSION, _("Developped by"), platform.python_version(),
QT_VERSION_STR, PYQT_VERSION_STR, _("on"), platform.system()) )
示例2: about
# 需要导入模块: from guidata.qt.QtGui import QMessageBox [as 别名]
# 或者: from guidata.qt.QtGui.QMessageBox import about [as 别名]
def about(self):
QMessageBox.about( self, _("About ")+APP_NAME,
"""<b>%s</b> v%s<p>%s Pierre Raybaut
<br>Copyright © 2009-2010 CEA
<p>Python %s, Qt %s, PyQt %s %s %s""" % \
(APP_NAME, VERSION, _("Developped by"), platform.python_version(),
QT_VERSION_STR, PYQT_VERSION_STR, _("on"), platform.system()) )
示例3: about
# 需要导入模块: from guidata.qt.QtGui import QMessageBox [as 别名]
# 或者: from guidata.qt.QtGui.QMessageBox import about [as 别名]
def about(self):
QMessageBox.about( self, _("About ")+APP_NAME,
"""<b>%s</b> v%s<br>%s<p>
<br>Copyright © François Bianco, University of Geneva
<br>[email protected]
<br>Distributed under the GNU GPL License v.3
""" % \
(APP_NAME, VERSION, APP_DESC))
示例4: on_actionAbout_triggered
# 需要导入模块: from guidata.qt.QtGui import QMessageBox [as 别名]
# 或者: from guidata.qt.QtGui.QMessageBox import about [as 别名]
def on_actionAbout_triggered(self):
QMessageBox.about(self, "About Zupport GUI",
"""<b>Zupport GUI</b> v %s
<p>Copyright © 2011 Joona Lehtomaki
<[email protected]>.
All rights reserved.
<p>Support zools for Zonation related pre- and post-processing operations.</p>
<p>Python %s - Qt %s - PySide %s on %s</p>""" % (
__version__, platform.python_version(),
QT_VERSION,
PYQT_VERSION, platform.system()))