Adding scroll bar to dock widget area?
-
wrote on 8 May 2019, 06:39 last edited by
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? -
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 ?
-
wrote on 8 May 2019, 07:31 last edited by apalomer 5 Aug 2019, 07:32
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?
-
Yes, that's what I was thinking about. Sorry for the wrong wording.
1/4