27 #include "../../../maptools/MarkRendererManager.h" 28 #include "../../../se/Mark.h" 31 #include "ui_WellKnownMarkWidgetForm.h" 39 m_ui(new
Ui::WellKnownMarkWidgetForm),
40 m_mark(new
te::se::Mark)
48 QGridLayout* fillLayout =
new QGridLayout(
m_ui->m_fillGroupBox);
55 QGridLayout* strokeLayout =
new QGridLayout(
m_ui->m_strokeGroupBox);
102 QString qName(name->c_str());
103 int index =
m_ui->m_markTypeComboBox->findText(qName, Qt::MatchFixedString);
105 m_ui->m_markTypeComboBox->setCurrentIndex(index);
111 m_ui->m_strokeGroupBox->setChecked(
true);
114 m_ui->m_strokeGroupBox->setChecked(
false);
120 m_ui->m_fillGroupBox->setChecked(
true);
123 m_ui->m_fillGroupBox->setChecked(
false);
A Mark specifies a geometric shape and applies coloring to it.
static MarkRendererManager & getInstance()
It returns a reference to the singleton instance.
A Fill specifies the pattern for filling an area geometry.
const std::string * getWellKnownName() const
const Stroke * getStroke() const
A Stroke specifies the appearance of a linear geometry.
void setStroke(Stroke *s)
Mark * clone() const
It creates a new copy of this object.
void setWellKnownName(std::string *name)
The WellKnownName element gives the well-known name of the shape of the mark.
const Fill * getFill() const