MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / setSelectedTickLabelFont

Method setSelectedTickLabelFont

qcustomplot/qcustomplot.cpp:8305–8312  ·  view source on GitHub ↗

! Sets the font that is used for tick labels when they are selected. \see setTickLabelFont, setSelectableParts, setSelectedParts, QCustomPlot::setInteractions */

Source from the content-addressed store, hash-verified

8303 \see setTickLabelFont, setSelectableParts, setSelectedParts, QCustomPlot::setInteractions
8304*/
8305void QCPAxis::setSelectedTickLabelFont(const QFont &font)
8306{
8307 if (font != mSelectedTickLabelFont)
8308 {
8309 mSelectedTickLabelFont = font;
8310 // don't set mCachedMarginValid to false here because margin calculation is always done with non-selected fonts
8311 }
8312}
8313
8314/*!
8315 Sets the font that is used for the axis label when it is selected.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected