From ed071ecb65843660056a112d0543a26a0b431c4a Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Sat, 22 Jun 2019 16:15:37 +0200 Subject: [PATCH] delete childrenRect from the public API. It does not make sense for a system, where the parent is responsible for laying out the children --- src/controls/QskControl.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/controls/QskControl.h b/src/controls/QskControl.h index b57fdca3..82111ce4 100644 --- a/src/controls/QskControl.h +++ b/src/controls/QskControl.h @@ -264,6 +264,13 @@ class QSK_EXPORT QskControl : public QQuickItem, public QskSkinnable // don't use boundingRect - it seems to be deprecated QRectF boundingRect() const override final { return rect(); } + /* + childrenRect()/childrenRectChanged does not make much sense + in a system, where the parent is responsible for laying out + its children. + */ + void childrenRect() = delete; + void setActiveFocusOnTab( bool ) = delete; // use setFocusPolicy void updateInputMethod( Qt::InputMethodQueries ) = delete; // use qskUpdateInputMethod