Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Multiple forms
Hi there
Sorry if these seems a rather newbie quesiton, but I have only just jumped into KDE & C++ development.
How do I go about adding another form to my application and show that form from an existing form?
Thanks in advance,
Hippy.
RE: Multiple forms
To show a new form in the main class, add this code:
newForm = new ChildForm();
app.setMainWidget( newForm );
mainForm->show()