Results 1 to 5 of 5

Thread: I wanna drag and drop some files into QTreeView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Sep 2011
    Posts
    5
    Thanked 3 Times in 3 Posts

    Default Re: I wanna drag and drop some files into QTreeView

    I have already tried to make setAcceptDrops true and describe DragEnteredEvent function.
    But when dragging a file on QTreeView, mouse pointer shows me unavailable icon as below not plus icon.
    1.png

    and I found enter into DragEnteredEvent when a files is dragged on QTreeView but DropEvent doesn't occur.
    Last edited by guri; 28th September 2011 at 01:44.

  2. The following user says thank you to guri for this useful post:


Similar Threads

  1. QTreeView Drag and Drop
    By theprobe in forum Qt Programming
    Replies: 1
    Last Post: 29th March 2011, 22:08
  2. QTreeView: Drag and Drop
    By laugusti in forum Newbie
    Replies: 7
    Last Post: 19th March 2010, 19:05
  3. Drag and drop in QTreeView
    By Valheru in forum Qt Programming
    Replies: 3
    Last Post: 27th July 2008, 09:36
  4. drag and drop from QTreeView
    By Untersander in forum Qt Programming
    Replies: 1
    Last Post: 10th April 2006, 09:00
  5. Drag & drop for QTreeView
    By yogeshm02 in forum Qt Programming
    Replies: 2
    Last Post: 30th January 2006, 14:32

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.