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

Method QCPSelectionRect

qcustomplot/qcustomplot.cpp:2819–2825  ·  view source on GitHub ↗

! Creates a new QCPSelectionRect instance. To make QCustomPlot use the selection rect instance, pass it to \ref QCustomPlot::setSelectionRect. \a parentPlot should be set to the same QCustomPlot widget. */

Source from the content-addressed store, hash-verified

2817 QCustomPlot widget.
2818*/
2819QCPSelectionRect::QCPSelectionRect(QCustomPlot *parentPlot) :
2820 QCPLayerable(parentPlot),
2821 mPen(QBrush(Qt::gray), 0, Qt::DashLine),
2822 mBrush(Qt::NoBrush),
2823 mActive(false)
2824{
2825}
2826
2827QCPSelectionRect::~QCPSelectionRect()
2828{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected