! If there is currently a selection interaction going on (\ref isActive), the interaction is canceled. The selection rect will emit the \ref canceled signal. */
| 2901 | canceled. The selection rect will emit the \ref canceled signal. |
| 2902 | */ |
| 2903 | void QCPSelectionRect::cancel() |
| 2904 | { |
| 2905 | if (mActive) |
| 2906 | { |
| 2907 | mActive = false; |
| 2908 | emit canceled(mRect, nullptr); |
| 2909 | } |
| 2910 | } |
| 2911 | |
| 2912 | /*! \internal |
| 2913 |
no outgoing calls
no test coverage detected