27 #include "../../../se/Mark.h"
33 #include "ui_GlyphMarkWidgetForm.h"
40 m_ui(new
Ui::GlyphMarkWidgetForm),
41 m_mark(new
te::se::Mark)
49 QGridLayout* fillLayout =
new QGridLayout(
m_ui->m_fillFrame);
63 connect(
m_ui->m_fontComboBox, SIGNAL(currentFontChanged(
const QFont&)),
m_charMapWidget, SLOT(updateFont(
const QFont&)));
80 m_mark = mark->
clone();
87 return m_mark->
clone();
92 const std::string* name = m_mark->getWellKnownName();
95 QString qName(name->c_str());
106 QFont font(fontName);
107 m_ui->m_fontComboBox->setCurrentFont(font);
112 m_fillWidget->setFill(fill);
118 m_mark->setWellKnownName(
new std::string(name.toStdString()));
134 m_mark->setFill(m_fillWidget->getFill());
A concrete renderer based on Qt4 for conversion of Symbology Enconding Mark elements to an image patt...
A Mark specifies a geometric shape and applies coloring to it.
A Fill specifies the pattern for filling an area geometry.
Mark * clone() const
It creates a new copy of this object.