qtdeclarative/tests/manual/treeview/sidebyside
Richard Moe Gustavsen 8333954f7e 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 <mitch.curtis@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2022-12-09 11:38:54 +01:00
..
data QQQuickTreeView: double expand from TreeView, not TreeViewDelegate 2022-12-09 11:38:54 +01:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
main.cpp Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
testmodel.cpp QQuickTreeViewDelegate: implement edit delegates 2022-12-08 23:33:42 +01:00
testmodel.h QQuickTreeViewDelegate: implement edit delegates 2022-12-08 23:33:42 +01:00
uicallback.h Use SPDX license identifiers 2022-06-11 08:05:15 +02:00