MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / setColor

Method setColor

pj_plotting/widget/src/CurveEditor.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 void setColor(QColor color) {
71 if (color_ == color) {
72 return;
73 }
74 color_ = color;
75 update();
76 }
77
78 protected:
79 void paintEvent(QPaintEvent* event) override {

Callers 8

drawLegendDataMethod · 0.45
drawBackgroundMethod · 0.45
addCurveMethod · 0.45
applyCurveElementMethod · 0.45
onChangeCurveColorMethod · 0.45
onSwatchClickedMethod · 0.45
onCurveColorChangedMethod · 0.45
applyGhostPensMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected