30 #include "../../../se/Fill.h" 31 #include "../../../se/PolygonSymbolizer.h" 38 #include <QGridLayout> 42 #include <QtPropertyBrowser/QtTreePropertyBrowser> 43 #include <QtPropertyBrowser/QtVariantPropertyManager> 50 : m_setLocalSymbol(false), m_symb(new
te::se::PolygonSymbolizer)
52 QGridLayout* layout =
new QGridLayout(
this);
53 this->setLayout(layout);
56 layout->addWidget(tb);
58 QtTreePropertyBrowser* basicPropBrowser =
new QtTreePropertyBrowser(
this);
59 basicPropBrowser->setIndentation(10);
60 basicPropBrowser->setPropertiesWithoutValueMarked(
true);
61 basicPropBrowser->setRootIsDecorated(
false);
62 basicPropBrowser->setResizeMode(QtTreePropertyBrowser::ResizeToContents);
64 layout->addWidget(basicPropBrowser);
69 tb->addItem(basicPropBrowser,
"Basic Symbology");
73 tb->addItem(
m_graph,
"Graphic Symbology");
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.
A widget used to define the basic fill se object.
const Graphic * getGraphicFill() const
Gets the GraphicFill element associate to this Fill.
const Stroke * getStroke() const
Gets the Stroke associates with the PolygonSymbolizer.
A Fill specifies the pattern for filling an area geometry.
void setGraphicFill(Graphic *g)
Sets the GraphicFill element to this Fill. GraphicFill defines that the pixels of the area will be dr...
Fill * clone() const
It creates a new copy of this object.
void setStroke(Stroke *stroke)
A Stroke specifies the appearance of a linear geometry.
void setFill(Fill *f)
A Fill specifies the pattern for filling an area geometry.
A widget used to define the basic fill se object.
A widget used to define the polygon symbolizer properties, such as: