! If there is currently a selection interaction going on (\ref isActive), the interaction is canceled. The selection rect will emit the \ref canceled signal. */
| 2874 | canceled. The selection rect will emit the \ref canceled signal. |
| 2875 | */ |
| 2876 | void QCPSelectionRect::cancel() |
| 2877 | { |
| 2878 | if (mActive) |
| 2879 | { |
| 2880 | mActive = false; |
| 2881 | emit canceled(mRect, 0); |
| 2882 | } |
| 2883 | } |
| 2884 | |
| 2885 | /*! \internal |
| 2886 |
no outgoing calls
no test coverage detected