aboutsummaryrefslogtreecommitdiffstats
path: root/.qmake.conf
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-09-03 21:16:03 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-09-06 15:20:07 +0000
commitbc0fdae8fad4e199792b3f00ebcb74bd80473227 (patch)
treeabb864d517e7f32ffebd80cb5dde97137ba1756e /.qmake.conf
parent671a4a83bc709e5f871ed5d5b76ad078140283bf (diff)
Fix drawer visibility and overlay event handling
Drawers were visible all the time, lurking at the window edges to be able to catch presses and drag themselves visible when appropriate. This change moves the handling of window edge presses from QQuickDrawer to QQuickOverlay, making it possible to show and hide drawers like any other popups. Instead of having all drawers visible all the time, we just keep QQuickOverlay visible when there are any registered drawers, even hidden ones. Furthermore, this change makes modal popup/drawer background dimming items accept mouse press events just like they accept hover events to ensure that a modal overlay does not leak input events through. When the background dimming of a modal drawer has been dragged over the drag-threshold, the drawer simply steals/grabs mouse to start dragging of the drawer. Task-number: QTBUG-54794 Task-number: QTBUG-54800 Task-number: QTBUG-55022 Task-number: QTBUG-55703 Task-number: QTBUG-55713 Change-Id: I65fb38fcf1466d4e41192c4321d80fb90b49da9a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions