Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtQuick 2 and TreeView controls



  • Hi:

    I noticed in QtQuick 1x there was a support for a TreeView control.
    I can't seem to find anything regarding it in QtQuick 2.

    Are there plans to migrate/offer a version of the control in the QtQuick libraries?

    What is the best work around in the meantime?
    Is anyone aware of any homegrown customized TreeView/Tree controls?

    Is it accepted practice to incorporate the TreeView directly from QtQuick 1.x?

    I'm planning on using Qml.Net with a .NetCore (C#) backend.
    Are there any known limitations from mixing/matching 1.x/2.x controls?

    Thanks,
    JohnB


  • Moderators

    @JuanBucz said in QtQuick 2 and TreeView controls:

    Is it accepted practice to incorporate the TreeView directly from QtQuick 1.x?

    Yes, it's fine. Both version of controls can be mixed.

    Are there any known limitations from mixing/matching 1.x/2.x controls?

    Their styles won't necessarily match.



  • I can confirm that TreeView can be used in a largely QtQuick2 application. However it can be a bit buggy depending on how you need to use it. A request for a QtQuick2 version is currently one of the most voted for requests in the Qt bug tracker but there is no sign of anyone working on it.


Log in to reply