QskControl::windowDeactivateEvent added

This commit is contained in:
Uwe Rathmann 2018-10-05 14:20:46 +02:00
parent e13f9eb4db
commit 1d0058a42c
2 changed files with 7 additions and 0 deletions

View File

@ -1606,6 +1606,12 @@ void QskControl::geometryChanged(
QCoreApplication::sendEvent( this, &event ); QCoreApplication::sendEvent( this, &event );
} }
void QskControl::windowDeactivateEvent()
{
// stopping gesture recognition ???
Inherited::windowDeactivateEvent();
}
void QskControl::layoutConstraintChanged() void QskControl::layoutConstraintChanged()
{ {
QQuickItem* item = parentItem(); QQuickItem* item = parentItem();

View File

@ -244,6 +244,7 @@ class QSK_EXPORT QskControl : public QQuickItem, public QskSkinnable
void itemChange( ItemChange, const ItemChangeData& ) override; void itemChange( ItemChange, const ItemChangeData& ) override;
void geometryChanged( const QRectF&, const QRectF& ) override; void geometryChanged( const QRectF&, const QRectF& ) override;
void windowDeactivateEvent() override;
void classBegin() override; void classBegin() override;
void componentComplete() override; void componentComplete() override;
void releaseResources() override; void releaseResources() override;