27 #include "../../../se/AnchorPoint.h"
28 #include "../../../se/Displacement.h"
29 #include "../../../se/ParameterValue.h"
30 #include "../../../se/Graphic.h"
35 m_graphic(new te::se::Graphic)
46 return m_graphic->
clone();
52 emit graphicChanged();
58 emit graphicChanged();
63 double opacity = value / 100.0;
65 emit graphicChanged();
73 m_graphic->setDisplacement(disp);
74 emit graphicChanged();
82 m_graphic->setAnchorPoint(ac);
83 emit graphicChanged();
void setDisplacementY(ParameterValue *y)
void setGraphicAngle(const QString &angle)
AbstractGraphicWidget(QWidget *parent=0, Qt::WindowFlags f=0)
Constructs a graphic widget which is a child of parent, with widget flags set to f.
A Displacement gives X and Y offset displacements to use for rendering a text label, graphic or other Symbolizer near a point.
Graphic * clone() const
It creates a new copy of this object.
void setAnchorPointX(ParameterValue *x)
void setGraphicDisplacement(const QString &dx, const QString &dy)
te::se::Graphic * getGraphic() const
Gets the configured graphic element.
void setAnchorPointY(ParameterValue *y)
Abstract class that represents a widget that can be used to build a graphic element.
void setGraphicAnchorPoint(const QString &ax, const QString &ay)
An AnchorPoint identifies the location inside of a text label to use an 'anchor' for positioning it r...
virtual ~AbstractGraphicWidget()
Destructor.
void setGraphicOpacity(int value)
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
void setGraphicSize(const QString &size)
void setDisplacementX(ParameterValue *x)
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...