28 Q_DECLARE_PUBLIC(QQuickPane)
32 virtual QQmlListProperty<QObject> contentData();
33 virtual QQmlListProperty<QQuickItem> contentChildren();
34 virtual QList<QQuickItem *> contentChildItems()
const;
35 virtual QQuickItem *getFirstChild()
const;
37 QQuickItem *getContentItem() override;
39 qreal getContentWidth()
const override;
40 qreal getContentHeight()
const override;
42 void itemImplicitWidthChanged(QQuickItem *item) override;
43 void itemImplicitHeightChanged(QQuickItem *item) override;
44 void itemDestroyed(QQuickItem *item) override;
46 void contentChildrenChange();
48 void updateContentWidth();
49 void updateContentHeight();
51 bool handlePress(
const QPointF &point, ulong timestamp) override;
53 bool hasContentWidth =
false;
54 bool hasContentHeight =
false;
55 qreal contentWidth = 0;
56 qreal contentHeight = 0;
57 QQuickItem *firstChild =
nullptr;