UI: Ignore wheelEvent for properties
Ignore wheelEvent using subclass slider,spinbox,combobox with eventhandlers: wheelEvent - ignore if widget is not focused, leaveEvent - clear focus when mouse leaves event. Use these new subclass widgets in properties to ignore wheelEvent when scrolling.
This commit is contained in:
@@ -232,6 +232,9 @@ set(obs_SOURCES
|
||||
focus-list.cpp
|
||||
menu-button.cpp
|
||||
double-slider.cpp
|
||||
slider-ignorewheel.cpp
|
||||
comboBox-ignorewheel.cpp
|
||||
spinBox-ignorewheel.cpp
|
||||
volume-control.cpp
|
||||
adv-audio-control.cpp
|
||||
item-widget-helpers.cpp
|
||||
@@ -283,6 +286,9 @@ set(obs_HEADERS
|
||||
display-helpers.hpp
|
||||
balance-slider.hpp
|
||||
double-slider.hpp
|
||||
slider-ignorewheel.hpp
|
||||
comboBox-ignorewheel.hpp
|
||||
spinBox-ignorewheel.hpp
|
||||
focus-list.hpp
|
||||
menu-button.hpp
|
||||
mute-checkbox.hpp
|
||||
|
Reference in New Issue
Block a user