PyQt5 QCalendarWidget – Getting Size Increment
In this article we will see how we can get the size increment of the QCalendarWidget. Size increment is used when calendar size is changeable with the change main window size.By default, for a newly-created calendar, this property contains a size with zero width and height.
Note : The size increment has no effect under Windows, and may be disregarded by the window manager on X11.
In order to do this we will use
sizeIncrementmethod with the QCalendarWidget object.
Syntax : calendar.sizeIncrement()
Argument : It takes no argument
Return : It return QSize object
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