Mouse wheel on Slider QML component

David Edmundson david at davidedmundson.co.uk
Thu Jun 7 23:15:55 UTC 2012


On Thu, Jun 7, 2012 at 9:51 PM, Viranch Mehta <viranch.mehta at gmail.com> wrote:
> Hi,
>
> I wanted to know if the Slider (from QML components) can be moved
> using the mouse wheels. If not, is it possible to implement it atm?
>
Qt 4.x does not have a wheel event on MouseArea therefore it's not
possible to fix Slider in Components.

Qt5 does.
We could make our own Plasma.Extras.MouseArea which is just a subclass
of qdeclarativemousearea with the new code.. it's quite an important
feature to match QWidgets parity, but I don't know if it's worth it.

Dave

> Thanks,
> Viranch
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>


More information about the Plasma-devel mailing list