| 1785 | cbLabelsTextColumn->setAspect(column, m_axis->labelsTextColumnPath()); |
| 1786 | } |
| 1787 | void AxisDock::axisLabelsFontChanged(const QFont& font) { |
| 1788 | CONDITIONAL_LOCK_RETURN; |
| 1789 | // we need to set the font size in points for KFontRequester |
| 1790 | QFont newFont(font); |
| 1791 | newFont.setPointSizeF(std::round(Worksheet::convertFromSceneUnits(font.pointSizeF(), Worksheet::Unit::Point))); |
| 1792 | ui.kfrLabelsFont->setFont(newFont); |
| 1793 | } |
| 1794 | void AxisDock::axisLabelsFontColorChanged(const QColor& color) { |
| 1795 | CONDITIONAL_LOCK_RETURN; |
| 1796 | updateAxisColor(); |