mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Minor : Force single line symbols specific conductor to 1 pixel,
even if the thickness of the conductor is superior than 1 pixel git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4292 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -71,6 +71,7 @@ void SingleLineProperties::draw(QPainter *painter, QET::ConductorSegmentType dir
|
|||||||
pen.setCapStyle(Qt::FlatCap);
|
pen.setCapStyle(Qt::FlatCap);
|
||||||
pen.setJoinStyle(Qt::MiterJoin);
|
pen.setJoinStyle(Qt::MiterJoin);
|
||||||
pen.setStyle(Qt::SolidLine);
|
pen.setStyle(Qt::SolidLine);
|
||||||
|
pen.setWidthF(1);
|
||||||
painter -> setPen(pen);
|
painter -> setPen(pen);
|
||||||
painter -> setRenderHint(QPainter::Antialiasing, true);
|
painter -> setRenderHint(QPainter::Antialiasing, true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user