mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
implement variable point-size of grid
This commit is contained in:
@@ -227,6 +227,8 @@ void Diagram::drawBackground(QPainter *p, const QRectF &r) {
|
||||
points << QPoint(gx, gy);
|
||||
}
|
||||
}
|
||||
pen.setWidth(settings.value(QStringLiteral("diagrameditor/grid_pointsize"), 1).toInt());
|
||||
p -> setPen(pen);
|
||||
p -> drawPoints(points);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user