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. Is it possible to drag n drop widgets between tabs in QTabWidget?

Is it possible to drag n drop widgets between tabs in QTabWidget?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 565 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.
  • N Offline
    N Offline
    nikolitav
    wrote on last edited by
    #1

    Hello guys,

    I'm trying to create a new tab widget with some widgets in tab pages and i'd like the user to have the ability to customize the tab pages by drag n drop the widgets between the tabs.
    Is it possible?

    thanks in advance for your help!

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by VRonin
      #2

      Out of the box, using a QTabWidget no. however if you use Qt 5.6 or later and use QDockWidget to build your tabs you can have this functionality ready

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      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