Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to remove or hide seperators between QDockWidget & Central Widget in QMainWindow?
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    prash4u410
    wrote on last edited by
    #1

    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 to hide or remove it ?

    !https://drive.google.com/?urp=http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&s&pli=1&authuser=0#my-drive()!

    1 Reply Last reply
    0
    • P Offline
      P Offline
      prash4u410
      wrote on last edited by
      #2

      Use following in stylesheet to remove style sheet.

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved