summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_script_qscriptvalueiterator.cpp
diff options
context:
space:
mode:
authorMichael Hasselmann <michaelh@openismus.com>2011-02-10 19:14:45 +0100
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2011-03-16 09:37:52 +0100
commit517290f73be74d1cf08fbd603870d3dacc379ff3 (patch)
tree8354ffe3c15c37544fae1e284bfa6bb0ec18e3f2 /doc/src/snippets/code/src_script_qscriptvalueiterator.cpp
parent5949c215bd53582d0c6481f606a9ec015f067b37 (diff)
downloadqt4-tools-517290f73be74d1cf08fbd603870d3dacc379ff3.tar.gz
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 'doc/src/snippets/code/src_script_qscriptvalueiterator.cpp')
0 files changed, 0 insertions, 0 deletions