Unsolved qtab as dockable widget
-
Hello,
I would try to add in qpdfviewer the qtab as dockable widget in the same dockbar as the other widgets. Is that possible? I would also ask if there is a possibility to move the menu bar at the top (see attached pic)?
PictureMartin
-
Hi
The DockWidgets have their own system for being tabs
so Im not sure it possible to
get them to live in toolbar as the tabs are dynamic created when docking and
reparent them will most likely lead to side effects.It is not possible to have the QMainMenu in caption area.
Some have removed the real caption and painted their own but then u have to reprogram move and other functions to fully support it. -
@Wuzi
Hello,I would try to add in qpdfviewer the qtab as dockable widget in the same dockbar as the other widgets. Is that possible?
Probably, but it may involve using a
QStackedWidget
for your content and managing the tab's headers on your own. So when the tab is changed you manually set the stacked widget's page.As for the menu, I'm with @mrjj on this one. If it's possible, which I'm not sure it is, it may not be at all simple to do.