Squashed commit of the following:

commit 5f31eb1e78
Author: Uwe Rathmann <Uwe.Rathmann@tigertal.de>
Date:   Tue Oct 17 12:14:42 2023 +0200

    QskDrawer reimplemented, can be open by a swipe gesture now. more work
    to do
This commit is contained in:
Uwe Rathmann 2023-10-17 12:19:30 +02:00
parent b2feda16e2
commit 93f8b883b5
2 changed files with 1 additions and 4 deletions

View File

@ -62,10 +62,6 @@ namespace
Drawer( QQuickItem* parent = nullptr ) Drawer( QQuickItem* parent = nullptr )
: QskDrawer( parent ) : QskDrawer( parent )
{ {
#if 1
setOverlay( true );
#endif
auto box = new QskLinearBox( Qt::Vertical, this ); auto box = new QskLinearBox( Qt::Vertical, this );
box->setSection( QskAspect::Header ); box->setSection( QskAspect::Header );

View File

@ -218,6 +218,7 @@ QskDrawer::QskDrawer( QQuickItem* parentItem )
setZ( 1 ); setZ( 1 );
#endif #endif
setOverlay( true );
setPolishOnResize( true ); setPolishOnResize( true );
setPopupFlag( PopupFlag::CloseOnPressOutside, true ); setPopupFlag( PopupFlag::CloseOnPressOutside, true );