28 #include "../../../se/Mark.h" 
   29 #include "../../../maptools/MarkRendererManager.h" 
   39   m_mark(new te::se::Mark), m_setLocalMark(false)
 
   49   addProperty(markProperty, tr(
"Mark"), QColor(255, 175, 175));
 
   74   m_mark = mark->
clone();
 
   76   m_setLocalMark = 
true;
 
   80   m_setLocalMark = 
false;
 
   85   return m_mark->
clone();
 
   90   const std::string* name = m_mark->getWellKnownName();
 
   93   std::map<int, std::string>::iterator it = m_supportedMarksMap.begin();
 
   95   while(it != m_supportedMarksMap.end())
 
   97     if(it->second == *name)
 
  107     m_bs->setStroke(stroke);
 
  116   if(p == m_typeProperty)
 
  118     m_mark->setWellKnownName(
new std::string(m_supportedMarksMap[value]));
 
  131   for(std::size_t i = 0; i < m_supportedMarks.size(); ++i)
 
  133     l << m_supportedMarks[i].c_str();
 
  135     m_supportedMarksMap.insert(std::map<int, std::string>::value_type(i, m_supportedMarks[i]));
 
  143   m_mark->setStroke(m_bs->getStroke());
 
  151   m_mark->setFill(m_bf->getFill());
 
te::qt::widgets::BasicStrokePropertyItem * m_bs
 
void setStroke(Stroke *s)
 
A Fill specifies the pattern for filling an area geometry. 
 
te::se::Mark * getMark() const 
Gets the configured mark element. 
 
te::se::Fill * getFill() const 
 
void updateUi()
Updates the widget form based on internal mark element. 
 
QStringList getTypeNames()
 
A Stroke specifies the appearance of a linear geometry. 
 
te::se::Mark * m_mark
Mark element that will be configured by this widget. 
 
std::vector< std::string > m_supportedMarks
Names of supported marks. 
 
Mark * clone() const 
It creates a new copy of this object. 
 
QtProperty * m_typeProperty
 
QtEnumPropertyManager * m_enumManager
 
~WellKnownMarkPropertyItem()
Destructor. 
 
te::qt::widgets::BasicFillPropertyItem * m_bf
 
A widget used to define the basic fill se object. 
 
QtTreePropertyBrowser * m_propertyBrowser
 
virtual void valueChanged(QtProperty *p, int value)
 
A widget used to define the basic fill se object. 
 
void setWellKnownName(std::string *name)
The WellKnownName element gives the well-known name of the shape of the mark. 
 
A widget used to define the main property items that can be used to describe a se object...
 
WellKnownMarkPropertyItem(QtTreePropertyBrowser *pb, QColor c=QColor())
Constructor. 
 
te::se::Stroke * getStroke() const 
Gets the configured stroke element. 
 
void addProperty(QtProperty *property, const QString &id, QColor c)
 
static AbstractPropertyManager & getInstance()
It returns a reference to the singleton instance. 
 
void setMark(const te::se::Mark *mark)
Sets a mark element to this widget. 
 
A widget used to define the basic fill se object. 
 
A widget used to define the mark se properties. 
 
A Mark specifies a geometric shape and applies coloring to it.