aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlproperty.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2022-11-09 10:41:12 +0100
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2022-11-16 00:24:23 +0100
commit3af953871300f3eba3f6647e96a4e98532c4293a (patch)
tree31c93a9e3010014aee49d41d3547f9427ab2a2fb /src/qml/qml/qqmlproperty.h
parent7fa4a53ebba1d10f249d017551e618b0406a3b57 (diff)
QQuickTableView: don't change index if tapping on the resize area
The current implementation would change the current index when a single tap was done on the resize area between the cells. But doing that was not ideal if the tap turned out to be a double tap instead, since a double tap should only reset the column size. The current solution would solve this by using exclusive signals on the tap handler. But despite of that, it would still look wrong that a tap on the resize area, while the cursor has a resize appearance, changed the index. Using exclusive signals also comes with a small signal delay. So, all in all, it's simply better to change the logic so that the resize area is reserved for resizing only. And then, to change the current index, the tap needs to happen outside the resize area. Change-Id: I1e7cb8d1031d1b86c14d777c322f1717fa5eb171 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlproperty.h')
0 files changed, 0 insertions, 0 deletions