Sunday, July 6th 2008, 2:02pm UTC+1

You are not logged in.

  • Login
  • Register

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