diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-06-24 13:11:05 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-06-24 13:29:04 (GMT) |
commit | 7bc00632dde1b718cbe1412e988ad006dc3d125f (patch) | |
tree | 8531eff6273230e8fd967df979217008b3cbed65 /tests/auto/qlist | |
parent | bf65425213b451d83e13c7423b289f391fd9f81c (diff) | |
download | Qt-7bc00632dde1b718cbe1412e988ad006dc3d125f.zip Qt-7bc00632dde1b718cbe1412e988ad006dc3d125f.tar.gz Qt-7bc00632dde1b718cbe1412e988ad006dc3d125f.tar.bz2 |
Add a new (internal) flag QGraphicsItem::ItemStopsClickFocusPropagation.
This flag allows you to create a non-focusable item that can be clicked
on without changing the focus. This is also possible to achieve by
using focus scopes / panels, however the implementation is then way
more complex. Thew new flag is tailored for simple uses cases where
you simply want to stop the propagation and nothing more.
Auto test included.
Task-number: QT-3499
Reviewed-by: yoann
Diffstat (limited to 'tests/auto/qlist')
0 files changed, 0 insertions, 0 deletions