changed drawing for better debuging changed layer editing option to add and delete layers some minor changes
40 lines
520 B
C++
40 lines
520 B
C++
#include "MainController.h"
|
|
#include <QApplication>
|
|
|
|
//#include "exp.h"
|
|
//#include "ray.h"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
|
|
//exp();
|
|
//ray();
|
|
|
|
QApplication a(argc, argv);
|
|
|
|
QString str = R"(
|
|
|
|
QDockWidget {
|
|
border: 1px solid #000;
|
|
}
|
|
|
|
QDockWidget::title {
|
|
text-align: left; /* align the text to the left */
|
|
background: #ccc;
|
|
padding: 1px;
|
|
}
|
|
|
|
QDockWidget::title:hover {
|
|
background: #bbb;
|
|
}
|
|
|
|
)";
|
|
|
|
a.setStyleSheet(str);
|
|
|
|
MainController mc;
|
|
mc.show();
|
|
|
|
return a.exec();
|
|
|
|
}
|