PyQt5 QCalendarWidget – Ungrab Gesture Property
In this article we will see how we can unsubscribe the given grab gesture to the QCalendarWidget. There various grab gestures available for the calendar like tap gesture, a Tap-And-Hold (Long-Tap) gesture, a Pan gesture, a Pinch gesture, a Swipe gesture and a custom gesture, these can be set using
In order to do this we will use
ungrabGesturemethod with the QCalendarWidget object.
Syntax : calendar.ungrabGesture(Qt.TapGesture)
Argument : It takes gesture flag as argument
Return : It return 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. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course