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

Method InfoElement

src/backend/worksheet/InfoElement.cpp:48–55  ·  view source on GitHub ↗

* \class InfoElement * \brief Marker which can highlight points of curves and show their values. * \ingroup CartesianPlotArea */

Source from the content-addressed store, hash-verified

46 * \ingroup CartesianPlotArea
47 */
48InfoElement::InfoElement(const QString& name, CartesianPlot* plot)
49 : WorksheetElement(name, new InfoElementPrivate(this), AspectType::InfoElement) {
50 Q_D(InfoElement);
51 d->m_plot = plot;
52
53 init();
54 setVisible(false);
55}
56
57InfoElement::InfoElement(const QString& name, CartesianPlot* p, const XYCurve* curve, double logicalPos)
58 : WorksheetElement(name, new InfoElementPrivate(this, curve), AspectType::InfoElement) {

Callers

nothing calls this directly

Calls 15

setFixedMethod · 0.80
coordinateSystemIndexMethod · 0.80
appendMethod · 0.80
xMethod · 0.80
toHtmlMethod · 0.80
setUndoAwareMethod · 0.80
QPointFClass · 0.50
QStringClass · 0.50
nameMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected