implement variable point-size of grid

This commit is contained in:
plc-user
2025-02-28 16:33:24 +01:00
parent 15ae8b0058
commit a36de7de74
8 changed files with 181 additions and 100 deletions

View File

@@ -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);
}