Unsolved is it able to addChild only 1 QTreeWidgetItem to many other QTreeWidgetItem?
-
is it able to addChild only 1 QTreeWidgetItem to many other QTreeWidgetItem?
i tried, but only the first parent QTreeWidgetItem have this child QTreeWidgetItem, all the others does not add this child. -
No, because a child widget item can only have one parent (or none if it is the root)
-
@jsulm ok, so is there any tricky solution for my situation?
-
@opengpu2 What is your situation actually? Why do you want to use same widget item for several tree widgets? I cannot imagine any use cases. "Tricky solutions" are usually a source of troubles, keep it simple.
-
@jsulm thank you