|
|
Question : Qt How do I have one form load another?
|
|
I have a form where I have a push button. When depressed it will load another form. How do I accomplish this? Both forms are ui and ui.h and i have the other forms's .h #included in the calling cpp. I just dont get it to work, and i googled for the last 3 hours!
Thanks!
|
Answer : Qt How do I have one form load another?
|
|
Have you tried this?
void myClass::showMyForm() { myFormName *pForm = new myFormName(this); pForm->show(); }
|
|
|
|