Definition at line 307 of file barchart.h.
OSB_GUI::BarChart::Ruler::Ruler | ( | BarChartInfo & | info, | |
QWidget * | parent, | |||
const char * | name = 0 , |
|||
WFlags | flags = 0 | |||
) |
Constructor with chart information and Qt arguments.
void OSB_GUI::BarChart::Ruler::calcSize | ( | ) | [private] |
Compute minimum bar width and offsets for outermost labels.
void OSB_GUI::BarChart::Ruler::fontChange | ( | const QFont & | ) | [private] |
Adjust the size if the font changes: just calls calcSize().
void OSB_GUI::BarChart::Ruler::paintEvent | ( | QPaintEvent * | e | ) | [private] |
Paint the ruler.
QSize OSB_GUI::BarChart::Ruler::sizeHint | ( | ) | const |
The recommended size of the ruler.
int OSB_GUI::BarChart::Ruler::height_ [private] |
BarChartInfo& OSB_GUI::BarChart::Ruler::info_ [private] |