! Sets the single \a interaction of this QCustomPlot to \a enabled. For details about the interaction system, see \ref setInteractions. \see setInteractions */
| 13138 | \see setInteractions |
| 13139 | */ |
| 13140 | void QCustomPlot::setInteraction(const QCP::Interaction &interaction, bool enabled) |
| 13141 | { |
| 13142 | if (!enabled && mInteractions.testFlag(interaction)) |
| 13143 | mInteractions &= ~interaction; |
| 13144 | else if (enabled && !mInteractions.testFlag(interaction)) |
| 13145 | mInteractions |= interaction; |
| 13146 | } |
| 13147 | |
| 13148 | /*! |
| 13149 | Sets the tolerance that is used to decide whether a click selects an object (e.g. a plottable) or |
nothing calls this directly
no outgoing calls
no test coverage detected