For a Qt Quick 2 project I need a very powerful and flexible tree view, allowing me to show my data as list or grid, and supporting very important items and gestures like:
Resizable and draggeable columns and rows
Nodes collapsing and extending
Fully customizable draw for headers and items content
The QTitanDataGrid seems to match a large part of these functionalities, so I'm highly interested to use it. However a prerequisite is to be able to use it in my Qt Quick Controls 2 qml interfaces. Without a such functionality I will be forced to reject this component.
I downloaded the trial and until now I only found demos showing how to use the component in the Qt Designer tool. So, is there a way to use the QTitanDataGrid in a qml file? If yes, please can you tell me how to do that?
Our grid is inherited from QWidget and as far as I know there is no way to use QWidgets in QML2 applications directly. In theory, we can make a class wrapper based on QQuickItem to export QtitanDataGrid API to QML, but now there is no such code.