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.

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



  • 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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.