universal_tool_template_1020.py 文件源码

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

项目:universal_tool_template.py 作者: shiningdesign 项目源码 文件源码
def quickMsg(self, msg, block=1):
        tmpMsg = QtWidgets.QMessageBox(self) # for simple msg that no need for translation
        tmpMsg.setWindowTitle("Info")
        tmpMsg.setText(msg)
        if block == 0:
            tmpMsg.setWindowModality( QtCore.Qt.NonModal )
        tmpMsg.addButton("OK",QtWidgets.QMessageBox.YesRole)
        if block:
            tmpMsg.exec_()
        else:
            tmpMsg.show()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号