changes reverted

This commit is contained in:
Uwe Rathmann 2022-01-07 15:09:05 +01:00
parent d1f6902c27
commit 3f0aaae1a1
2 changed files with 4 additions and 9 deletions

View File

@ -164,8 +164,8 @@ QskPopup::QskPopup( QQuickItem* parent )
Need to think about a solution TODO ...
*/
Inherited::setAcceptedMouseButtons( Qt::AllButtons );
Inherited::setWheelEnabled( true );
setAcceptedMouseButtons( Qt::AllButtons );
setWheelEnabled( true );
// we don't want to be resized by layout code
setTransparentForPositioner( true );
@ -175,9 +175,8 @@ QskPopup::QskPopup( QQuickItem* parent )
setFocusPolicy( Qt::StrongFocus );
/*
sending a notification to the window, that can
be used to register popups for some sort of
popup/window management
sending a notification, that can be used to register popups
for some sort of popup/window management
*/
qskSendPopupEvent( window(), this, true );
}

View File

@ -69,10 +69,6 @@ class QSK_EXPORT QskPopup : public QskControl
bool isOpen() const;
bool isFading() const;
// we always need to accept all inputs, to stop further propagation
void setAcceptedMouseButtons( Qt::MouseButtons ) = delete;
void setWheelEnabled( bool ) = delete;
public Q_SLOTS:
void open();
void close();