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 to get all the child text related to same parernt if parent is selected in QTreeWidget
QtWS25 Last Chance

How to get all the child text related to same parernt if parent is selected in QTreeWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 339 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.
  • P Offline
    P Offline
    Pappu Kumar Keshari
    wrote on last edited by
    #1

    How to get all the child text related to same parernt if parent is selected in QTreeWidget.

    JonBJ 1 Reply Last reply
    0
    • P Pappu Kumar Keshari

      How to get all the child text related to same parernt if parent is selected in QTreeWidget.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Pappu-Kumar-Keshari
      Is this the same question as/related to https://forum.qt.io/topic/141429/how-to-get-selected-text-of-treewidget, or is it different? How did you get on acting on the answer @Christian-Ehrlicher gave you there?

      P 1 Reply Last reply
      0
      • JonBJ JonB

        @Pappu-Kumar-Keshari
        Is this the same question as/related to https://forum.qt.io/topic/141429/how-to-get-selected-text-of-treewidget, or is it different? How did you get on acting on the answer @Christian-Ehrlicher gave you there?

        P Offline
        P Offline
        Pappu Kumar Keshari
        wrote on last edited by
        #3

        @JonB It is diffirent . So please answer and give code for it

        jsulmJ JonBJ 2 Replies Last reply
        0
        • P Pappu Kumar Keshari

          @JonB It is diffirent . So please answer and give code for it

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

          @Pappu-Kumar-Keshari said in How to get all the child text related to same parernt if parent is selected in QTreeWidget:

          So please answer and give code for it

          This is not a very nice way to ask for help...

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

          1 Reply Last reply
          0
          • P Pappu Kumar Keshari

            @JonB It is diffirent . So please answer and give code for it

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by JonB
            #5

            @Pappu-Kumar-Keshari said in How to get all the child text related to same parernt if parent is selected in QTreeWidget:

            @JonB It is diffirent . So please answer and give code for it

            It is similar. You must start by getting the selected item. Did you act on that in your other question? Once you have a selected node you can visit its descendants to get their text.

            As for " give code for it", @SGaist & I responded to that in your other thread:
            @SGaist said in How to fetch muliple children inside a parents which belongs to same parent. In TreeWidget .:

            As @JonB wrote, this is a user forum, not a free code writing service. If you need someone to do the implementation and bug fix of your code for you then please hire a professional.

            1 Reply Last reply
            1

            • Login

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