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

Method setColor

src/backend/worksheet/Line.cpp:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124STD_SETTER_CMD_IMPL_F_S(Line, SetColor, QColor, color, update)
125void Line::setColor(const QColor& color) {
126 Q_D(Line);
127 if (color != d->color)
128 exec(new LineSetColorCmd(d, color, ki18n("%1: set line color")));
129}
130
131STD_SETTER_CMD_IMPL_F_S(Line, SetOpacity, double, opacity, updatePixmap)
132void Line::setOpacity(qreal opacity) {

Callers 13

paintEventMethod · 0.45
paintEventMethod · 0.45
loadAxisMethod · 0.45
loadCurveMethod · 0.45
loadSymbolMethod · 0.45
initMethod · 0.45
updateMethod · 0.45
handleAspectAddedMethod · 0.45
loadMethod · 0.45
initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected