(empty message)
[qanava.git] / tests / logo / canApp.cpp
blob38f08674bb034fca71a9a9392d1632e0b1eeb463
1 //-----------------------------------------------------------------------------
2 // This file is a part of the Qarte software.
3 //
4 // \file canApp.cpp
5 // \author Benoit Autheman (benoit@faktiss.net)
6 // \date 2005 April 19
7 //-----------------------------------------------------------------------------
10 // NI headers
11 #include "canMainWindow.h"
14 // QT headers
15 #include <qapplication.h>
16 #include <qsplashscreen.h>
20 int main( int argc, char** argv )
22 // QT gui creation (Needed to allocate plugin qt components and application kernel)
23 QApplication app( argc, argv );
25 // Create main application form
26 MainWindow mainWindow;
28 // Display main window and start processing events
29 app.setMainWidget( &mainWindow );
30 mainWindow.show( );
31 app.connect( &app, SIGNAL( lastWindowClosed( ) ), &app, SLOT( quit( ) ) );
33 // Process events
34 return app.exec( );