@@ -33,6 +33,7 @@ class ListViewWithPageHeader : public QQuickFlickable, public QQuickItemChangeLi
33 Q_PROPERTY(QQuickItem *pageHeader READ header WRITE setHeader NOTIFY headerChanged)
33 Q_PROPERTY(QQuickItem *pageHeader READ header WRITE setHeader NOTIFY headerChanged)
34 Q_PROPERTY(QQmlComponent *sectionDelegate READ sectionDelegate WRITE setSectionDelegate NOTIFY sectionDelegateChanged)
34 Q_PROPERTY(QQmlComponent *sectionDelegate READ sectionDelegate WRITE setSectionDelegate NOTIFY sectionDelegateChanged)
35 Q_PROPERTY(QString sectionProperty READ sectionProperty WRITE setSectionProperty NOTIFY sectionPropertyChanged)
35 Q_PROPERTY(QString sectionProperty READ sectionProperty WRITE setSectionProperty NOTIFY sectionPropertyChanged)
36+ Q_PROPERTY(bool forceNoClip READ forceNoClip WRITE setForceNoClip NOTIFY forceNoClipChanged)
37 friend class ListViewWithPageHeaderTest;
38 friend class ListViewWithPageHeaderTest;
@@ -55,6 +56,9 @@ public:
55 QString sectionProperty() const;
56 QString sectionProperty() const;
56 void setSectionProperty(const QString &property);
57 void setSectionProperty(const QString &property);
59+ bool forceNoClip() const;
60+ void setForceNoClip(bool noClip);
58 Q_INVOKABLE void positionAtBeginning();
62 Q_INVOKABLE void positionAtBeginning();
59 Q_INVOKABLE void showHeader();
63 Q_INVOKABLE void showHeader();
@@ -64,6 +68,7 @@ Q_SIGNALS:
64 void headerChanged();
68 void headerChanged();
65 void sectionDelegateChanged();
69 void sectionDelegateChanged();
66 void sectionPropertyChanged();
70 void sectionPropertyChanged();
71+ void forceNoClipChanged();
69 void componentComplete();
74 void componentComplete();
@@ -140,6 +145,8 @@ private:
140 QQmlComponent *m_sectionDelegate;
145 QQmlComponent *m_sectionDelegate;
141 QString m_sectionProperty;
146 QString m_sectionProperty;
142 QQuickItem *m_topSectionItem;
147 QQuickItem *m_topSectionItem;