How to get all the child text related to same parernt if parent is selected in QTreeWidget
-
How to get all the child text related to same parernt if parent is selected in QTreeWidget.
-
How to get all the child text related to same parernt if parent is selected in QTreeWidget.
@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? -
@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?@JonB It is diffirent . So please answer and give code for it
-
@JonB It is diffirent . So please answer and give code for it
@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...
-
@JonB It is diffirent . So please answer and give code for it
@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.