Answer the question
In order to leave comments, you need to log in
How to build application logic in QTCreator?
Good afternoon, I'm trying to get comfortable in QT and the question has come up: how to change widgets with each other? It comes to mind: create the main window and inherit all widgets from it (but here is also the question of how to do this? if there is an instance of some QLabel, we pass it in the parameters) and somehow hide() / show() these widgets in turn . Or should I use something else? Forms? In general, what logic should be used so that in one window, when a button is pressed, it switches to another widget (or something else)?
Answer the question
In order to leave comments, you need to log in
Gentlemen, read the books, everything is written there. Well, at least some, save a terrible amount of your own and other people's time. See the examples built into the creator. And in this form, this is not a question, it's just a demonstration of a lack of understanding of basic things.
And yes, do not confuse the Qt framework and the Qt Creator IDE, these are different things.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question