pyqt are you sure dialog code example
Example: pyqt are you sure dialog
ret = qm.question(self,'', "Are you sure to reset all the values?", qm.Yes | qm.No)
if ret == qm.Yes:
ret = qm.question(self,'', "Are you sure to reset all the values?", qm.Yes | qm.No)
if ret == qm.Yes: