Results 1 to 2 of 2

Thread: QMainwindow,QdockWidget

  1. #1
    Join Date
    Mar 2009
    Location
    Gansu,China
    Posts
    188
    Qt products
    Qt4
    Platforms
    Windows

    Default QMainwindow,QdockWidget

    Hi,every one.
    I have a simple QMainWindow with a QDockWidget (view3D,maybe I need to add other QDockWidgets) and a central widget (treewidget).
    I hope that the default width of the central widget is not two wide,I set the maxwidth of it, but find that some blank area between QDockWidge and central widget.(show as pictures)
    picture.jpg

  2. #2
    Join Date
    Sep 2011
    Posts
    11
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: QMainwindow,QdockWidget

    I'm not sure I completely understand your question, but if I had to deal with spacing issues, I'd look into my use of layouts and/or spacer items.

Similar Threads

  1. Floating QDockWidget not re-docked by QMainWindow::restoreState
    By stefanadelbert in forum Qt Programming
    Replies: 14
    Last Post: 20th October 2016, 21:16
  2. Individual Design of QMainWindow with QDockWidget
    By d'Matthias in forum Qt Programming
    Replies: 4
    Last Post: 30th May 2011, 17:05
  3. unwanted QDockWidget resizing after QMainWindow::tabify()
    By alpinista in forum Qt Programming
    Replies: 0
    Last Post: 12th January 2011, 06:56
  4. QMainWindow ignores dynamically created, floating QDockWidget
    By stefanadelbert in forum Qt Programming
    Replies: 1
    Last Post: 2nd March 2010, 01:06
  5. QMainWindow and its QDockWidget
    By Promethee in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2006, 20:42

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.