A
A
Artem Shornikov2020-12-22 20:22:00
Qt
Artem Shornikov, 2020-12-22 20:22:00

How to return to the main form from the additional one in qt?

After launching the second form from the main one, I want to return to the main one through the button in the second form. That is, you go in, log in, press exit, and you are thrown back into the authorization window. The usual method with including the header file does not work.5fe22b02626d8773949378.png5fe22b117dd7b926225228.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jacob E, 2020-12-22
@Artem71

Read any Qt book before you try to write code, save yourself many weeks of work.
QStackedWidget
PS But in general, looking at this design, I would like to recommend QML, QtWidgets have not been developed for a bunch of years. If this is it, then the StackView

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question