summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicsgridview_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-10 03:35:05 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-10 03:35:05 (GMT)
commitca30cacd614b7de8a855a3b4a1dc254c5f9289c9 (patch)
tree791e38310aefabe1e90c78b9cb9f51aad6d4a0e2 /src/declarative/graphicsitems/qmlgraphicsgridview_p.h
parentcca8cbafbea02b946d571f2f656c81e8c20bdbeb (diff)
downloadQt-ca30cacd614b7de8a855a3b4a1dc254c5f9289c9.zip
Qt-ca30cacd614b7de8a855a3b4a1dc254c5f9289c9.tar.gz
Qt-ca30cacd614b7de8a855a3b4a1dc254c5f9289c9.tar.bz2
More highlight testing.
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicsgridview_p.h')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsgridview_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsgridview_p.h b/src/declarative/graphicsitems/qmlgraphicsgridview_p.h
index 3fd36bd..3e09cf3 100644
--- a/src/declarative/graphicsitems/qmlgraphicsgridview_p.h
+++ b/src/declarative/graphicsitems/qmlgraphicsgridview_p.h
@@ -62,8 +62,11 @@ class Q_DECLARATIVE_EXPORT QmlGraphicsGridView : public QmlGraphicsFlickable
Q_PROPERTY(int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentIndexChanged)
Q_PROPERTY(QmlGraphicsItem *currentItem READ currentItem NOTIFY currentIndexChanged)
Q_PROPERTY(int count READ count NOTIFY countChanged)
+
Q_PROPERTY(QmlComponent *highlight READ highlight WRITE setHighlight)
+ Q_PROPERTY(QmlGraphicsItem *highlightItem READ highlightItem NOTIFY highlightChanged)
Q_PROPERTY(bool highlightFollowsCurrentItem READ highlightFollowsCurrentItem WRITE setHighlightFollowsCurrentItem)
+
Q_PROPERTY(Flow flow READ flow WRITE setFlow)
Q_PROPERTY(bool keyNavigationWraps READ isWrapEnabled WRITE setWrapEnabled)
Q_PROPERTY(int cacheBuffer READ cacheBuffer WRITE setCacheBuffer)
@@ -85,6 +88,7 @@ public:
void setCurrentIndex(int idx);
QmlGraphicsItem *currentItem();
+ QmlGraphicsItem *highlightItem();
int count() const;
QmlComponent *highlight() const;
@@ -123,6 +127,7 @@ Q_SIGNALS:
void currentIndexChanged();
void cellWidthChanged();
void cellHeightChanged();
+ void highlightChanged();
protected:
virtual void viewportMoved();