OSB_GUI::BarChart Class Reference

Inheritance diagram for OSB_GUI::BarChart:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Display a bar chart.

Definition at line 187 of file barchart.h.

Public Types

Public Slots

Signals

Public Member Functions

Protected Attributes

Private Attributes

Classes


Member Typedef Documentation

typedef std::vector<Range> OSB_GUI::BarChart::Ranges

STL containter for a list of ranges.

Definition at line 209 of file barchart.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

std::pair<QLabel*, QWidget*> OSB_GUI::BarChart::add ( const std::string &  label,
const Ranges ranges 
)

Add a bar: label and ranges.

Parameters:
label Label for ranges.
ranges Ranges to add.
Returns:
The label and bar widget added to the chart.

void OSB_GUI::BarChart::minLabelWidth ( int  minWidth  )  [signal]

Minimum width for labels changed.

Parameters:
minWidth New minimum width needed for labels.

void OSB_GUI::BarChart::setMinLabelWidth ( int  minWidth  )  [slot]

Set the minimum width for the labels.

Parameters:
minWidth New minimum width for labels.
Emits minLabelWidth() if the own minimum width for the labels is greater then minWidth.


Member Data Documentation

QLabel* OSB_GUI::BarChart::header_ [protected]

Header of the bar chart.

Definition at line 264 of file barchart.h.

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

Chart information.

Definition at line 267 of file barchart.h.

QGridLayout* OSB_GUI::BarChart::layout_ [private]

Layout of the bar chart.

Definition at line 271 of file barchart.h.

Ruler* OSB_GUI::BarChart::ruler_ [private]

Ruler of the bar chart.

Definition at line 269 of file barchart.h.


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