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. Adding scroll bar to dock widget area?
Forum Update on Monday, May 27th 2025

Adding scroll bar to dock widget area?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 743 Views
  • 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.
  • A Offline
    A Offline
    apalomer
    wrote on 8 May 2019, 06:39 last edited by
    #1

    Hi!
    I have a main GUI with some docking widgets. There's a point where the widgets are big enough to not fit in the screen. I modified each one of the docking widgets to incorporate a scroll area. However, this leads to useless widgets because I need to see the whole widget to be able to interact with it (not because of Qt, but the widgets contained in QDockWidgets in my application need to be shown entirely for the user to be able to get all the information and interact with it properly). Is there a way to put a scoll bar to the docking area so I can scroll the entire list of docking widgets instead of the scroll area inside each QDockWidget?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 8 May 2019, 06:47 last edited by
      #2

      Hi,

      Can you show what your GUI looks like and how it should look like ?

      AFAIR, there's no such concept as scroll bar for the various dock areas. But maybe allowing your docks to be stacked would be enough ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • A Offline
        A Offline
        apalomer
        wrote on 8 May 2019, 07:31 last edited by apalomer 5 Aug 2019, 07:32
        #3

        Do you mean allow QMainWindow::AllowTabbedDocks when you say: "But maybe allowing your docks to be stacked would be enough ?". Otherwise, what do you mean by stacking the dock widgets?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 8 May 2019, 07:35 last edited by
          #4

          Yes, that's what I was thinking about. Sorry for the wrong wording.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          1/4

          8 May 2019, 06:39

          • Login

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