This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
IndoorMap/main.cpp
2018-07-30 20:56:17 +02:00

53 lines
817 B
C++

#include "fixC11.h"
#include "MainController.h"
#include <QApplication>
//#include <experimental/filesystem>
#include <iostream>
//#include "exp.h"
//#include "ray.h"
int main(int argc, char *argv[]) {
//exp();
//ray();
QApplication a(argc, argv);
//a.setAttribute(Qt::AA_SynthesizeMouseForUnhandledTouchEvents, false); // touch-events are NOT translated to mouse events!
QString str = R"(
QDockWidget > QWidget {
border: 1px solid #666;
background: #333;
}
/** title color */
QDockWidget {
color: #fff;
font-weight: bold;
}
QDockWidget::title {
text-align: left;
background: #666;
padding: 1px;
font-weight: bold;
}
QDockWidget::close-button, QDockWidget::float-button {
}
)";
a.setStyleSheet(str);
MainController mc;
mc.show();
return a.exec();
}