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. qtab as dockable widget
Forum Updated to NodeBB v4.3 + New Features

qtab as dockable widget

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 606 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.
  • W Offline
    W Offline
    Wuzi
    wrote on last edited by Wuzi
    #1

    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

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • kshegunovK Offline
        kshegunovK Offline
        kshegunov
        Moderators
        wrote on last edited by
        #3

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

        Read and abide by the Qt Code of Conduct

        1 Reply Last reply
        0

        • Login

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