15 Q_PROPERTY( QQuickItem* scrolledItem READ scrolledItem
16 WRITE setScrolledItem NOTIFY scrolledItemChanged FINAL)
18 Q_PROPERTY(
bool itemResizable READ isItemResizable
19 WRITE setItemResizable NOTIFY itemResizableChanged FINAL )
21 Q_PROPERTY(
bool itemFocusClipping READ hasItemFocusClipping
22 WRITE setItemFocusClipping FINAL )
30 void setScrolledItem( QQuickItem* );
31 QQuickItem* scrolledItem()
const;
33 void setItemResizable(
bool on );
34 bool isItemResizable()
const;
36 void setItemFocusClipping(
bool on );
37 bool hasItemFocusClipping()
const;
40 void scrolledItemChanged();
41 void itemResizableChanged(
bool );
44 void updateLayout()
override;
45 QSizeF layoutSizeHint( Qt::SizeHint,
const QSizeF& )
const override;
47#ifndef QT_NO_WHEELEVENT
48 QPointF scrollOffset(
const QWheelEvent* )
const override;
56 std::unique_ptr< PrivateData > m_data;