Results 1 to 2 of 2

Thread: How to remove or hide seperators between QDockWidget & Central Widget in QMainWindow?

  1. #1
    Join Date
    Aug 2011
    Location
    Mumbai
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default How to remove or hide seperators between QDockWidget & Central Widget in QMainWindow?

    Hi All,

    I want to remove or hide separator, which is in between Dock widgets & central widget in QMainWindow. I attached screenshot of the Qt example & marked the separator in red box.

    Is there any top hide or remove it ?

    DockWidget_Seperator.jpg

  2. #2
    Join Date
    Aug 2011
    Location
    Mumbai
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to remove or hide seperators between QDockWidget & Central Widget in QMainWin

    Apply following in style sheet. It will remove separators of QMainWindow.

    QMainWindow::separator { width:0px; height:0px;}

Similar Threads

  1. QDockWidget/Central Widget Problem
    By Lemming in forum Qt Programming
    Replies: 7
    Last Post: 3rd April 2016, 10:52
  2. Replies: 2
    Last Post: 29th June 2011, 16:45
  3. Replies: 0
    Last Post: 14th November 2010, 20:38
  4. paint central widget of a QMainWindow???
    By Shuchi Agrawal in forum Newbie
    Replies: 3
    Last Post: 17th January 2007, 09:02
  5. Central Widget of QMainWindow
    By sumsin in forum Qt Programming
    Replies: 3
    Last Post: 13th March 2006, 19:32

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.