The PyQt4.QtGui.QDialog.accept() function is a method that is used to accept the dialog and close it. This function is typically called when the user has finished providing input or making selections in the dialog and wants to proceed with the selected options. By calling this function, the dialog is closed and any changes made by the user are confirmed and processed accordingly.
Python QDialog.accept - 60 examples found. These are the top rated real world Python examples of PyQt4.QtGui.QDialog.accept extracted from open source projects. You can rate examples to help us improve the quality of examples.