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. Hiding a widget and allowing another one to take its place

Hiding a widget and allowing another one to take its place

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 701 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
    nicky j
    wrote on last edited by
    #1

    Hey there,

    I have been interested in how to integrate a QMdiArea into my web browser project. I would like to make a slot, that, when called hides the QTabWidget and creates a QMdiArea in its place. This QMdiArea would load up subwindows with the web pages in the QTabWidget. I don't want to destroy the QTabWidget, just hide it and have the QMdiArea appear in its place. How do I do this?

    Thanks!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      May be "QStackedWidget":http://qt-project.org/doc/qt-5/qstackedwidget.html#details will help here.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nicky j
        wrote on last edited by
        #3

        that looks cool, but Ive already created the application and Im not thrilled with the idea of retrofitting it with a QStackedWidget, any other ideas? Thanks though!

        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