Sounds like you could override wheelEvent and forward those events to then
increment the current value in the box.
http://qt-project.org/doc/qt-5/qwidget.html#wheelEvent


On 19 March 2014 15:12, Arvid Schneider <[email protected]> wrote:

> Hey Guys,
> I am rather new to Qt and I have a doubleSpinbox and want to change values
> with the mouse wheel, like in Nuke. Wherever the cursor is, those values
> should be changed while using the mouse wheel.
> Can someone help me out how to do that?
> Best regards,
> Arvid
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/f4071062-db49-49f0-b037-9361317d25a7%40googlegroups.com<https://groups.google.com/d/msgid/python_inside_maya/f4071062-db49-49f0-b037-9361317d25a7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBpDGSsXzrhXkpuyjv%3DvgSj%3DVA0uni6spc9rLncY9rJgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to