D29534: Implement scroll and drag adjustment of values for SpinBox control
Arjen Hiemstra
noreply at phabricator.kde.org
Mon May 11 09:58:58 BST 2020
ahiemstra added inline comments.
INLINE COMMENTS
> SpinBox.qml:54
> + // Because we're stomping the Text Input's own mouse handling
> + textField.forceActiveFocus()
> + }
You can do `mouse.accepted = false` instead of forceActiveFocus to allow the mouse press to go to items below it. However, you might instead want to use DragHandler's onActiveChanged for this, as that signals when the actual drag is active.
REPOSITORY
R242 Plasma Framework (Library)
REVISION DETAIL
https://phabricator.kde.org/D29534
To: ngraham, #vdg, #plasma
Cc: ahiemstra, abetts, ndavis, cblack, kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200511/0cf45e2e/attachment-0001.htm>
More information about the Kde-frameworks-devel
mailing list