2 #include <document.h> |
2 #include <document.h> |
3 #include "linetypes/edge.h" |
3 #include "linetypes/edge.h" |
4 #include "linetypes/triangle.h" |
4 #include "linetypes/triangle.h" |
5 #include "linetypes/quadrilateral.h" |
5 #include "linetypes/quadrilateral.h" |
6 #include "drawtool.h" |
6 #include "drawtool.h" |
7 #include "modeleditcontext.h" |
7 #include "modeleditor.h" |
8 |
8 |
9 static const QBrush pointBrush = {Qt::white}; |
9 static const QBrush pointBrush = {Qt::white}; |
10 static const QPen polygonPen = {QBrush{Qt::black}, 2.0, Qt::DashLine}; |
10 static const QPen polygonPen = {QBrush{Qt::black}, 2.0, Qt::DashLine}; |
11 static const QPen pointPen = {QBrush{Qt::black}, 2.0}; |
11 static const QPen pointPen = {QBrush{Qt::black}, 2.0}; |
12 static const QBrush polygonBrush = {QColor{64, 255, 128, 192}}; |
12 static const QBrush polygonBrush = {QColor{64, 255, 128, 192}}; |