diff options
author | Richard Moe Gustavsen <[email protected]> | 2022-11-30 14:56:37 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <[email protected]> | 2022-12-09 11:38:54 +0100 |
commit | 8333954f7e3cccf4994c4e9996efac71db497acb (patch) | |
tree | 0e5cf46d377c4ec24af51956a59795644833b627 /src/qml/jsruntime/qv4engine_p.h | |
parent | 4a11f077f0f8cefc86d54fa71f92563747f17976 (diff) |
QQQuickTreeView: double expand from TreeView, not TreeViewDelegate
We should ideally implement as much mouse logic as
possible outside the delegate. This will make it
easier to implement custom delegates, since you would
then only have to care about the visuals, and not the
mouse logic.
Therefore, move the doubleTap-to-toggle-expanded
logic out of TreeViewDelegate, and into TreeView, for
all custom delegates to enjoy.
Change-Id: I01f49252d35fed033f162d7bab47478abefe73d1
Reviewed-by: Mitch Curtis <[email protected]>
Reviewed-by: Shawn Rutledge <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
0 files changed, 0 insertions, 0 deletions