! \internal This method is called by QCustomPlot to indicate that an ongoing selection rect interaction has finished by the user releasing the mouse button. The default implementation deactivates the selection rect and emits the \ref accepted signal. */
| 2942 | selection rect and emits the \ref accepted signal. |
| 2943 | */ |
| 2944 | void QCPSelectionRect::endSelection(QMouseEvent *event) |
| 2945 | { |
| 2946 | mRect.setBottomRight(event->pos()); |
| 2947 | mActive = false; |
| 2948 | emit accepted(mRect, event); |
| 2949 | } |
| 2950 | |
| 2951 | /*! \internal |
| 2952 |