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. Qt c++ : call corresponding view and unload the last view

Qt c++ : call corresponding view and unload the last view

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

    hello world !!

    I' m new on qt and think that i will develop better applications.

    That I don't understand is how to load and unload widget.

    Explaining:

    there is a dock that contains two or three items.
    each item have to call corresponding view and unload the latest view.
    If there's a source application that could show me this , it won't be too.

    Thanks...

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

      For loading a widget, you create a new instance of the class that defines the widget you are after. To unload it, you destroy that instance.

      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