Results 1 to 2 of 2

Thread: QDockWidget new areas

  1. #1
    Join Date
    Mar 2017
    Posts
    2
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default QDockWidget new areas

    Hello, at the moment there is QDockWidget which can be docked in QMainWindow around the central widget in its predefined areas, but i want to ask a question, is there a way to predefine my own areas for QDockWidget inside layouts to dock it there? And if QDockWidget unable to dot it, could you not tell me, is it possible to somehow achieve this in Qt with different widgets?
    Last edited by nammidd; 28th March 2017 at 12:45.

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: QDockWidget new areas

    No you cannot define the areas for docking. If you want you will have to write a custom layout manager for it which responds to mouse events.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. Replies: 5
    Last Post: 17th March 2017, 00:20
  2. Overlapping Mouse Areas
    By piplex in forum Qt Quick
    Replies: 1
    Last Post: 6th March 2015, 08:06
  3. QImage getting black areas for GIF frames
    By elephant in forum Qt Programming
    Replies: 4
    Last Post: 7th December 2013, 00:29
  4. Replies: 8
    Last Post: 13th May 2013, 14:36
  5. How to make certain areas transparent with the desktop?
    By Sir Rogers in forum Qt Programming
    Replies: 5
    Last Post: 11th May 2010, 22:08

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.