pyqt: confirm window
1 2 3 | reply = QtGui.QMessageBox.question(self, 'Message', "Are you sure to quit?", QtGui.QMessageBox.Yes | QtGui.QMessageBox.No, QtGui.QMessageBox.No) |
We show a message box with two buttons. Yes and No. The first string appears on the titlebar. The second string is th 继续>