Results 1 to 13 of 13

Thread: QTreeWidget: lost click after drag and drop

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Join Date
    Dec 2010
    Posts
    10
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QTreeWidget: lost click after drag and drop

    Quote Originally Posted by Wong View Post
    In Qt src, QTreeView reimplement mousePressEvent
    And QListView don't reimplement it. I’m not really sure it has bug. I know very little about d-pointer
    If I understand you right, you think that the lost click issue isn't a bug of QTreeWidget? Then what do you think about my "ditry-fix":
    Qt Code:
    1. if (DragSelectingState == state())
    2. setState(NoState);
    To copy to clipboard, switch view to plain text mode 
    Last edited by cresta; 30th December 2010 at 16:56.

Similar Threads

  1. QTreeWidget Drag and drop
    By zell99 in forum Newbie
    Replies: 15
    Last Post: 7th August 2010, 13:28
  2. QtreeWidget drag and drop
    By addu in forum Qt Programming
    Replies: 4
    Last Post: 30th June 2009, 09:41
  3. QTreeWidget Drag and Drop
    By tommydent in forum Qt Programming
    Replies: 10
    Last Post: 25th August 2008, 15:25
  4. QTreeWidget drag/drop
    By s_a_white in forum Newbie
    Replies: 1
    Last Post: 10th February 2007, 22:04
  5. Drag and drop with QTreeWidget
    By JSPoly in forum Qt Programming
    Replies: 5
    Last Post: 6th February 2007, 22:31

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.