Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

qspinbox disable wheel python

from PyQt5 import QtWidgets

box = QtWidgets.QSpinBox()
box.wheelEvent = lambda event: None
 
PREVIOUS NEXT
Tagged: #qspinbox #disable #wheel #python
ADD COMMENT
Topic
Name
5+7 =