#include <ScatterStyle.h>
Public Member Functions | |
ScatterStyle * | clone () |
Returns a pointer to a clone of this ScatterStyle. More... | |
te::se::Fill * | getFill () |
Returns a copy of the pointer to the scatter point's fill. More... | |
te::se::Graphic * | getGraphic () |
Returns a pointer to the scatter's graphic. More... | |
te::se::Mark * | getMark () |
Returns a copy of the pointer to the scatter's Mark. More... | |
te::se::Stroke * | getStroke () |
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::Graphic * | m_graphic |
The graphic used to edit the symbol's style. More... | |
Definition at line 49 of file ScatterStyle.h.
te::qt::widgets::ScatterStyle::ScatterStyle | ( | ) |
Constructor.
Definition at line 36 of file ScatterStyle.cpp.
References te::se::Graphic::add(), m_graphic, te::se::Mark::setFill(), te::se::Graphic::setSize(), te::se::Mark::setStroke(), and te::se::Mark::setWellKnownName().
te::qt::widgets::ScatterStyle::ScatterStyle | ( | te::se::Graphic * | graphic | ) |
Constructor.
graphic | The scatter's point graphic. |
Definition at line 52 of file ScatterStyle.cpp.
te::qt::widgets::ScatterStyle::~ScatterStyle | ( | ) |
Destructor.
Definition at line 57 of file ScatterStyle.cpp.
te::qt::widgets::ScatterStyle * te::qt::widgets::ScatterStyle::clone | ( | ) |
Returns a pointer to a clone of this ScatterStyle.
Definition at line 62 of file ScatterStyle.cpp.
References setGraphic().
Referenced by te::qt::widgets::ScatterStyleWidget::getScatterStyle(), and te::qt::widgets::ScatterChart::getScatterStyle().
te::se::Fill * te::qt::widgets::ScatterStyle::getFill | ( | ) |
Returns a copy of the pointer to the scatter point's fill.
Definition at line 80 of file ScatterStyle.cpp.
References te::se::Fill::clone().
te::se::Graphic * te::qt::widgets::ScatterStyle::getGraphic | ( | ) |
Returns a pointer to the scatter's graphic.
Definition at line 69 of file ScatterStyle.cpp.
te::se::Mark * te::qt::widgets::ScatterStyle::getMark | ( | ) |
Returns a copy of the pointer to the scatter's Mark.
Definition at line 128 of file ScatterStyle.cpp.
References te::se::Mark::clone().
te::se::Stroke * te::qt::widgets::ScatterStyle::getStroke | ( | ) |
Returns a copy of thepointer to the scatter point's stroke.
Definition at line 104 of file ScatterStyle.cpp.
References te::se::Stroke::clone().
QwtSymbol * te::qt::widgets::ScatterStyle::getSymbol | ( | ) |
Returns a pointer to a QwtSymbol representing the current scatter's point style.
Definition at line 138 of file ScatterStyle.cpp.
References te::qt::widgets::Terralib2Qwt().
Referenced by te::qt::widgets::ScatterChart::ScatterChart().
void te::qt::widgets::ScatterStyle::setFill | ( | te::se::Fill * | newFill | ) |
It sets the scatter point's fill.
newFill | The new fill. |
Definition at line 92 of file ScatterStyle.cpp.
Referenced by te::qt::widgets::ChartConfigurer::config().
void te::qt::widgets::ScatterStyle::setGraphic | ( | te::se::Graphic * | newGraphic | ) |
It sets the he scatter's graphic.
newGraphic | The new graphic. |
Definition at line 74 of file ScatterStyle.cpp.
Referenced by clone(), and te::qt::widgets::ChartConfigurer::config().
void te::qt::widgets::ScatterStyle::setMark | ( | te::se::Mark * | newMark | ) |
It sets the he scatter's mark.
newmark | The new mark. |
Definition at line 133 of file ScatterStyle.cpp.
void te::qt::widgets::ScatterStyle::setStroke | ( | te::se::Stroke * | newStroke | ) |
It sets the scatter point's stroke.
newFill | The new stroke. |
Definition at line 116 of file ScatterStyle.cpp.
Referenced by te::qt::widgets::ChartConfigurer::config().
|
private |
The graphic used to edit the symbol's style.
Definition at line 157 of file ScatterStyle.h.
Referenced by ScatterStyle().