! Sets the clip axis rect. It defines the rect that will be used to clip the item when \ref setClipToAxisRect is set to true. \see setClipToAxisRect */
| 12259 | \see setClipToAxisRect |
| 12260 | */ |
| 12261 | void QCPAbstractItem::setClipAxisRect(QCPAxisRect *rect) |
| 12262 | { |
| 12263 | mClipAxisRect = rect; |
| 12264 | if (mClipToAxisRect) |
| 12265 | setParentLayerable(mClipAxisRect.data()); |
| 12266 | } |
| 12267 | |
| 12268 | /*! |
| 12269 | Sets whether the user can (de-)select this item by clicking on the QCustomPlot surface. |