-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
30 lines (24 loc) · 785 Bytes
/
main.cpp
File metadata and controls
30 lines (24 loc) · 785 Bytes
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
/**
** Leibniz Universität Hannover - Institute for Man-Machine-Communication
** Copyright (c) 2013-2016 Andreas Tarnowsky <tarnowsky@welfenlab.de>
**
** You should have received a copy of the MIT License along with this program.
**
**/
#include "framework/mainwindow.h"
#include <QApplication>
#include "examples/frameworkexample.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setApplicationName("GDV-Framework");
a.setApplicationVersion("r2");
a.setOrganizationName("Leibniz Universität Hannover - Welfenlab");
MainWindow w;
w.addLecture("Beispielprojekt", new FrameworkExample());
// ...
// Hier können eigene Abgaben eingetragen werden.
w.setDefaultIndices(0,0,0);
w.show();
return a.exec();
}