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 Updated to NodeBB v4.3 + New Features

Adding scroll bar to dock widget area?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 746 Views 2 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.
  • apalomerA Offline
    apalomerA Offline
    apalomer
    wrote on 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      • apalomerA Offline
        apalomerA Offline
        apalomer
        wrote on last edited by apalomer
        #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
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on 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

          • Login

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