Results 1 to 2 of 2

Thread: Problem in dragging and move QDockWidget

  1. #1
    Join Date
    Apr 2010
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Problem in dragging and move QDockWidget

    Hi everybody,
    I've a poblem about move a QDockWidget not directly child of the MainWindow.
    What I got is a QMainWindow with several children widgets. One of those is a QTabWidget and every Tab of this widget is a QDockWidget.
    Now, my problem is when I undock one of these QDockWidget it become a modal widget and I can't move it. The only thing I can do is dock it again.
    Somebody can help me?

    Thanks

  2. #2
    Join Date
    Apr 2010
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem in dragging and move QDockWidget

    I was able to solve the issue only by directly managing the undock event. When the undock event is emitted a QDialog object is created and the widget is set to it. When the undock event is emitted from the QDialog object, the widget is set back to the QTabWidget.

Similar Threads

  1. Replies: 6
    Last Post: 19th September 2016, 11:44
  2. QAbstractItemDelegate painting while dragging problem
    By rickbsgu in forum Qt Programming
    Replies: 0
    Last Post: 25th March 2011, 19:35
  3. move/drag tabified QDockWidget's togeter
    By qtui in forum Qt Programming
    Replies: 0
    Last Post: 14th February 2011, 00:01
  4. QDockWidget move problem when using custom title widget
    By alexi_nedo in forum Qt Programming
    Replies: 2
    Last Post: 13th September 2010, 13:25
  5. Problem in Move Move Event Handler.
    By redgoof in forum Qt Programming
    Replies: 0
    Last Post: 7th April 2010, 11:45

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.