MCPcopy Create free account
hub / github.com/KDE/labplot / setFontColor

Method setFontColor

src/backend/worksheet/TextLabel.cpp:405–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403
404STD_SETTER_CMD_IMPL_F_S(TextLabel, SetTeXFontColor, QColor, fontColor, updateText)
405void TextLabel::setFontColor(const QColor color) {
406 Q_D(TextLabel);
407 if (color != d->fontColor)
408 exec(new TextLabelSetTeXFontColorCmd(d, color, ki18n("%1: set font color")));
409}
410
411// Border
412STD_SETTER_CMD_IMPL_F_S(TextLabel, SetBorderShape, TextLabel::BorderShape, borderShape, updateBorder)

Callers 3

textChangedMethod · 0.45
fontColorChangedMethod · 0.45
setLabelsFontColorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected