I am using QtCreator and I need to create a program which when clicking a button in one (.ui) frame, changes focus to another (.ui) frame. How can I do that?
2 Answers
I suggest putting your two forms into different pages of a QStackedWidget, and setting the active widget based on which of the two you want to have visible.
1 Comment
DHANA
do you have any small example or use full links for how to put forms in QStackedWidget and the Navigation between two forms
Have a look at the activateWindow method of QWidget. Link
I hope this helps other people coming here by google.