forked from patrickdemond/OVis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ovis.cpp
31 lines (24 loc) · 799 Bytes
/
ovis.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*=========================================================================
Program: ovis (OrlandoVision)
Module: ovis.cpp
Language: C++
Author: Patrick Emond <emondpd@mcmaster.ca>
=========================================================================*/
//
// .SECTION Description
// The main function which launches the application.
//
#include <QApplication>
#include "interface/ovQMainWindow.h"
// main function
int main( int argc, char** argv )
{
// create application and set some defaults
QApplication application( argc, argv );
// set main widget for the application to the main window
ovQMainWindow mainWindow;
application.setMainWidget( &mainWindow );
mainWindow.show();
// return the result of the executed application
return application.exec();
}