OSB_GUI::BarChartInfo Class Reference

Inheritance diagram for OSB_GUI::BarChartInfo:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Scaling information for a BarChart.

Definition at line 62 of file barchart.h.

Public Types

Signals

Public Member Functions

Geometry of the bar chart.
Configure the geometry:

Protected Member Functions

Protected Attributes

Geometry of the bar chart:

Private Member Functions


Member Typedef Documentation

typedef std::map<double, std::string> OSB_GUI::BarChartInfo::Ticks

STL container to hold the ticks and labels of the x-Axis.

Definition at line 66 of file barchart.h.


Constructor & Destructor Documentation

OSB_GUI::BarChartInfo::BarChartInfo ( double  minX = 0.0,
double  maxX = 0.0 
) [explicit, protected]

Constructor with optional min. and max x-value.

virtual OSB_GUI::BarChartInfo::~BarChartInfo (  )  [virtual]

Empty virtual constructor.

OSB_GUI::BarChartInfo::BarChartInfo ( const BarChartInfo rhs  )  [private]

Prevent copying: not implemented.


Member Function Documentation

int OSB_GUI::BarChartInfo::leftOff (  )  const [inline]

Space needed left of left-most tick-label.

Definition at line 119 of file barchart.h.

References leftOff_.

double OSB_GUI::BarChartInfo::max (  )  const [inline]

Unscaled maximum x-value.

Definition at line 95 of file barchart.h.

References max_.

double OSB_GUI::BarChartInfo::min (  )  const [inline]

Unscaled minimum x-value.

Definition at line 89 of file barchart.h.

References min_.

int OSB_GUI::BarChartInfo::minBarWidth (  )  const [inline]

Minimum bar width.

Definition at line 114 of file barchart.h.

References minBarWidth_.

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

Minimum width of labels has changed.

int OSB_GUI::BarChartInfo::minLabelWidth (  )  const [inline]

Minimum width needed for the labels.

Definition at line 109 of file barchart.h.

References minLabelWidth_.

BarChartInfo& OSB_GUI::BarChartInfo::operator= ( const BarChartInfo rhs  )  [private]

Prevent assignment: not implemented.

virtual void OSB_GUI::BarChartInfo::resetGeometry (  )  [virtual]

Reset the geometry information.

No signals are emited from this function.

int OSB_GUI::BarChartInfo::rightOff (  )  const [inline]

Space needed right of right-most tick-label.

Definition at line 124 of file barchart.h.

References rightOff_.

virtual double OSB_GUI::BarChartInfo::scaleX ( double  x  )  [pure virtual]

Transform a x-value.

void OSB_GUI::BarChartInfo::setLeftOff ( int  leftOff  ) 

Set the minimum space needed left for the left-most tick's label.

void OSB_GUI::BarChartInfo::setMinBarWidth ( int  minWidth  ) 

Set the minimum width of the bars.

void OSB_GUI::BarChartInfo::setMinLabelWidth ( int  minWidth  ) 

Set the minimum with for the labels.

Emits minLabelWidth(int) if the minimum width for the labels was increased.

void OSB_GUI::BarChartInfo::setRightOff ( int  rightOff  ) 

Set the minimum space needed right for the right-most tick's label.

const Ticks& OSB_GUI::BarChartInfo::ticks (  )  const [inline]

Unscaled ticks and labels of the x-axis.

Definition at line 101 of file barchart.h.

References ticks_.


Member Data Documentation

int OSB_GUI::BarChartInfo::leftOff_ [protected]

Space needed left of left-most tick-label.

Definition at line 178 of file barchart.h.

Referenced by leftOff().

double OSB_GUI::BarChartInfo::max_ [protected]

Unscaled maximum x-value.

Definition at line 167 of file barchart.h.

Referenced by max().

double OSB_GUI::BarChartInfo::min_ [protected]

Unscaled minimum x-value.

Definition at line 165 of file barchart.h.

Referenced by min().

int OSB_GUI::BarChartInfo::minBarWidth_ [protected]

Minimum width of the bars.

Definition at line 176 of file barchart.h.

Referenced by minBarWidth().

int OSB_GUI::BarChartInfo::minLabelWidth_ [protected]

Minimum width needed for the labels.

Definition at line 174 of file barchart.h.

Referenced by minLabelWidth().

int OSB_GUI::BarChartInfo::rightOff_ [protected]

Space needed right of right-most tick-label.

Definition at line 180 of file barchart.h.

Referenced by rightOff().

Ticks OSB_GUI::BarChartInfo::ticks_ [protected]

Unscaled ticks and labels of the x-axis.

Definition at line 169 of file barchart.h.

Referenced by ticks().


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