diff options
| author | Topi Reinio <topi.reinio@qt.io> | 2023-07-04 11:09:23 +0000 |
|---|---|---|
| committer | Topi Reinio <topi.reinio@qt.io> | 2023-07-05 10:34:11 +0000 |
| commit | b4bd53084873082710ee2e6d6a02409d0bf1ce71 (patch) | |
| tree | 40fa43cd4188a6f3863f37f2a46749a7d5ae619e /src/quick/items/qquicktableview.cpp | |
| parent | 1cf5665e1590b93ecc5abea099cdb86573f60f18 (diff) | |
Doc: Fix linking issues
* Remove broken links to 'Scene Graph - Rendering FBOs' example as
it no longer exists.
* Remove a link to 'Calendar Example' from a list of QML examples;
this was a widgets example.
* TableView: Fix linking to enumeration values and change enum
properties to use \value commands.
* LayoutItemProxy: Fix linking to Item.visible property.
* Shape: Fix broken links to enumeration values.
Pick-to: 6.6
Change-Id: Id3a33cac722dd62c61792eeb7163a01d6fd2b6e5
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
Diffstat (limited to 'src/quick/items/qquicktableview.cpp')
| -rw-r--r-- | src/quick/items/qquicktableview.cpp | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/src/quick/items/qquicktableview.cpp b/src/quick/items/qquicktableview.cpp index 2f161cb4bb..e058e1969b 100644 --- a/src/quick/items/qquicktableview.cpp +++ b/src/quick/items/qquicktableview.cpp @@ -695,12 +695,14 @@ This property holds whether the user can select cells, rows or columns. - \list - \li TableView.SelectionDisabled - the user cannot perform selections. - \li TableView.SelectCells (default) - the user can select individual cells. - \li TableView.SelectRows - the user can only select rows. - \li TableView.SelectColumns - the user can only select columns. - \endlist + \value TableView.SelectionDisabled + The user cannot perform selections + \value TableView.SelectCells + (Default value) The user can select individual cells + \value TableView.SelectRows + The user can only select rows + \value TableView.SelectColumns + The user can only select columns \sa {Selecting items}, selectionMode, selectionModel, keyNavigationEnabled */ @@ -709,24 +711,27 @@ \qmlproperty enumeration QtQuick::TableView::selectionMode \since 6.6 - If \l selectionBehavior is set to \l {TableView.SelectCells}, this property holds + If \l selectionBehavior is set to \c {TableView.SelectCells}, this property holds whether the user can select one cell at a time, or multiple cells. - If \l selectionBehavior is set to \l {TableView.SelectRows}, this property holds + If \l selectionBehavior is set to \c {TableView.SelectRows}, this property holds whether the user can select one row at a time, or multiple rows. - If \l selectionBehavior is set to \l {TableView.SelectColumns}, this property holds + If \l selectionBehavior is set to \c {TableView.SelectColumns}, this property holds whether the user can select one column at a time, or multiple columns. The following modes are available: - \list - \li TableView.SingleSelection - the user can select a single cell, row or column. - \li TableView.ContiguousSelection - the user can select a single contiguous block of cells. - An existing selection can be made bigger or smaller by holding down the \c Shift - modifier while selecting. - \li TableView.ExtendedSelection (default) - the user can select multiple individual - blocks of cells. An existing selection can be made bigger or smaller by holding - down the \c Shift modifier while selecting. A new selection block can be started without - clearing the current selection by holding down the \c Control modifier while selecting. - \endlist + + \value TableView.SingleSelection + The user can select a single cell, row or column. + \value TableView.ContiguousSelection + The user can select a single contiguous block of cells. + An existing selection can be made bigger or smaller by holding down + the \c Shift modifier while selecting. + \value TableView.ExtendedSelection + (Default value) The user can select multiple individual blocks of + cells. An existing selection can be made bigger or smaller by + holding down the \c Shift modifier while selecting. A new selection + block can be started without clearing the current selection by + holding down the \c Control modifier while selecting. \sa {Selecting items}, selectionBehavior, selectionModel, keyNavigationEnabled */ |
