aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickpane_p_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-02-21 23:11:25 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2018-04-13 11:26:45 +0000
commitec6cc9921f4b804ed309b7dbfae6ee3b1cf3d8a7 (patch)
tree02e9b87f41a139557c12333cc5473c038e429578 /src/quicktemplates2/qquickpane_p_p.h
parent3e3a4062ae8051d862b39420e0955ac5e9fbe7a2 (diff)
Control: add implicitContentWidth|Height properties
[ChangeLog][Controls][Control] Added implicitContentWidth and implicitContentHeight properties that can be used to simplify complex implicit size bindings. Change-Id: I6ccef572c013605058808ce2ad17f8bd82f49ef0 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickpane_p_p.h')
-rw-r--r--src/quicktemplates2/qquickpane_p_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quicktemplates2/qquickpane_p_p.h b/src/quicktemplates2/qquickpane_p_p.h
index 2e09d82dd0..808b33c68e 100644
--- a/src/quicktemplates2/qquickpane_p_p.h
+++ b/src/quicktemplates2/qquickpane_p_p.h
@@ -61,24 +61,24 @@ class Q_QUICKTEMPLATES2_PRIVATE_EXPORT QQuickPanePrivate : public QQuickControlP
public:
QQuickPanePrivate();
+ void init();
+
virtual QQmlListProperty<QObject> contentData();
virtual QQmlListProperty<QQuickItem> contentChildren();
virtual QList<QQuickItem *> contentChildItems() const;
QQuickItem *getContentItem() override;
- qreal getContentWidth() const;
- qreal getContentHeight() const;
+ qreal getContentWidth() const override;
+ qreal getContentHeight() const override;
void itemImplicitWidthChanged(QQuickItem *item) override;
void itemImplicitHeightChanged(QQuickItem *item) override;
- void itemDestroyed(QQuickItem *item) override;
void contentChildrenChange();
void updateContentWidth();
void updateContentHeight();
- void updateContentSize();
bool hasContentWidth;
bool hasContentHeight;