27 #include "../../../se/PolygonSymbolizer.h" 32 #include "ui_PolygonSymbolizerWidgetForm.h" 35 #include <QStackedWidget> 44 m_ui(new
Ui::PolygonSymbolizerWidgetForm),
45 m_symb(new
te::se::PolygonSymbolizer)
49 m_ui->m_mainLayout->setAlignment(Qt::AlignTop);
55 QGridLayout* fillLayout =
new QGridLayout(
m_ui->m_fillGroupBox);
57 fillLayout->setAlignment(Qt::AlignTop);
60 std::vector<std::string> keys;
62 std::vector<std::string>::iterator it;
63 for(it = keys.begin(); it != keys.end(); ++it)
75 QGridLayout* strokeLayout =
new QGridLayout(
m_ui->m_strokeGroupBox);
77 strokeLayout->setAlignment(Qt::AlignTop);
118 m_ui->m_strokeGroupBox->setChecked(
true);
121 m_ui->m_strokeGroupBox->setChecked(
false);
126 m_ui->m_fillGroupBox->setChecked(
false);
143 m_ui->m_polygonSymbolizerTypeComboBox->setCurrentIndex(i);
const Fill * getFill() const
Gets the Fill associates with the PolygonSymbolizer.
A PolygonSymbolizer is used to draw a polygon (or other area-type geometries), including filling its ...
A Symbolizer describes how a feature is to appear on a map.
const Stroke * getStroke() const
Gets the Stroke associates with the PolygonSymbolizer.
A Fill specifies the pattern for filling an area geometry.
static AbstractFillWidget * make(const std::string &factoryKey)
It creates an object with the appropriated factory.
A Stroke specifies the appearance of a linear geometry.
void setStroke(Stroke *stroke)
A Stroke specifies the appearance of a linear geometry.
Symbolizer * clone() const
It creates a new copy of this object.
void setFill(Fill *f)
A Fill specifies the pattern for filling an area geometry.