Results 1 to 16 of 16

Thread: QTreeWidget Drag and drop

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QTreeWidget Drag and drop

    Is there a final code out there? I want to inverse the shift-function by move and copy too

  2. #2
    Join Date
    Mar 2009
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QTreeWidget Drag and drop

    For QTreeWidget derived class dropMimeData() gets called only when there is a "data drop", so to say. For move operations, it does not get called. It gets called when you try to copy the data. For Move or Internal move operations QTreeWidget::dropEvent() gets called.

    Gopalakrishna Palem
    Creator of CFugue Runtime for Programming Music in C++

Similar Threads

  1. Drag and Drop
    By allensr in forum Qt Programming
    Replies: 1
    Last Post: 11th December 2006, 20:50
  2. Replies: 7
    Last Post: 8th September 2006, 16:19
  3. Drag and drop outside the application
    By jpn in forum Newbie
    Replies: 7
    Last Post: 27th August 2006, 15:37
  4. Drag and drop revisited
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 30th June 2006, 16:41
  5. Drag 'n Drop problem
    By kiker99 in forum Qt Programming
    Replies: 4
    Last Post: 16th January 2006, 16:35

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.