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)?
    Picture

    Martin


  • Qt Champions 2016

    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.


  • Qt Champions 2016

    @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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.