Qt-interest Archive, April 2008
Drag and Drop on TreeWidget
Message 1 in thread
Hi All,
I am a newbie to Qt.
I've a small issue with my TreeWidget drag and drops. Here I am
displaying different items as below:
* Few treeitems (say type-A items).
* A QPushButton.
* Few group items (Say type-B items, which can contain type-A items).
When I drag type-A items on to type-B items, they will be added to
corresponding type-B item and the push button will be moved to top.
Upon dragging all the items (type-A) which are above the button on to
type-B items, the button will occupy the first row in the TreeWidget.
My requirement is when I drop type-A items, on to the button they
should be removed from the group items (type-B) and should be added to
the top of the button.
**Problem: the drop event is not getting called when I move the mouse
cursor on to the button.
*Note: This is working on Windows. Not working on Mac.
How to resolve this problem? Please suggest me any link so that I can
go through that and fix my problem.
Thanks
Kishore
DISCLAIMER
âThe information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you"
--
[ signature omitted ]