ferdna
20th October 2011, 19:43
what do i do so when newForm1 closes the other one (newForm2) shows...
#include <QtGui/QApplication>
#include "newForm1.h"
#include "newForm2.h"
int main( int argc, char *argv[] )
{
QApplication app( argc, argv );
newForm1 n;
n.show();
newForm2 w;
w.show();
return app.exec();
}
#include <QtGui/QApplication>
#include "newForm1.h"
#include "newForm2.h"
int main( int argc, char *argv[] )
{
QApplication app( argc, argv );
newForm1 n;
n.show();
newForm2 w;
w.show();
return app.exec();
}