Documentation for TreeView in MarketPlace - feels like an incomplete product
-
Is there complete documentation available for the TreeView plugin available from the marketplace? I bought this plugin but there appears to minimal documentation. The git page has some information but the itemDelegate, branchDelegate etc are not mentioned....I assume they have been removed since QQC1 ?
But...I can't find a complete example showing how to create the equivalent of an itemDelegate, BranchDelegate, rowDelegate,etc. Just pulling my hair out with this purchase...feels very incomplete.
(I'm glad I paid by VISA, because if I can't figure this out I will ask VISA to chargeback. This feels more like a work in progress than a saleable complete product!)
-
Hi,
You should contact the marketplace folks directly with that question. This is a user driven forum.
-
Well, for anyone else considering using TreeView 2, it's got far too many issues. Aside from documentation lacking and errors, it has strange bugs (like you can't select an item by mouse until you have expanded at least one item with children) - but you can by keyboard. The ModelIndex's don't work properly with ItemSelectionModel, conflicting mousearea/tap listeners, etc.
The QQC1 TreeView at least worked and was well documented...but is deprecated.
-
@ocgltd thanks for the warning. I had been thinking about asking my company to purchase this, which having to do separately from licensing Qt is in itself is an annoying complication. But it sounds like it will not be worth it anyway.
The whole handling by Qt of the TreeView thing has been an utter shambles. There was a long standing bug that there was no TreeView in Qt Quick 2, which was supposedly resolved by making this marketplace add-on available. I don't understand why a tree view is not considered to be a basic, core component of a GUI toolkit and why this was not provided years ago as a proper, integrated, documented component of QML.