! Sets the selected state of the respective axis parts described by \ref SelectablePart. When a part is selected, it uses a different pen/font. The entire selection mechanism for axes is handled automatically when \ref QCustomPlot::setInteractions contains iSelectAxes. You only need to call this function when you wish to change the selection state manually. This function can chan
| 8439 | setSelectedTickLabelFont, setSelectedLabelFont, setSelectedTickLabelColor, setSelectedLabelColor |
| 8440 | */ |
| 8441 | void QCPAxis::setSelectedParts(const SelectableParts &selected) |
| 8442 | { |
| 8443 | if (mSelectedParts != selected) |
| 8444 | { |
| 8445 | mSelectedParts = selected; |
| 8446 | emit selectionChanged(mSelectedParts); |
| 8447 | } |
| 8448 | } |
| 8449 | |
| 8450 | /*! |
| 8451 | \overload |
no test coverage detected