diff options
author | Ivan Tkachenko <me@ratijas.tk> | 2023-06-03 19:21:03 +0300 |
---|---|---|
committer | Ivan Tkachenko <me@ratijas.tk> | 2023-06-06 20:50:25 +0300 |
commit | 0ec5680ab3365074b118fc299582516d469d1064 (patch) | |
tree | 722b52bd477f0732e04815c407b1584e5bdb4e7c /src/quicklayouts | |
parent | 9d37d49095eac73f79f102328ad16d0e5a9f6955 (diff) |
Doc: Mask some QML attached properties as read-only
This affects ListView, GridView, PathView and StackLayout.
Change-Id: Iacff4cf9118323916ca66bd755736a397c26fc43
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicklayouts')
-rw-r--r-- | src/quicklayouts/qquickstacklayout.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quicklayouts/qquickstacklayout.cpp b/src/quicklayouts/qquickstacklayout.cpp index dd80ff19f1..0f745be9f9 100644 --- a/src/quicklayouts/qquickstacklayout.cpp +++ b/src/quicklayouts/qquickstacklayout.cpp @@ -84,6 +84,7 @@ QQuickStackLayout::QQuickStackLayout(QQuickItem *parent) : /*! \qmlproperty int StackLayout::count + \readonly This property holds the number of items that belong to the layout. @@ -431,6 +432,7 @@ QQuickStackLayoutAttached::QQuickStackLayoutAttached(QObject *object) /*! \qmlattachedproperty int StackLayout::index + \readonly This attached property holds the index of each child item in the \l StackLayout. @@ -455,6 +457,7 @@ void QQuickStackLayoutAttached::setIndex(int index) /*! \qmlattachedproperty bool StackLayout::isCurrentItem + \readonly This attached property is \c true if this child is the current item in the \l StackLayout. @@ -479,6 +482,7 @@ void QQuickStackLayoutAttached::setIsCurrentItem(bool isCurrentItem) /*! \qmlattachedproperty StackLayout StackLayout::layout + \readonly This attached property holds the \l StackLayout that manages this child item. |