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. Dock Widgets

Dock Widgets

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.1k 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.
  • G Offline
    G Offline
    GrahamL
    wrote on last edited by
    #1

    Hi
    I am investigating the behaviour of dock widgets.
    I am trying to achieve the following -

    1. Have a set of tabbed dock widgets positioned at the bottom of mainWindow
    2. Have each of the tabbed dock widgets floatable but not moveable
    3. Have the dock widgets always take up the entire space of the mainWindow

    1 & 2 are easy to implement but I am struggling with 3.

    Does anyone have any hints on how I can achieve this.

    Thanks

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      I don't think this achievable as widget area on MainWindow takes space by design. DockWidgets and MainWindow are designed to take the space around this centralWidget space. Even if you set the centralwidget area to zero size, MainWindow will not give the spacing to dockwindow.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      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