aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-10-31 15:31:46 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-10-31 15:20:10 +0000
commit13d30e0349bbaa0af5bdebbada559da20c696549 (patch)
tree90e0a83b982c5283acc0be22f393dfdec9284ef5 /src
parent41c754db53f7139f351346f1659a28fa13d2eb08 (diff)
Doc: mention that some SwipeDelegate::swipe properties are read-only
Change-Id: Ie9eeecc73cd3fa6d4fd8aa17abb38c4dc03f2024 Task-number: QTBUG-55904 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/quicktemplates2/qquickswipedelegate.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/quicktemplates2/qquickswipedelegate.cpp b/src/quicktemplates2/qquickswipedelegate.cpp
index 0edf7106..b812f939 100644
--- a/src/quicktemplates2/qquickswipedelegate.cpp
+++ b/src/quicktemplates2/qquickswipedelegate.cpp
@@ -768,13 +768,13 @@ QQuickSwipeDelegate::QQuickSwipeDelegate(QQuickItem *parent) :
\li Description
\row
\li position
- \li This property holds the position of the swipe relative to either
+ \li This read-only property holds the position of the swipe relative to either
side of the control. When this value reaches either
\c -1.0 (left side) or \c 1.0 (right side) and the mouse button is
released, \c complete will be \c true.
\row
\li complete
- \li This property holds whether the control is fully exposed after
+ \li This read-only property holds whether the control is fully exposed after
having been swiped to the left or right.
When complete is \c true, any interactive items declared in \c left,
@@ -810,19 +810,19 @@ QQuickSwipeDelegate::QQuickSwipeDelegate(QQuickItem *parent) :
\include qquickswipedelegate-interaction.qdocinc
\row
\li leftItem
- \li This property holds the item instantiated from the \c left component.
+ \li This read-only property holds the item instantiated from the \c left component.
If \c left has not been set, or the position hasn't changed since
creation of the SwipeDelegate, this property will be \c null.
\row
\li behindItem
- \li This property holds the item instantiated from the \c behind component.
+ \li This read-only property holds the item instantiated from the \c behind component.
If \c behind has not been set, or the position hasn't changed since
creation of the SwipeDelegate, this property will be \c null.
\row
\li rightItem
- \li This property holds the item instantiated from the \c right component.
+ \li This read-only property holds the item instantiated from the \c right component.
If \c right has not been set, or the position hasn't changed since
creation of the SwipeDelegate, this property will be \c null.