How to add sibling to any selected node
-
https://paste.ofcode.org/AruS2xQqNNLdadxtajnZEB
I am looking to add a sibling node to a selected node.
Can some help me with a logic how to add Sibling Node
The tree ins coming as
https://paste.ofcode.org/36i5953LNNa28A6VuV5kr5m
D
C
B
AI want to insert E after B and the python function to add the function is addSibling
Can some one help me with the logic
-
I am using pyqt4
-
@Denni-0 said in How to add sibling to any selected node:
Further PyQt5 and Python3 are not backwards compatible with PyQt4 nor Python2 so not only can you expect issues going forward but it is only going to get worse and not better -- sorry to say you should convert this all to Python3 and PyQt5 going forward
Can we sync up for the soltion if you can guide me in Qt also that will be fine , how to add a sibling node