T
T
temagadfazer2018-12-19 22:05:09
Qt
temagadfazer, 2018-12-19 22:05:09

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

1 answer(s)
J
Jacob E, 2018-12-19
@Zifix

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 question

Ask a Question

731 491 924 answers to any question