PyQt5 QSpinBox – Setting tablet tracking
In this article we will see how we can set tablet tracking to the spin box. By default tablet tracking is in disabled state although we can change this any time. If tablet tracking is switched off, tablet move events only occur if the stylus is in contact with the tablet, or at least one stylus button is pressed, while the stylus is being moved. If tablet tracking is switched on, tablet move events occur even while the stylus is hovering in proximity of the tablet, with no buttons pressed.
In order to do this we use
setTabletTracking method with the spin box object.
Syntax : spin_box.setTabletTracking(True)
Argument : It takes bool as argument
Return : It returns None
Below is the implementation
My Personal Notes arrow_drop_up
Please Login to comment...