! 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. */
| 2817 | QCustomPlot widget. |
| 2818 | */ |
| 2819 | QCPSelectionRect::QCPSelectionRect(QCustomPlot *parentPlot) : |
| 2820 | QCPLayerable(parentPlot), |
| 2821 | mPen(QBrush(Qt::gray), 0, Qt::DashLine), |
| 2822 | mBrush(Qt::NoBrush), |
| 2823 | mActive(false) |
| 2824 | { |
| 2825 | } |
| 2826 | |
| 2827 | QCPSelectionRect::~QCPSelectionRect() |
| 2828 | { |
nothing calls this directly
no outgoing calls
no test coverage detected