diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-10-21 01:39:17 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-10-21 01:39:17 (GMT) |
commit | b54b0357f59fd398db07161fd8320b306220c104 (patch) | |
tree | 174e833f643681c7a112c5413d9954764c5177c5 /src | |
parent | c2aa20e6eda3654022976db2b1abbf23f9abbcfb (diff) | |
download | Qt-b54b0357f59fd398db07161fd8320b306220c104.zip Qt-b54b0357f59fd398db07161fd8320b306220c104.tar.gz Qt-b54b0357f59fd398db07161fd8320b306220c104.tar.bz2 |
Doc.
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/fx/qfxlistview.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxlistview.cpp b/src/declarative/fx/qfxlistview.cpp index 4fb0ec1..2ea1cb7 100644 --- a/src/declarative/fx/qfxlistview.cpp +++ b/src/declarative/fx/qfxlistview.cpp @@ -864,6 +864,52 @@ QFxListView::~QFxListView() } /*! + \qmlattachedproperty bool ListView::isCurrentItem + This attched property is true if this delegate is the current item; otherwise false. + + It is attached to each instance of the delegate. + + This property may be used to adjust the appearance of the current item, for example: + + \snippet doc/src/snippets/declarative/listview/highlight.qml 0 +*/ + +/*! + \qmlattachedproperty ListView ListView::view + This attached property holds the view that manages this delegate instance. + + It is attached to each instance of the delegate. +*/ + +/*! + \qmlattachedproperty string ListView::prevSection + This attached property holds the section of the previous element. + + It is attached to each instance of the delegate. + + The section is evaluated using the \l {ListView::sectionExpression}{sectionExpression} property. +*/ + +/*! + \qmlattachedproperty string ListView::section + This attached property holds the section of this element. + + It is attached to each instance of the delegate. + + The section is evaluated using the \l {ListView::sectionExpression}{sectionExpression} property. +*/ + +/*! + \qmlattachedproperty bool ListView::delayRemove + This attached property holds whether the delegate may be destroyed. + + It is attached to each instance of the delegate. + + It is sometimes necessary to delay the destruction of an item + until an animation completes. +*/ + +/*! \qmlproperty model ListView::model This property holds the model providing data for the list. |