! \internal This method is called by QCustomPlot to indicate that an ongoing selection rect interaction needs to update its geometry. The default implementation updates the rect and emits the \ref changed signal. */
| 2929 | signal. |
| 2930 | */ |
| 2931 | void QCPSelectionRect::moveSelection(QMouseEvent *event) |
| 2932 | { |
| 2933 | mRect.setBottomRight(event->pos()); |
| 2934 | emit changed(mRect, event); |
| 2935 | layer()->replot(); |
| 2936 | } |
| 2937 | |
| 2938 | /*! \internal |
| 2939 |