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 ...
|
Need to think about a solution TODO ...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Inherited::setAcceptedMouseButtons( Qt::AllButtons );
|
setAcceptedMouseButtons( Qt::AllButtons );
|
||||||
Inherited::setWheelEnabled( true );
|
setWheelEnabled( true );
|
||||||
|
|
||||||
// we don't want to be resized by layout code
|
// we don't want to be resized by layout code
|
||||||
setTransparentForPositioner( true );
|
setTransparentForPositioner( true );
|
||||||
@ -175,9 +175,8 @@ QskPopup::QskPopup( QQuickItem* parent )
|
|||||||
setFocusPolicy( Qt::StrongFocus );
|
setFocusPolicy( Qt::StrongFocus );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
sending a notification to the window, that can
|
sending a notification, that can be used to register popups
|
||||||
be used to register popups for some sort of
|
for some sort of popup/window management
|
||||||
popup/window management
|
|
||||||
*/
|
*/
|
||||||
qskSendPopupEvent( window(), this, true );
|
qskSendPopupEvent( window(), this, true );
|
||||||
}
|
}
|
||||||
|
@ -69,10 +69,6 @@ class QSK_EXPORT QskPopup : public QskControl
|
|||||||
bool isOpen() const;
|
bool isOpen() const;
|
||||||
bool isFading() 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:
|
public Q_SLOTS:
|
||||||
void open();
|
void open();
|
||||||
void close();
|
void close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user