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 widget used to build a basic stroke element. 
 
A Fill specifies the pattern for filling an area geometry. 
 
A concrete renderer based on Qt4 for conversion of Symbology Enconding Mark elements to an image patt...
 
void onCharSelected(const unsigned int &charCode)
 
void updateUi()
Updates the widget form based on internal mark element. 
 
std::auto_ptr< Ui::GlyphMarkWidgetForm > m_ui
Widget form. 
 
Mark * clone() const 
It creates a new copy of this object. 
 
A widget used to show the set of characters of a specified font. 
 
te::se::Fill * getFill() const 
Gets the configured fill element. 
 
A widget used to build a mark element represented by a glyph. 
 
~GlyphMarkWidget()
Destructor. 
 
void onCurrentFontChanged(const QFont &font)
 
GlyphMarkWidget(QWidget *parent=0, Qt::WindowFlags f=0)
Constructs a glyph mark widget which is a child of parent, with widget flags set to f...
 
static QString encode(const QString &font, const int &charCode)
Encodes the given parameters to a format known by this renderer. 
 
A widget used to build a basic fill element. 
 
void updateMarkName()
Updates the mark well-known name enconding selected font and selected character. 
 
te::qt::widgets::BasicFillWidget * m_fillWidget
Basic Fill Widget used to configure the mark fill element. 
 
te::se::Mark * m_mark
Mark element that will be configured by this widget. 
 
A widget used to show the set of characters of a specified font. 
 
A widget used to build a basic fill element. 
 
void setMark(const te::se::Mark *mark)
Sets a mark element to this widget. 
 
te::qt::widgets::CharMapWidget * m_charMapWidget
Character map widget. 
 
te::se::Mark * getMark() const 
Gets the configured mark element. 
 
static void decode(QString &name, QString &font, QChar &charCode)
Decodes the given name extracting the parameters known by this renderer. 
 
A Mark specifies a geometric shape and applies coloring to it.