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. Tabbed QMdiArea: Create New Window Via Dragging Tabs

Tabbed QMdiArea: Create New Window Via Dragging Tabs

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.4k 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.
  • T Offline
    T Offline
    Techfix
    wrote on last edited by
    #1

    As the title suggest I am working on a QMdiArea which the ViewMode is set to TabbedView. I am using a QTextEdit for the content of each SubWindow for the moment. I have managed to get the tabs to move around on the tab bar using:
    @ui->mdiArea->setTabsMovable(true);@

    What I would like though is to be able to create a new duplicate instance of the MainWindow for the selected tab by dragging a tab outside the window space, just like google chrome or firefox. How can I achieve this using the Qt SDK?

    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