PyQt5 QDateEdit – Finished Signal
In this article we will see how we can get the finished signal of the QDateEdit. This signal is emitted editing is finished. This happens when the date edit loses focus and when enter is pressed. This signal is very important as it takes place only when the editing is finished, unlike other signals which get many time in small interval of time.
In order to do this we use
editingFinished method with the QDateEdit object
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course
Syntax : date.editingFinished.connect(method)
Argument : It takes method as argument
Return : It returns None
Below is the implementation