diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-01-22 14:17:31 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-17 10:59:47 +0200 |
commit | d449c0e0e4e39606e0421090b9356c46bc29030c (patch) | |
tree | a953c04c27412f5218459f584fc5b08e933ea978 /dist | |
parent | 4dbef58c3d2a63f59c5ae32ba9dc47a2a9157474 (diff) |
When a window loses focus to a popup, event has PopupFocusReason
Followup to debe31e047060d790fb32c06e514d9df476df8bf : a popup
window can have focus, but a QQuickWindow needs to know why
it loses focus when a menu is opened, so that for example
copy/cut/paste Actions can apply to the text which did have
focus before the menu opened. The event's focus reason provides
enough information to deal with this situation.
Task-number: QTBUG-36292
Task-number: QTBUG-36332
Change-Id: Ifae999a364a61b125a4764c9db204a167bddf0b7
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions