Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved How can i popout tree(i have root node of tree) into QTreeView

    General and Desktop
    2
    4
    100
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pardeep
      Pardeep last edited by

      I have data in form of tree view in cad app but i want to show this data in my qt app (in treeview)1aee505c-a0de-4fb1-acd2-33fad7c76ec8-image.png
      I have no idea about How can i achieve this.
      Thanks in advance :)

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @Pardeep last edited by

        @Pardeep What exactly is your question? How to use QTreeView or how to get that specific data?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • Pardeep
          Pardeep last edited by Pardeep

          i want to know how to use Qtreeview. How can i traversed QTreeview corresponding to my ptr and add child at right node?

          jsulm 1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @Pardeep last edited by

            @Pardeep Then please start with documentation: https://doc.qt.io/qt-5/qtreeview.html
            https://doc.qt.io/qt-5/model-view-programming.html

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 3
            • First post
              Last post