mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-03 02:30:52 +01:00
Basic shapes:fix line type on MS Windows printing
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2934 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -104,6 +104,7 @@ void QetShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
|
||||
painter -> setRenderHint(QPainter::Antialiasing, false);
|
||||
QRectF rec = boundingRect();
|
||||
QPen pen(Qt::black);
|
||||
pen.setWidth(1);
|
||||
if (isSelected())
|
||||
pen.setColor(Qt::red);
|
||||
pen.setStyle(_shapeStyle);
|
||||
|
||||
Reference in New Issue
Block a user