mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Fix some misprint
When print on printer with low resolution, some lines are not printed because to thin. Thin line of elements : set width to 0.5 instead of 0 and set cosmetic option to false. Folio border and titleblock : set width to 1 and set cosmetic option to false.
This commit is contained in:
@@ -598,7 +598,7 @@ void ElementPictureFactory::setPainterStyle(const QDomElement &dom, QPainter &pa
|
||||
else if (style_value == "normal") pen.setStyle(Qt::SolidLine);
|
||||
} else if (style_name == "line-weight") {
|
||||
if (style_value == "none") pen.setColor(QColor(0, 0, 0, 0));
|
||||
else if (style_value == "thin") pen.setWidth(0);
|
||||
else if (style_value == "thin") pen.setWidthF(0.5);
|
||||
else if (style_value == "normal") pen.setWidthF(1.0);
|
||||
else if (style_value == "hight") pen.setWidthF(2.0);
|
||||
else if (style_value == "eleve") pen.setWidthF(5.0);
|
||||
|
||||
Reference in New Issue
Block a user