42 #ifndef QTHISTOGRAM_HH 43 #define QTHISTOGRAM_HH 50 #include "../Config/ACGDefines.hh" 51 #include "../Utils/Histogram.hh" 52 #include "../Utils/ColorCoder.hh" 67 void setHistogram(std::unique_ptr<Histogram> histogram);
68 void setColorCoder(std::unique_ptr<IColorCoder> color_coder);
71 void paintEvent(QPaintEvent *event);
72 QColor getColor(
double val);
74 std::unique_ptr<Histogram> histogram_ =
nullptr;
75 double label_distance_ = 100;
78 std::unique_ptr<IColorCoder> color_coder_ =
nullptr;
88 #endif // QTHISTOGRAM_HH Namespace providing different geometric functions concerning angles.