Results 1 to 3 of 3

Thread: Alignment of QDockWidget

  1. #1
    Join Date
    Feb 2008
    Posts
    157
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Alignment of QDockWidget

    I want a DockWidget to be placed at the bottom, but not below the Right-side DockWidgets, but beside them.

    How can such an Alignment be achieved?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Alignment of QDockWidget

    I'm not sure if I understand what you mean, but I think you want to call QMainWindow::setCorner() and specify that the bottom right corner is to be occupied by the right dock widget area.

  3. #3
    Join Date
    Feb 2008
    Posts
    157
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Alignment of QDockWidget

    Thanks, exactly what I was looking for!

Similar Threads

  1. widget not resized within QDockWidget
    By pospiech in forum Qt Programming
    Replies: 2
    Last Post: 4th December 2008, 19:19
  2. QDockWidget closing detection
    By danielperaza in forum Qt Programming
    Replies: 1
    Last Post: 16th April 2008, 16:28
  3. contextmenu in QDockWidget title
    By klipko in forum Newbie
    Replies: 4
    Last Post: 7th March 2008, 23:32
  4. Replies: 8
    Last Post: 4th February 2007, 01:42
  5. Regarding alignment in QTable
    By joseph in forum Qt Programming
    Replies: 4
    Last Post: 5th December 2006, 11: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.