graphic trace

This commit is contained in:
2021-10-22 21:40:23 +03:00
parent b9943a460a
commit 66d7e2ccde

View File

@@ -1345,7 +1345,7 @@ QString Graphic::pointCoords(QPointF point, bool x, bool y) {
if (axis_type_x == Numeric)
ret += QString::number(point.x(), 'f', 3);
else
ret += QDateTime::fromMSecsSinceEpoch(point.x()).toString();
ret += QDateTime::fromMSecsSinceEpoch(point.x()).toString(Qt::SystemLocaleShortDate);
}
if (y) {
if (ret.size() > 1) ret += " ; ";
@@ -1416,7 +1416,7 @@ void Graphic::drawGuides() {
}
if (gr >= 0) {
apos = real2canvas(rpos).toPoint();
str = graphics[gr].name + ": " + pointCoords(rpos) + fp_size;
str = " " + graphics[gr].name + ": " + pointCoords(rpos) + fp_size;
emit graphicTraceEvent(curTrace, point);
}
}