63 lines
1.1 KiB
C++
63 lines
1.1 KiB
C++
/*
|
||
* © Copyright 2014 – Urheberrechtshinweis
|
||
* Alle Rechte vorbehalten / All Rights Reserved
|
||
*
|
||
* Programmcode ist urheberrechtlich geschuetzt.
|
||
* Das Urheberrecht liegt, soweit nicht ausdruecklich anders gekennzeichnet, bei Frank Ebner.
|
||
* Keine Verwendung ohne explizite Genehmigung.
|
||
* (vgl. § 106 ff UrhG / § 97 UrhG)
|
||
*/
|
||
|
||
#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();
|
||
|
||
}
|