src/tools/drawtool.cpp

changeset 153
2f79053c2e9a
parent 152
03f8e6d42e13
child 163
36ea1a8aee33
equal deleted inserted replaced
152:03f8e6d42e13 153:2f79053c2e9a
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}};

mercurial