Results 1 to 4 of 4

Thread: different arrangement of QDockWidget than default

  1. #1
    Join Date
    Apr 2006
    Posts
    31
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question different arrangement of QDockWidget than default

    Hi forum,

    I have a QMainWindow with two QDockWidgets. One shall be at the right side and the other at the bottom.

    The default shows it like:
    Qt Code:
    1. +-------------------------------------------+
    2. | +-------+|
    3. | | ||
    4. | | ||
    5. | | ||
    6. | +-------+|
    7. |+-----------------------------------------+|
    8. || ||
    9. |+-----------------------------------------+|
    10. +-------------------------------------------+
    To copy to clipboard, switch view to plain text mode 

    but I would prefer this layout:
    Qt Code:
    1. +-------------------------------------------+
    2. | +-------+|
    3. | | ||
    4. | | ||
    5. | | ||
    6. | | ||
    7. |+--------------------------------+| ||
    8. || || ||
    9. |+--------------------------------++-------+|
    10. +-------------------------------------------+
    To copy to clipboard, switch view to plain text mode 

    any ideas?
    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    La Spezia,Italy
    Posts
    77
    Thanks
    9
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: different arrangement of QDockWidget than default


  3. The following user says thank you to vratojr for this useful post:

    Wurgl (13th July 2006)

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: different arrangement of QDockWidget than default


  5. #4
    Join Date
    Apr 2006
    Posts
    31
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: different arrangement of QDockWidget than default

    Quote Originally Posted by jacek
    Damn! Somehow I missed that. I did some experiments with setCorner, but it seems that ... hmm ... maybe I muddled up left and right

Similar Threads

  1. QDockWidget Size
    By kiker99 in forum Qt Programming
    Replies: 9
    Last Post: 31st March 2007, 16:15
  2. Default value for QFont
    By Kapil in forum Qt Programming
    Replies: 1
    Last Post: 2nd June 2006, 06:40
  3. Opening swf file in the default browser
    By munna in forum Qt Programming
    Replies: 16
    Last Post: 5th May 2006, 09:33
  4. QDockWidget flicker
    By fellobo in forum Qt Programming
    Replies: 1
    Last Post: 28th April 2006, 20:42
  5. QTableWidget -> QDockWidget,
    By ogre in forum Qt Programming
    Replies: 3
    Last Post: 26th January 2006, 06:51

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.