PyQt5 QCalendarWidget – Input Method Query Property
In this article we will see how we can set the input method query to the QCalendarWidget. Input method query property is used by the input method to query a set of properties of the calendar to be able to support complex input method operations as support for surrounding text and reconversions.
In order to do this we will use
inputMethodQuerymethod with the QCalendarWidget object.
Syntax : calendar.inputMethodQuery(query)
Argument : It takes InputMethodQuery object as argument
Return : It return None
Below is the implementation