[Qt-interest] Getting QListView::dragEnterEvent() & dropEvent() QtDesigner 4.4.1
Sahana Bhaskar
Sahana_Bhaskar at infosys.com
Mon Jun 6 16:37:44 CEST 2011
I'm trying to implement a drag & drop capability where the user can drag a file/folder from the left pane shown below to the right pane and then have the file information saved for the next session. My problem is that I can't quite figure out how to do this.
Say I drag d: from the main list to explorer. I need it to be saved somewhere so that the next time I open the application the d: in left must not disappear but still be there. I don't know where to save what has been dragged into the left pane. These are qfiledialog class and qsidebar QFileListBox classes.
Ps: these are my windows:
[cid:image001.png at 01CC2484.882438E0]
Thanks,
Sahana
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110606/4ef4fcfa/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 14879 bytes
Desc: image001.png
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110606/4ef4fcfa/attachment.png
More information about the Qt-interest-old
mailing list