diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2016-07-15 07:28:43 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2016-07-15 08:57:59 +0000 |
commit | d9726cbd58fe9329dd450586ae51117f8ac054eb (patch) | |
tree | 77c6e77097e64d7ab729f690dacbe648aae93cb2 /src/quicktemplates2 | |
parent | 89d1f4ccea57dace9cc1a5a56e1beed298ae8ef7 (diff) |
SwipeDelegate: add doc example
Change-Id: I3fb5434722dd5d6cd744e3d853a5a15e52bf03d0
Task-number: QTBUG-54645
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2')
-rw-r--r-- | src/quicktemplates2/qquickswipedelegate.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickswipedelegate.cpp b/src/quicktemplates2/qquickswipedelegate.cpp index 04f3f7cf..2b50b717 100644 --- a/src/quicktemplates2/qquickswipedelegate.cpp +++ b/src/quicktemplates2/qquickswipedelegate.cpp @@ -89,6 +89,11 @@ QT_BEGIN_NAMESPACE \image qtquickcontrols2-swipedelegate-behind.gif + The following snippet shows SwipeDelegate used in a \l ListView to remove + items from the list: + + \snippet qtquickcontrols2-swipedelegate.qml file + \sa {Customizing SwipeDelegate}, {Delegate Controls} */ |