In this article we will see how we can get the rejected signal of the QColorDialog widget. This signal is emitted when the dialog has been rejected either by the user or by calling reject() or done() with the QDialog::Rejected argument.
Note : This signal is not emitted when hiding the dialog with hide() or setVisible(false). This includes deleting the dialog while it is visible.
In order to do this we use rejected method with the QColorDialog object
Please Login to comment...