Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
stackeLayout->setCurrentIndex vs connect(......, , , setCurrentIndex)
buildroot last edited by buildroot
just to see how it works, i made the code attached. It is not clear to me, line on the page 71 worked fine but custom slot (setPage) did not work.
Connect calls the slot, program go through if statements, but i do not see other page of stackedLayout.
What am i missing?
program go through if statements
Could you explain what exactly happens?
Did you try to debug step by step to see what happens?
Diracsbracket last edited by Diracsbracket
This post is deleted!
buildroot last edited by
@jsulm sorry for late answer, problem is solved.
it was because of my missing c++ knowledge.
@buildroot then please mark this topic as SOLVED. thanks