on xenial help sign in
Wops, forgot to commit this :D
4d332deAlbert Astals
plugins/ListViewWithPageHeader/listviewwithpageheader.h+2−2
@@ -22,6 +22,7 @@
22
22
23class QAbstractItemModel;
23class QAbstractItemModel;
24class QQuickChangeSet;
24class QQuickChangeSet;
25+class QQuickNumberAnimation;
25class QQuickVisualDataModel;
26class QQuickVisualDataModel;
26
27
27class ListViewWithPageHeader : public QQuickFlickable, public QQuickItemChangeListener
28class ListViewWithPageHeader : public QQuickFlickable, public QQuickItemChangeListener
@@ -94,8 +95,6 @@ private:
94 QQuickItem *m_sectionItem;
95 QQuickItem *m_sectionItem;
95 };
96 };
96
97
97− void setContentY(qreal pos);
98−
99 void createDelegateModel();
98 void createDelegateModel();
100
99
101 void refill();
100 void refill();
@@ -136,6 +135,7 @@ private:
136 qreal m_previousContentY;
135 qreal m_previousContentY;
137 qreal m_headerItemShownHeight; // The height of header shown when the header is shown outside its topmost position
136 qreal m_headerItemShownHeight; // The height of header shown when the header is shown outside its topmost position
138 // i.e. it's being shown after dragging down in the middle of the list
137 // i.e. it's being shown after dragging down in the middle of the list
138+ QQuickNumberAnimation *m_headerShowAnimation;
139
139
140 QQmlComponent *m_sectionDelegate;
140 QQmlComponent *m_sectionDelegate;
141 QString m_sectionProperty;
141 QString m_sectionProperty;