aboutsummaryrefslogtreecommitdiffstats
path: root/examples/treeview
Commit message (Collapse)AuthorAgeFilesLines
* Avoid conflict between TreeView in QtQuick and MarketplaceRichard Moe Gustavsen2022-01-063-14/+14
| | | | | | | | | | | | | | Both QtQuick and QtQuick.TreeView exports a TreeView item in Qt 6.3. In order to avoid conflict, all usage of the marketplace version in Qt 6.3 will need to either: 1. import it into a namespace 2. use TreeViewTemplate instead of TreeView as a prefix for enums 3. Create a custom subclass of TreeViewTemplate that is named something else than "TreeView" (e.g "CustomTreeView"). Change-Id: I74f04eea4e279ccbef713b1894d9fb09cbd94dc8 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* Don't assign TreeView.view to a CustomTreeView pointerRichard Moe Gustavsen2021-05-071-1/+1
| | | | | | | | | | | | | CustomTreeView doesn't inherit from TreeView, but from TreeViewTemplate. So you cannot assign CustomTreeView to a TreeView pointer. This patch changes the type from TreeView to CustomTreeView to fix a run-time warning about this. Fixes: QTEXT-2 Change-Id: I230ac6412cf9b205741c57f6b62f9e2e751d7799 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* Ensure we set TreeView.viewRichard Moe Gustavsen2021-02-221-0/+1
| | | | | | | | TreeView.view was never set in qquicktreeview.cpp. This patch will ensure that we do. Change-Id: I43eee26555a656de3d15a768fe004db2d912d19d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add CMake port based on the qmake setupVenugopal Shivashankar2021-01-073-0/+124
| | | | | Change-Id: I47e7972bd2853608239a831586ba304573a7aef5 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Update correct marketplace license headerJani Heikkinen2020-10-225-40/+55
| | | | | | | | | Use header.GPL3-MARKETPLACE-QT which must be used in marketplace components Change-Id: Idf5bb061b0724f4bc0f691586eb74e839fe0ad37 Reviewed-by: Tino Pyssysalo <tino.pyssysalo@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Add missing lines to license headersRichard Moe Gustavsen2020-06-035-0/+10
| | | | | Change-Id: Ic2e24da36e72c94aa3192aabd10858e3a79658ef Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Disable some examples when widgets are not availableRichard Moe Gustavsen2020-06-022-0/+4
| | | | | | | Some examples uses QFileSystemModel, which is a part of widgets. Change-Id: Id52940410273dfdeceaf027aa9fa71da8e8606ba Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Make TreeView a proper Qt moduleRichard Moe Gustavsen2020-05-2011-0/+548
Change-Id: I1f7214bf6ea9ce6e006ed30f7ee7bf36d3de3e39 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>