27 #include "../../../se/LineSymbolizer.h"
30 #include "ui_LineSymbolizerWidgetForm.h"
39 m_ui(new Ui::LineSymbolizerWidgetForm),
40 m_symb(new te::se::LineSymbolizer)
45 m_ui->m_lkineSymbolizerTypeComboBox->addItem(tr(
"Basic Line"));
51 QGridLayout* layout =
new QGridLayout(
m_ui->m_strokeGroupBox);
53 layout->setAlignment(Qt::AlignTop);
81 return m_symb->
clone();
89 m_strokeWidget->setStroke(stroke);
90 m_ui->m_strokeGroupBox->setChecked(
true);
93 m_ui->m_strokeGroupBox->setChecked(
false);
98 m_symb->setStroke(m_strokeWidget->getStroke());
99 emit symbolizerChanged();
105 m_symb->setStroke(0);
107 m_symb->setStroke(m_strokeWidget->getStroke());
109 emit symbolizerChanged();
A Symbolizer describes how a feature is to appear on a map.
Symbolizer * clone() const
It creates a new copy of this object.
void setStroke(Stroke *stroke)
A Stroke specifies the appearance of a linear geometry. The Stroke element is optional inside of Line...
A Stroke specifies the appearance of a linear geometry.
A LineSymbolizer is used to style a stroke along a linear geometry type, such as a string of line seg...
virtual Symbolizer * clone() const =0
It creates a new copy of this object.