Saturday, July 5th 2008, 12:59pm UTC+1

You are not logged in.

  • Login
  • Register

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.

Hippy

Beginner

Posts: 1

Location: Leicester, UK

1

Monday, May 28th 2007, 4:52pm

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.
  • Go to the top of the page

mpd.jhb

Beginner

Posts: 1

Location: South Africa

Occupation: Computers :-)

2

Saturday, October 27th 2007, 3:33am

RE: Multiple forms

To show a new form in the main class, add this code:

newForm = new ChildForm();
app.setMainWidget( newForm );
mainForm->show()
  • Go to the top of the page

Rate this thread