def captureSnapshot():
""" Logic to capture all the parameters for the data visualization """
# Code graciously taken from the Qt website
msgBox = QtGui.QMessageBox()
msgBox.setText("Capturing the snapshot.")
msgBox.setInformativeText("Do you want to capture the parameters of the visualization?")
msgBox.setStandardButtons(QtGui.QMessageBox.Save | QtGui.QMessageBox.Discard | QtGui.QMessageBox.Cancel)
msgBox.setDefaultButton(QtGui.QMessageBox.Save)
ret = msgBox.exec_()
if ret == QtGui.QMessageBox.Save:
pass
评论列表
文章目录