D20155: [SpinBox] Improve mouse wheel behavior

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Apr 1 09:43:29 BST 2019


broulik created this revision.
broulik added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  Emit `valueChanged` signal since this is an explicit user interaction.
  Also, enforce "steps" for high precision touchpad scrolling.

TEST PLAN
  - Scrolling with touchpad no longer makes it go crazy
  - Changing value with wheel has the same effect now as clicking the arrow buttons

REPOSITORY
  R858 Qt Quick Controls 2: Desktop Style

REVISION DETAIL
  https://phabricator.kde.org/D20155

AFFECTED FILES
  org.kde.desktop/SpinBox.qml

To: broulik, #plasma
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190401/b7ac2ee3/attachment.html>


More information about the Plasma-devel mailing list