Example #1
0
int main(int argc, char *argv[])
{
      QApplication app(argc, argv);

      SceneWindow *sceneWindow = new SceneWindow();
      sceneWindow->show();
      return app.exec();
}
Example #2
0
SceneWindow* SceneManager::createScene()
{
    SceneWindow* sceneWindow = new SceneWindow( static_cast<QWidget*>(parent()) );
    sceneWindow->show();
    connect( sceneWindow, SIGNAL(closed(SceneWindow*)), SLOT(sceneWindowDestroyed(SceneWindow*)) );
    connect( sceneWindow, SIGNAL(warningMessage(const QString&)), SIGNAL(warningMessage(const QString&)) );
    mSceneList.push_back( sceneWindow );
	
    return sceneWindow;
}