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. Put a widget in the MDI tabs bar

Put a widget in the MDI tabs bar

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

    In FreeCAD we use a MDI area for the main 3dView. Tabs (located at the bottom) correspond to documents.
    Under this tab bar we also have a status bar. Which has a status message and two buttons.
    It currently looks like so :
    alt text

    We have a feature request to improve the UI, to merge these two bars like so :
    alt text

    I am not sure how to do this. I guess I could draw the widget on top of the MDI area. But then the there're a lot of tabs, they will end up under the widget and will be hidden / not accessible.
    Any suggestion?

    Thanks !

    P 1 Reply Last reply
    0
    • P Paddle

      In FreeCAD we use a MDI area for the main 3dView. Tabs (located at the bottom) correspond to documents.
      Under this tab bar we also have a status bar. Which has a status message and two buttons.
      It currently looks like so :
      alt text

      We have a feature request to improve the UI, to merge these two bars like so :
      alt text

      I am not sure how to do this. I guess I could draw the widget on top of the MDI area. But then the there're a lot of tabs, they will end up under the widget and will be hidden / not accessible.
      Any suggestion?

      Thanks !

      P Offline
      P Offline
      Paddle
      wrote on last edited by
      #2

      Oh it appears there's a 'TabWidget' functionality that may be just what we need :
      https://forum.qt.io/topic/145522/how-to-display-tab-widget-corner-widget-on-the-left-right-side/2

      P 1 Reply Last reply
      0
      • P Paddle

        Oh it appears there's a 'TabWidget' functionality that may be just what we need :
        https://forum.qt.io/topic/145522/how-to-display-tab-widget-corner-widget-on-the-left-right-side/2

        P Offline
        P Offline
        Paddle
        wrote on last edited by
        #3

        In fact I was wrong, the linked topic is about QTabWidget not QTabBar

        Anyone one know how I can do what is described ? ie adding a widget to the qtabbar.
        Thanks

        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