OSB_GUI::BarChart::Ruler Class Reference

Inheritance diagram for OSB_GUI::BarChart::Ruler:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::BarChart::Ruler:

Collaboration graph
[legend]
List of all members.

Detailed Description

Ruler for BarChart.

Definition at line 307 of file barchart.h.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::BarChart::Ruler::Ruler ( BarChartInfo info,
QWidget parent,
const char *  name = 0,
WFlags  flags = 0 
)

Constructor with chart information and Qt arguments.


Member Function Documentation

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.


Member Data Documentation

int OSB_GUI::BarChart::Ruler::height_ [private]

Height of ruler.

Definition at line 332 of file barchart.h.

BarChartInfo& OSB_GUI::BarChart::Ruler::info_ [private]

Information about the bar chart.

Definition at line 330 of file barchart.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:18:28 2006 for OSB Library by  doxygen 1.4.7