48 lines
718 B
C++
48 lines
718 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 {
|
|
font-weight: bold;
|
|
}
|
|
|
|
QDockWidget::title {
|
|
/* text-align: left;
|
|
background: #ccc;
|
|
padding: 1px; */
|
|
font-weight: bold;
|
|
}
|
|
|
|
|
|
|
|
/* QDockWidget::title:hover {
|
|
background: #bbb;
|
|
}*/
|
|
|
|
)";
|
|
|
|
a.setStyleSheet(str);
|
|
|
|
MainController mc;
|
|
mc.show();
|
|
|
|
return a.exec();
|
|
|
|
}
|