MCPcopy Create free account
hub / github.com/KDE/labplot / info

Method info

src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp:46–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46QString CartesianCoordinateSystem::info() const {
47 DEBUG(Q_FUNC_INFO)
48 if (!name().isEmpty())
49 return name();
50
51 if (d->plot)
52 return QString(QLatin1String("x = ") + d->plot->range(Dimension::X, d->xIndex).toString() + QLatin1String(", y = ")
53 + d->plot->range(Dimension::Y, d->yIndex).toString());
54
55 return i18n("no info available");
56}
57
58// ##############################################################################
59// ######################### logical to scene mappers ###########################

Callers 5

coordinateSystemInfoMethod · 0.45
mouseMoveEventMethod · 0.45
mouseMoveCursorModeMethod · 0.45
hoverMoveEventMethod · 0.45

Calls 4

rangeMethod · 0.80
QStringClass · 0.50
isEmptyMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected