Definition at line 187 of file barchart.h.
typedef std::vector<Range> OSB_GUI::BarChart::Ranges |
OSB_GUI::BarChart::BarChart | ( | BarChartInfo & | info, | |
QWidget * | parent, | |||
const char * | name = 0 , |
|||
WFlags | flags = 0 | |||
) | [explicit] |
Constructor with chart information and Qt arguments.
virtual OSB_GUI::BarChart::~BarChart | ( | ) | [pure virtual] |
Abstract virtual destructor.
std::pair<QLabel*, QWidget*> OSB_GUI::BarChart::add | ( | const std::string & | label, | |
const Ranges & | ranges | |||
) |
Add a bar: label and ranges.
label | Label for ranges. | |
ranges | Ranges to add. |
void OSB_GUI::BarChart::minLabelWidth | ( | int | minWidth | ) | [signal] |
Minimum width for labels changed.
minWidth | New minimum width needed for labels. |
void OSB_GUI::BarChart::setMinLabelWidth | ( | int | minWidth | ) | [slot] |
Set the minimum width for the labels.
minWidth | New minimum width for labels. |
QLabel* OSB_GUI::BarChart::header_ [protected] |
BarChartInfo& OSB_GUI::BarChart::info_ [private] |
QGridLayout* OSB_GUI::BarChart::layout_ [private] |
Ruler* OSB_GUI::BarChart::ruler_ [private] |