this function is only called when the theme is changed. Otherwise the color is coded in the html text. when the theme changes, the whole text should change color regardless of the color it has
| 1245 | // this function is only called when the theme is changed. Otherwise the color is coded in the html text. |
| 1246 | // when the theme changes, the whole text should change color regardless of the color it has |
| 1247 | void LabelWidget::labelFontColorChanged(const QColor& color) { |
| 1248 | Q_EMIT labelFontColorChangedSignal(color); |
| 1249 | |
| 1250 | CONDITIONAL_LOCK_RETURN; |
| 1251 | ui.kcbFontColor->setColor(color); |
| 1252 | ui.teLabel->selectAll(); |
| 1253 | ui.teLabel->setTextColor(color); |
| 1254 | } |
| 1255 | |
| 1256 | void LabelWidget::labelPositionChanged(const TextLabel::PositionWrapper& position) { |
| 1257 | CONDITIONAL_LOCK_RETURN; |
no test coverage detected