27 #include "../../../se/Utils.h" 28 #include "../../../se.h" 29 #include "../../../xlink/SimpleLink.h" 30 #include "../propertybrowser/AbstractPropertyManager.h" 34 #include <QtPropertyBrowser/QtTreePropertyBrowser> 35 #include <QtPropertyBrowser/QtVariantPropertyManager> 42 m_setLocalGraphic(false), m_graphic(new
te::se::Graphic)
85 addProperty(generalProperty, tr(
"Graphic"), QColor(210, 210, 210));
119 double opacity = value / 100.0;
131 valueStr.setNum(value);
146 const QPointF& value)
152 xStr.setNum(value.x());
153 yStr.setNum(value.y());
const ParameterValue * getRotation() const
void setRotation(ParameterValue *value)
The Rotation element gives the rotation of a graphic in the clockwise direction about its center poin...
void setOpacity(ParameterValue *value)
The Opacity element gives the opacity to use for rendering the graphic. It has the same semantics as ...
void setSize(ParameterValue *value)
The Size element gives the absolute size of the graphic in uoms encoded as a floating-point number...
TESEEXPORT double GetDouble(const te::se::ParameterValue *param)
It gets the parameter value as a double.
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...
A widget used to define the general properties of a se object.
Graphic * clone() const
It creates a new copy of this object.
static AbstractPropertyManager & getInstance()
It returns a reference to the singleton instance.
const ParameterValue * getSize() const
const ParameterValue * getOpacity() const