PyQT4 WheelEvent? how to detect if the wheel have been use?
问题 im trying to find out in PyQT how can i set the Mousewheel event? i need it so i can attach it to the Qscroll area the code im using is working fine. but the size is hardcoded. i need it to somehow dynamically adjust depending on how the wheel(on the mouse) is used.. like when i slide the mouse wheel up. the height of my frame extends(like 50pixels per tick) and vise versa. self.scrollArea = QtGui.QScrollArea() #set the parent of scrollArea on the frame object of the computers self.scrollArea