is there a chance to create a TreeView including some extra icons / buttons. I want to check / select nodes and their children. Or is it possible to use custom items per node? An example would be very helpful.
thank you. But since I have to deal with tree structures I thought the TreeView is the correct item. Otherwise I have to implement the tree structures by myself in the ListView. That’s very hard work to do.
Sure, TreeView is also a viable choice if it fits your use-case and model setup better. I am not familiar with the specific customisation options or limitations, but it is possible to use own delegates similar to the ListView. Generally own delegate are the way to go when customising views.
Yes, the TreeView expects a custom C++ model based on QAbstractItemModel. I don’t have an example at hand, but it is generally more complex than the ListView, where you can have a QML ListModel or JS array as the data source.
Want to find out if Felgo is a good fit for your company?
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: