In this article we will see how we can assign name to the QDateEdit. Name property holds the date edits’s name as seen by assistive technologies. This is the primary name by which assistive technology such as screen readers announce the given date edit.
In order to do this we use
setAccessibleName method with the QDateEdit object
Syntax : date.setAccessibleName(text)
Argument : It takes string as argument
Return : It returns None
Below is the implementation
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.