General
| 298 | |
| 299 | // General |
| 300 | void CartesianPlotLegendDock::labelFontChanged(const QFont& font) { |
| 301 | CONDITIONAL_LOCK_RETURN; |
| 302 | |
| 303 | QFont labelsFont = font; |
| 304 | labelsFont.setPointSizeF(Worksheet::convertToSceneUnits(font.pointSizeF(), Worksheet::Unit::Point)); |
| 305 | for (auto* legend : m_legendList) |
| 306 | legend->setLabelFont(labelsFont); |
| 307 | } |
| 308 | |
| 309 | void CartesianPlotLegendDock::usePlotColorChanged(bool checked) { |
| 310 | ui.lFontColor->setVisible(!checked); |
nothing calls this directly
no test coverage detected