How to set more "windows" in the same Mainwindow?
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:
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:
QStackedWidget will exactly do that
Hi and welcome to devnet,
You should take a look at QTabWidget, QFileDialog, and maybe QWizard. It will depend on your application workflow
Do you have any working example of QStackedWidget, please?
I don't think QWizard might be a solution for my project, although I'm also thinking to use QTabWidget, but how can I rename tabs in Qt Designer?
You have an example in QStackedWidget documentation.
IIRC, select the tab, go to the Property Editor and look for something like currentTabText