def default_message(self, ui_name):
msgName = ui_name[:-7]+"_msg"
msg_txt = msgName + " is not defined in uiList."
if msgName in self.uiList:
msg_txt = self.uiList[msgName]
tmpMsg = QtGui.QMessageBox()
tmpMsg.setWindowTitle("Info")
tmpMsg.setText(msg_txt)
tmpMsg.addButton("OK",QtGui.QMessageBox.YesRole)
tmpMsg.exec_()
#=======================================
#- UI and RAM content update functions (optional)
#=======================================
universal_tool_template_v7.3.py 文件源码
python
阅读 28
收藏 0
点赞 0
评论 0
评论列表
文章目录