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

Method setUsePlotColor

src/backend/worksheet/plots/cartesian/CartesianPlotLegend.cpp:204–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
203STD_SETTER_CMD_IMPL_F_S(CartesianPlotLegend, SetUsePlotColor, bool, usePlotColor, retransform)
204void CartesianPlotLegend::setUsePlotColor(bool usePlotColor) {
205 Q_D(CartesianPlotLegend);
206 if (usePlotColor != d->usePlotColor)
207 exec(new CartesianPlotLegendSetUsePlotColorCmd(d, usePlotColor, ki18n("%1: use plot's color")));
208}
209
210STD_SETTER_CMD_IMPL_F_S(CartesianPlotLegend, SetLabelColor, QColor, labelColor, update)
211void CartesianPlotLegend::setLabelColor(const QColor& color) {

Callers 1

usePlotColorChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected