All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::HistogramStyle Class Reference

#include <HistogramStyle.h>

Public Member Functions

HistogramStyleclone ()
 Returns a pointer to a clone of this HistogramStyle. More...
 
te::se::FillgetFill ()
 Returns a pointer to the histogram bar's fill. More...
 
te::se::StrokegetStroke ()
 Returns a pointer to the histogram bar's stroke. More...
 
 HistogramStyle ()
 Constructor. More...
 
 HistogramStyle (te::se::Fill *fill, te::se::Stroke *stroke)
 Constructor. More...
 
void setFill (te::se::Fill *newFill)
 It sets the histogram bar's fill. More...
 
void setStroke (te::se::Stroke *newStroke)
 It sets the histogram bar's stroke. More...
 
 ~HistogramStyle ()
 Destructor. More...
 

Private Member Functions

void adjustSymbol ()
 

Private Attributes

te::se::Fillm_fill
 The bar's fill . More...
 
te::se::Strokem_stroke
 The bar's stroke. More...
 

Detailed Description

Definition at line 49 of file HistogramStyle.h.

Constructor & Destructor Documentation

te::qt::widgets::HistogramStyle::HistogramStyle ( )

Constructor.

Definition at line 31 of file HistogramStyle.cpp.

References m_fill, and m_stroke.

te::qt::widgets::HistogramStyle::HistogramStyle ( te::se::Fill fill,
te::se::Stroke stroke 
)

Constructor.

Parameters
fillThe histogram bar's fill
strokeThe histogram bar's stroke

Definition at line 37 of file HistogramStyle.cpp.

te::qt::widgets::HistogramStyle::~HistogramStyle ( )

Destructor.

Definition at line 43 of file HistogramStyle.cpp.

Member Function Documentation

void te::qt::widgets::HistogramStyle::adjustSymbol ( )
private
te::qt::widgets::HistogramStyle * te::qt::widgets::HistogramStyle::clone ( )

Returns a pointer to a clone of this HistogramStyle.

Returns
A HistogramStyle type clone of this HistogramStyle.
Note
The caller will take ownership of the returned pointer.

Definition at line 49 of file HistogramStyle.cpp.

References setFill(), and setStroke().

Referenced by te::qt::widgets::HistogramStyleWidget::getHistogramStyle(), and te::qt::widgets::HistogramChart::getHistogramStyle().

te::se::Fill * te::qt::widgets::HistogramStyle::getFill ( )

Returns a pointer to the histogram bar's fill.

Returns
A Fill type pointer to the histogram bar's fill.
Note
The caller will not take ownership of the returned pointer.

Definition at line 57 of file HistogramStyle.cpp.

Referenced by te::qt::widgets::HistogramChart::HistogramChart().

te::se::Stroke * te::qt::widgets::HistogramStyle::getStroke ( )

Returns a pointer to the histogram bar's stroke.

Returns
A Fill type pointer to the histogram bar's stroke.
Note
The caller will not take ownership of the returned pointer.

Definition at line 68 of file HistogramStyle.cpp.

Referenced by te::qt::widgets::HistogramChart::HistogramChart().

void te::qt::widgets::HistogramStyle::setFill ( te::se::Fill newFill)

It sets the histogram bar's fill.

Parameters
newFillThe new fill.
Note
It will take ownership of the given pointer

Definition at line 62 of file HistogramStyle.cpp.

Referenced by clone(), and te::qt::widgets::ChartConfigurer::config().

void te::qt::widgets::HistogramStyle::setStroke ( te::se::Stroke newStroke)

It sets the histogram bar's stroke.

Parameters
newFillThe new stroke.
Note
It will take ownership of the given pointer

Definition at line 73 of file HistogramStyle.cpp.

Referenced by clone(), and te::qt::widgets::ChartConfigurer::config().

Member Data Documentation

te::se::Fill* te::qt::widgets::HistogramStyle::m_fill
private

The bar's fill .

Definition at line 118 of file HistogramStyle.h.

Referenced by HistogramStyle().

te::se::Stroke* te::qt::widgets::HistogramStyle::m_stroke
private

The bar's stroke.

Definition at line 119 of file HistogramStyle.h.

Referenced by HistogramStyle().


The documentation for this class was generated from the following files: