Go to the documentation of this file.00001
00008
00009
00010
00011
00012 #include <QtGui>
00013 #include <QApplication>
00014 #include "../include/rocon_qorchestra/main_window.hpp"
00015 #include <ros/ros.h>
00016
00017
00018
00019
00020 int main(int argc, char **argv)
00021 {
00022
00023
00024
00025 QApplication app(argc, argv);
00026
00027
00028
00029
00030 QPixmap pixmap(":/images/rocon-logo-blue-large.png");
00031 QSplashScreen splash(pixmap);
00032 splash.show();
00033 app.processEvents();
00034 ros::Time::init();
00035 ros::Duration(1.5).sleep();
00036
00037 rocon_qorchestra::MainWindow w(argc,argv);
00038 w.show();
00039 app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
00040
00041 splash.finish(&w);
00042
00043 int result = app.exec();
00044
00045 return result;
00046 }