MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / registerWithPlottable

Method registerWithPlottable

qcustomplot/qcustomplot.cpp:10472–10483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10470 the registration and returns false.
10471*/
10472bool QCPSelectionDecorator::registerWithPlottable(QCPAbstractPlottable *plottable)
10473{
10474 if (!mPlottable)
10475 {
10476 mPlottable = plottable;
10477 return true;
10478 } else
10479 {
10480 qDebug() << Q_FUNC_INFO << "This selection decorator is already registered with plottable:" << reinterpret_cast<quintptr>(mPlottable);
10481 return false;
10482 }
10483}
10484
10485
10486////////////////////////////////////////////////////////////////////////////////////////////////////

Callers 1

setSelectionDecoratorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected