summaryrefslogtreecommitdiff
path: root/src/quick/doc/snippets/qml/treeview
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie Gérard2022-06-111-38/+2
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* doc: TreeView and delegate doc and warning improvementsShawn Rutledge2022-04-051-6/+8
| | | | | | | | | | | | | | | - a delegate Item is not "root"; that ID could clash with the user's root item when copy-pasting code - choose "▸" triangle character because it looks better with some fonts (such as the default font on Linux in Qt Quick, Assistant and even gitk); rotate it when the tree is expanded rather than risking a mismatched rotated triangle character - fix singular form in phrase "only accepts a model of type..." - Shorten phrase "An example of how a custom delegate could look like" Pick-to: 6.3 Change-Id: Ic91f07be4b79a88c8532d4e2e49914fbdc529e36 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* quick: add qquicktreeviewRichard Moe Gustavsen2021-12-041-0/+90
This patch adds TreeView to Qt Quick. It is more or less a copy from the TreeView in Marketplace, but with some modifications to make it more equal to the already existing TableView, ListView, and GridView. [ChangeLog][Item Views] A new view is added: TreeView Fixes: QTBUG-61630 Change-Id: Ibb9d22cf9c9df021e77d03287872134c2682682a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>