Important: Please read the Qt Code of Conduct -

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

  • 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.


    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.


  • 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.

Log in to reply