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. Floating tab widgets
Forum Updated to NodeBB v4.3 + New Features

Floating tab widgets

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.0k Views 1 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.
  • G Offline
    G Offline
    GrahamL
    wrote on last edited by
    #1

    Hi
    In my application I would like something similar to a tab widget, but the user should be able to 'float' the widget.
    Similar to the dock widget scheme except that I need it to be the central widget of main window.

    Does anyone have any ideas on how this might be implemented?
    Not looking for a complete solution, just some hints

    Thanks

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bodzio131
      wrote on last edited by
      #2

      One way I see is to add custom 'make float' button for every tab. User could click such button to make the widget 'float', and she should have similar 'un-float' button in un-tabed widget too.
      However, you will not be able (using this solution) simply to drag such tab to make it 'floating', which would be ideal IMHO. I don't know if it's possible at all. See QTabWidget::tabBar and QTabBar::setTabButton for details.

      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