src/main.cpp

Go to the documentation of this file.
00001 
00002 #include "compiler_options.h"
00003 #include "MainWindow.h"      // Header file for MainWindow class
00004 #include <Qt/qapplication.h> // Header file to get a new instance of QApplication
00005 
00006 
00007 
00008 int main(int argc, char* argv[])
00009 {
00010   // create a new instance of QApplication with params argc and argv
00011   QApplication app( argc, argv );
00012 
00013   // create a new instance of MainWindow with no parent widget
00014   MainWindow mainWindow = new MainWindow( 0, Qt::Window );
00015 
00016   // Shows the widget and its child widgets.
00017   mainWindow.show();
00018 
00019   // Enters the main event loop and waits until exit() is called
00020   // or the main widget is destroyed or by default the last window closed,
00021   // and returns the value that was set via to exit()
00022   // (which is 0 if exit() is called via quit()).
00023   return app.exec();
00024 }
00025 
00026 

Generated on Mon Dec 10 18:18:11 2007 for VisLU by  doxygen 1.5.4