main.cpp 1.18 KB
Newer Older
Dipl.-Ing. Jonas Stienen's avatar
Dipl.-Ing. Jonas Stienen committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 *  --------------------------------------------------------------------------------------------
 *
 *    VVV        VVV A           Virtual Acoustics (VA) | http://www.virtualacoustics.org
 *     VVV      VVV AAA          Licensed under the Apache License, Version 2.0
 *      VVV    VVV   AAA
 *       VVV  VVV     AAA        Copyright 2015-2017
 *        VVVVVV       AAA       Institute of Technical Acoustics (ITA)
 *         VVVV         AAA      RWTH Aachen University
 *
 *  --------------------------------------------------------------------------------------------
 */

#include <QApplication>
15
16
17
#include <QCoreApplication>
#include <QLocale>

Dipl.-Ing. Jonas Stienen's avatar
Dipl.-Ing. Jonas Stienen committed
18
19
20
21
22
23
24
25
26
27
28
#include "RedstartWindow.h"

int main( int argc, char* argv[] )
{
	// Qt app
	QApplication a( argc, argv );
	a.setOrganizationName( "Institute of Technical Acoustics (ITA)" );
	a.setOrganizationDomain( "akustik.rwth-aachen.de" );
	a.setApplicationName( "Redstart" );
	a.setApplicationDisplayName( "Redstart VA GUI" );

29
30
31
32
33
34
	QLocale::setDefault( QLocale::English );

	QIcon icon;
	//icon.addFile( QStringLiteral( ":/res/Redstart_icon.png" ), QSize(), QIcon::Normal, QIcon::On );
	a.setWindowIcon( icon );

Dipl.-Ing. Jonas Stienen's avatar
Dipl.-Ing. Jonas Stienen committed
35
36
37
38
39
	RedstartWindow w;
	w.show();
	
	return a.exec();
};