qspinbox disable wheel python code example
Example: qspinbox disable wheel python
from PyQt5 import QtWidgets
box = QtWidgets.QSpinBox()
box.wheelEvent = lambda event: None
from PyQt5 import QtWidgets
box = QtWidgets.QSpinBox()
box.wheelEvent = lambda event: None