Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How can i popout tree(i have root node of tree) into QTreeView
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 300 Views
  • 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.
  • PardeepP Offline
    PardeepP Offline
    Pardeep
    wrote on last edited by
    #1

    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 :)

    jsulmJ 1 Reply Last reply
    0
    • PardeepP Pardeep

      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 :)

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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
      0
      • PardeepP Offline
        PardeepP Offline
        Pardeep
        wrote on last edited by Pardeep
        #3

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

        jsulmJ 1 Reply Last reply
        0
        • PardeepP Pardeep

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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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
          3

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved