PDA

View Full Version : QTreeWidget drag and drop



Ieshir
11th June 2014, 05:50
Hello, i have 2 qtreewidgets on my form.
I need to make d&d from first to second qtreewidget

for first i set dragDropMode -> dragOnly
for second i set dragDropMode -> dropOnly and defaultDropActrion -> CopyAction

but, i have 1 problem.
only 1 qtreewidgetitem is copied, without hierarchy (w/0 child items)

How can i fix this?

neuronet
16th June 2014, 13:03
Can you show the code you are working with now, stripped down to the minimal starting kernel?

Ieshir
16th June 2014, 20:03
this?
10419

I can't copy branch "4" with hierarchy

Ieshir
22nd June 2014, 15:57
up

nobody can't help me?

Ieshir
2nd July 2014, 14:22
up
(10 symbols)

Ieshir
27th August 2014, 13:41
up
(10 symbols)