How to set more "windows" in the same Mainwindow?
-
Hello!
I am new in Qt and I'm doing a project for an university course. I need to make a window, with a toolbar having some "buttons" which allow me to access different "windows". My general layout should be something like this:
https://www.dropbox.com/s/kngwarqqxfxrqkg/MyLayout.png?dl=0
When I press in the folder icon, I must see f.e. open file, show file, or something else. When I press the configuration folder I must see an other window with configurations that must be set.
I must do something like this:
https://www.dropbox.com/s/nlwi2o0cowv0ri6/FisrtTab.png?dl=0
https://www.dropbox.com/s/4un1aty1z84lixo/SecondTab.png?dl=0 -
Hi and welcome to devnet,
You should take a look at QTabWidget, QFileDialog, and maybe QWizard. It will depend on your application workflow
-
You have an example in QStackedWidget documentation.
IIRC, select the tab, go to the Property Editor and look for something like currentTabText