forked from AIUT3D/aiut3d-motion-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
35 lines (29 loc) · 755 Bytes
/
main.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
32
33
34
35
#include "mainwindow.h"
#include "sendertoserver.h"
#include <QApplication>
#include <QScrollArea>
//monitor port
string mHost = "127.0.0.1";
bool bResetMonitor = false;
int agentBodyType;
map<string, string> namedParams;
string teamName;
int uNum;
string outputFile; // For optimization
string agentType;
string rsg;
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
///
/// the link to how to add scroll bar to the application form:
/// http://www.informit.com/articles/article.aspx?p=1405543&seqNum=4
///
QScrollArea scrollArea;
scrollArea.setWidget(&w);
scrollArea.setWindowTitle(QObject::tr("AIUT 3D Motion Editor"));
scrollArea.show();
w.show();
return a.exec();
}