added shadow property for baseitem

This commit is contained in:
yanis60
2022-05-04 18:21:14 +01:00
parent 52f43f946b
commit db57157690
6 changed files with 174 additions and 102 deletions

View File

@@ -80,7 +80,7 @@ void ShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
painter->save();
QPen pen(m_shapeColor);
pen.setWidthF(m_lineWidth+1);
pen.setWidthF(m_lineWidth);
pen.setStyle(m_penStyle);
pen.setJoinStyle(Qt::MiterJoin);
painter->setPen(pen);