In this article we will see how we check the date edit pop-up of the QCalendarWidget is enabled or not. By default date edit pop-up is enabled, The date edit is simpler in appearance than QDateEdit, but allows the user to navigate between fields using the left and right cursor keys, increment and decrement individual fields using the up and down cursor keys, and enter values directly using the number keys. Pop-up can be enabled or disabled with the help of
setDateEditEnabled method, below is how date edit pop up looks like
In order to do this we will use
isDateEditEnabledmethod with the QCalendarWidget object.
Syntax : calendar.isDateEditEnabled()
Argument : It takes no argument
Return : It return bool
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. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course