def outputDialog(msg):
# Create a simple dialog QMessageBox
# The first argument indicates the icon used: one of QtGui.QMessageBox.{NoIcon, Information, Warning, Critical, Question}
diag = QtGui.QMessageBox(QtGui.QMessageBox.Information, 'Output', msg)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()
评论列表
文章目录