! Sets whether this item is selected or not. When selected, it might use a different visual appearance (e.g. pen and brush), this depends on the specific item though. The entire selection mechanism for items is handled automatically when \ref QCustomPlot::setInteractions contains QCustomPlot::iSelectItems. You only need to call this function when you wish to change the selection state m
| 13015 | \see setSelectable, selectTest |
| 13016 | */ |
| 13017 | void QCPAbstractItem::setSelected(bool selected) |
| 13018 | { |
| 13019 | if (mSelected != selected) |
| 13020 | { |
| 13021 | mSelected = selected; |
| 13022 | emit selectionChanged(mSelected); |
| 13023 | } |
| 13024 | } |
| 13025 | |
| 13026 | /*! |
| 13027 | Returns the QCPItemPosition with the specified \a name. If this item doesn't have a position by |