SLOTs for changes triggered in CartesianPlotLegend General
| 562 | //************************************************************* |
| 563 | // General |
| 564 | void CartesianPlotLegendDock::legendLabelFontChanged(QFont& font) { |
| 565 | CONDITIONAL_LOCK_RETURN; |
| 566 | // we need to set the font size in points for KFontRequester |
| 567 | QFont f(font); |
| 568 | f.setPointSizeF(round(Worksheet::convertFromSceneUnits(f.pointSizeF(), Worksheet::Unit::Point))); |
| 569 | ui.kfrLabelFont->setFont(f); |
| 570 | } |
| 571 | |
| 572 | void CartesianPlotLegendDock::legendUsePlotColorChanged(bool usePlotColor) { |
| 573 | CONDITIONAL_LOCK_RETURN; |