te::qt::widgets::ScatterStyle Class Reference

#include <ScatterStyle.h>

Public Member Functions

ScatterStyleclone ()
 Returns a pointer to a clone of this ScatterStyle. More...
 
te::se::FillgetFill ()
 Returns a copy of the pointer to the scatter point's fill. More...
 
te::se::GraphicgetGraphic ()
 Returns a pointer to the scatter's graphic. More...
 
te::se::MarkgetMark ()
 Returns a copy of the pointer to the scatter's Mark. More...
 
te::se::StrokegetStroke ()
 Returns a copy of thepointer to the scatter point's stroke. More...
 
QwtSymbol * getSymbol ()
 Returns a pointer to a QwtSymbol representing the current scatter's point style. More...
 
 ScatterStyle ()
 Constructor. More...
 
 ScatterStyle (te::se::Graphic *graphic)
 Constructor. More...
 
void setFill (te::se::Fill *newFill)
 It sets the scatter point's fill. More...
 
void setGraphic (te::se::Graphic *newGraphic)
 It sets the he scatter's graphic. More...
 
void setMark (te::se::Mark *newMark)
 It sets the he scatter's mark. More...
 
void setStroke (te::se::Stroke *newStroke)
 It sets the scatter point's stroke. More...
 
 ~ScatterStyle ()
 Destructor. More...
 

Private Attributes

te::se::Graphicm_graphic
 The graphic used to edit the symbol's style. More...
 

Detailed Description

Definition at line 49 of file ScatterStyle.h.

Constructor & Destructor Documentation

te::qt::widgets::ScatterStyle::ScatterStyle ( )

Constructor.

te::qt::widgets::ScatterStyle::ScatterStyle ( te::se::Graphic graphic)

Constructor.

Parameters
graphicThe scatter's point graphic.
te::qt::widgets::ScatterStyle::~ScatterStyle ( )

Destructor.

Member Function Documentation

ScatterStyle* te::qt::widgets::ScatterStyle::clone ( )

Returns a pointer to a clone of this ScatterStyle.

Returns
A ScatterStyle type clone of this ScatterStyle.
Note
The caller will take ownership of the returned pointer.
te::se::Fill* te::qt::widgets::ScatterStyle::getFill ( )

Returns a copy of the pointer to the scatter point's fill.

Returns
A Fill type pointer to the scatter point's fill.
Note
The caller will take ownership of the returned pointer.
Will return a null pointer if the scatter's point does not have a Fill (f.e. if it's using an external graphic)
te::se::Graphic* te::qt::widgets::ScatterStyle::getGraphic ( )

Returns a pointer to the scatter's graphic.

Returns
A graphic type pointer to the scatter's point style.
Note
The caller will not take ownership of the returned pointer.
te::se::Mark* te::qt::widgets::ScatterStyle::getMark ( )

Returns a copy of the pointer to the scatter's Mark.

Returns
A Mark type pointer to the scatter's point style.
Note
The caller will not take ownership of the returned pointer.
te::se::Stroke* te::qt::widgets::ScatterStyle::getStroke ( )

Returns a copy of thepointer to the scatter point's stroke.

Returns
A Fill type pointer to the scatter point's stroke.
Note
The caller will take ownership of the returned pointer.
Will return a null pointer if the scatter's point does not have a stroke (f.e. if it's using an external graphic)
QwtSymbol* te::qt::widgets::ScatterStyle::getSymbol ( )

Returns a pointer to a QwtSymbol representing the current scatter's point style.

Returns
A QwtSymbol type pointer based on the current point's style.
Note
The caller will take ownership of the returned pointer.
void te::qt::widgets::ScatterStyle::setFill ( te::se::Fill newFill)

It sets the scatter point's fill.

Parameters
newFillThe new fill.
Note
It will take ownership of the given pointer
The given pointer will not be used if the scatter's point is not currently represented by a Mark. The given pointer will simply be deleted.
void te::qt::widgets::ScatterStyle::setGraphic ( te::se::Graphic newGraphic)

It sets the he scatter's graphic.

Parameters
newGraphicThe new graphic.
Note
It will take ownership of the given pointer
void te::qt::widgets::ScatterStyle::setMark ( te::se::Mark newMark)

It sets the he scatter's mark.

Parameters
newmarkThe new mark.
Note
It will take ownership of the given pointer
void te::qt::widgets::ScatterStyle::setStroke ( te::se::Stroke newStroke)

It sets the scatter point's stroke.

Parameters
newFillThe new stroke.
Note
It will take ownership of the given pointer
The given pointer will not be used if the scatter's point is not currently represented by a Mark. The given pointer will simply be deleted.

Member Data Documentation

te::se::Graphic* te::qt::widgets::ScatterStyle::m_graphic
private

The graphic used to edit the symbol's style.

Definition at line 157 of file ScatterStyle.h.


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