PyQt5 QDateEdit – Name Change Signal
In this article we will see how we can get the name change signal of the QDateEdit. Name is basically used for finding widget in the window and also for style sheet to edit the style sheet of the given name widget. This signal is emitted after the object’s name has been changed.
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
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
In order to do this we use
objectNameChanged method with the QDateEdit object
Syntax : date.objectNameChanged.connect(method)
Argument : It takes method as argument
Return : It returns None
Below is the implementation