Developer Documentation
ACG::QtWidgets::QtHistogramWidget Class Reference
Inheritance diagram for ACG::QtWidgets::QtHistogramWidget:

Public Member Functions

 QtHistogramWidget (QWidget *parent)
 
 QtHistogramWidget (const QtHistogramWidget &other)=delete
 
QtHistogramWidgetoperator= (const QtHistogramWidget &other)=delete
 
void setHistogram (std::unique_ptr< Histogram > histogram)
 
void setColorCoder (std::unique_ptr< IColorCoder > color_coder)
 

Protected Member Functions

void paintEvent (QPaintEvent *event)
 
QColor getColor (double val)
 

Protected Attributes

std::unique_ptr< Histogramhistogram_ = nullptr
 
double label_distance_ = 100
 
QColor color_
 
std::unique_ptr< IColorCodercolor_coder_ = nullptr
 

Detailed Description

Definition at line 57 of file QtHistogramWidget.hh.


The documentation for this class was generated from the following files: