Results 1 to 1 of 1

Thread: QDockWidget drag/drop preview

  1. #1
    Join Date
    Feb 2011
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QDockWidget drag/drop preview

    Hi all,

    Maybe I'm missing some important step, but I'd like to disable the preview of final docked position when drag/dropping a QDockWidget.
    If I'm not wrong, I have to setAnimated(false) at QMainWindow.
    http://doc.qt.nokia.com/latest/qt4-m...-functionality
    But it seems not working. Do I need anything else?

    Thanks a lot.


    Added after 36 minutes:


    Well, my fault.
    I've just noticed the difference between animation enabled/disabled. I thought setting animation off would avoid painting the target location.
    I should implement my own DragMoveEvent handler, shouldn't I?
    Last edited by harregui; 23rd February 2011 at 15:30.

Similar Threads

  1. move/drag tabified QDockWidget's togeter
    By qtui in forum Qt Programming
    Replies: 0
    Last Post: 14th February 2011, 00:01
  2. Drag Drop in QT
    By vaibhav in forum Qt Programming
    Replies: 2
    Last Post: 2nd December 2010, 11:15
  3. Replies: 2
    Last Post: 13th October 2010, 21:51
  4. Replies: 3
    Last Post: 10th June 2010, 15:13
  5. Replies: 0
    Last Post: 4th May 2010, 10:24

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.