From 93f8b883b512d8d876cc3329c636a77307a96423 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Tue, 17 Oct 2023 12:19:30 +0200 Subject: [PATCH] Squashed commit of the following: commit 5f31eb1e785152dee44b0be6a6d2c3f50111c784 Author: Uwe Rathmann Date: Tue Oct 17 12:14:42 2023 +0200 QskDrawer reimplemented, can be open by a swipe gesture now. more work to do --- examples/gallery/main.cpp | 4 ---- src/controls/QskDrawer.cpp | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/gallery/main.cpp b/examples/gallery/main.cpp index b447bd71..611c620f 100644 --- a/examples/gallery/main.cpp +++ b/examples/gallery/main.cpp @@ -62,10 +62,6 @@ namespace Drawer( QQuickItem* parent = nullptr ) : QskDrawer( parent ) { -#if 1 - setOverlay( true ); -#endif - auto box = new QskLinearBox( Qt::Vertical, this ); box->setSection( QskAspect::Header ); diff --git a/src/controls/QskDrawer.cpp b/src/controls/QskDrawer.cpp index 8d60f8ce..8965337d 100644 --- a/src/controls/QskDrawer.cpp +++ b/src/controls/QskDrawer.cpp @@ -218,6 +218,7 @@ QskDrawer::QskDrawer( QQuickItem* parentItem ) setZ( 1 ); #endif + setOverlay( true ); setPolishOnResize( true ); setPopupFlag( PopupFlag::CloseOnPressOutside, true );