diff options
author | Michael Hasselmann <michaelh@openismus.com> | 2011-02-10 18:14:45 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2011-03-16 08:37:52 (GMT) |
commit | 517290f73be74d1cf08fbd603870d3dacc379ff3 (patch) | |
tree | 8354ffe3c15c37544fae1e284bfa6bb0ec18e3f2 /dist/changes-4.6.2 | |
parent | 5949c215bd53582d0c6481f606a9ec015f067b37 (diff) | |
download | Qt-517290f73be74d1cf08fbd603870d3dacc379ff3.zip Qt-517290f73be74d1cf08fbd603870d3dacc379ff3.tar.gz Qt-517290f73be74d1cf08fbd603870d3dacc379ff3.tar.bz2 |
Introduce QGraphicsItem::ItemStopsFocusHandling flag
When set for an item, QGraphicsScene will skip focus handling for this item and
everything underneath it (including focus-out). Allows users to reimplement
custom focus handling.
Use case: touch devices that implement panning. Here, focus-in has to happen
only if no panning was triggered. Analogous, no focus-out should happen when
panning was detected.
Fixes the alternative proposal ("black holes for focus changes") of
QTBUG-16343: QGraphicsView doesn't support focus change on mouse release.
The previous test was only testing one scenario, which didn't give a good idea
whether the flag was actually working as intended.
Task-number: QTBUG-17505
Reviewed-by: Yoann Lopes
Reviewed-by: Jan-Arve Sæther
Diffstat (limited to 'dist/changes-4.6.2')
0 files changed, 0 insertions, 0 deletions