summaryrefslogtreecommitdiff
path: root/src/data/edgestyle.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-04-21 22:53:05 +0200
committerAleks Kissinger <aleks0@gmail.com>2018-04-21 22:53:05 +0200
commitb00c5250d7a56b6d20980d89cf331a114fdfdee0 (patch)
tree5fef5c2a534cf150f9ae57cd20a90d6789bd3789 /src/data/edgestyle.cpp
parent9dd19037afd93d879ec32c5191314196f7f50592 (diff)
edge styles 90 percent
Diffstat (limited to 'src/data/edgestyle.cpp')
-rw-r--r--src/data/edgestyle.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/data/edgestyle.cpp b/src/data/edgestyle.cpp
index d366946..9fb2638 100644
--- a/src/data/edgestyle.cpp
+++ b/src/data/edgestyle.cpp
@@ -41,7 +41,7 @@ EdgeStyle::DrawStyle EdgeStyle::drawStyle() const
QPen EdgeStyle::pen() const
{
QPen p(strokeColor());
- p.setWidthF((float)strokeThickness() * 3.0f);
+ p.setWidthF((float)strokeThickness() * 2.0f);
QVector<qreal> pat;
switch (drawStyle()) {
@@ -84,6 +84,10 @@ QIcon EdgeStyle::icon() const
painter.drawLine(10, 50, 90, 50);
+ QPen pn = pen();
+ pn.setStyle(Qt::SolidLine);
+ painter.setPen(pn);
+
switch (arrowHead()) {
case Pointer:
painter.drawLine(90,50,80,40);