changes reverted
This commit is contained in:
parent
d1f6902c27
commit
3f0aaae1a1
@ -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 );
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user