Results 1 to 2 of 2

Thread: How to Drop the data (folder) onto the Desktop from Our application.

  1. #1
    Join Date
    Mar 2009
    Location
    delhi India
    Posts
    56
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default How to Drop the data (folder) onto the Desktop from Our application.

    Hi,
    I have QTreewidget to which i have enabled the dragged drop events .

    I am able to drag the data from the Widget(say folder) whch i want to drop onto desktop so that similar folder is created onto the desktop.

    I am unable to implement the above requirement .

    Any help would be appreciated.
    Thanx.

  2. #2
    Join Date
    Feb 2010
    Location
    Wokingham, United Kingdom
    Posts
    36
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to Drop the data (folder) onto the Desktop from Our application.

    to drop a file or folder onto the desktop you would probably need to reimplement a QStandardItemModel specifically the mimedata and mimetypes functions, so qt and the os know what it is you are dragging and dropping.

Similar Threads

  1. Qt 4.6.3 and up Desktop-build folder
    By jzuber in forum Qt Tools
    Replies: 4
    Last Post: 30th September 2010, 20:36
  2. Hide folder and data in qt 4.6.2
    By anshuman2008 in forum Qt Programming
    Replies: 2
    Last Post: 7th July 2010, 09:50
  3. Qt4: How to get the Common Application Data folder path?
    By Ankitha Varsha in forum Qt Programming
    Replies: 10
    Last Post: 21st October 2008, 12:14
  4. Remote file list Drop to desktop
    By patrik08 in forum Qt Programming
    Replies: 3
    Last Post: 9th February 2007, 23:16
  5. Desktop application shadow?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 18th November 2006, 02:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.