76 static constexpr QColor
END_COLOR = QColor(0, 255, 0);
97 static constexpr QColor
TICK_COLOR = QColor(255, 255, 255);
144 inline double value()
const {
return current_value; }
169 double current_value;
182 void setValue(
const double val) {
183 if (qFuzzyCompare(current_value, val))
190 void drawBackground(QPainter& p);
191 void drawArc(QPainter& p);
192 void drawTicks(QPainter& p);
193 void drawLabels(QPainter& p);
194 void drawNeedle(QPainter& p);
195 void drawCenter(QPainter& p);
196 void drawTexts(QPainter& p);