29 #include "../../../se/LineSymbolizer.h"
34 #include "../../../../../third-party/qt/propertybrowser/qttreepropertybrowser.h"
35 #include <QtGui/QGridLayout>
36 #include <QtGui/QToolBox>
43 QGridLayout* layout =
new QGridLayout(
this);
44 this->setLayout(layout);
46 QToolBox* tb =
new QToolBox(
this);
47 layout->addWidget(tb);
49 QtTreePropertyBrowser* basicPropBrowser =
new QtTreePropertyBrowser(
this);
50 basicPropBrowser->setIndentation(10);
51 basicPropBrowser->setPropertiesWithoutValueMarked(
true);
52 basicPropBrowser->setRootIsDecorated(
false);
53 basicPropBrowser->setResizeMode(QtTreePropertyBrowser::ResizeToContents);
55 layout->addWidget(basicPropBrowser);
59 tb->addItem(basicPropBrowser,
"Basic Symbology");
72 if(m_symb->getStroke())
83 m_symb->setStroke(m_bs->getStroke());
85 emit symbolizerChanged();
A LineSymbolizer is used to style a stroke along a linear geometry type, such as a string of line seg...
A Symbolizer describes how a feature is to appear on a map.
te::se::Symbolizer * getSymbolizer() const
Gets the configured line symbolizer element.
void setSymbolizer(te::se::LineSymbolizer *symb)
Sets a line symbolizer element to this widget.
te::qt::widgets::BasicStrokePropertyItem * m_bs
A widget used to define the line symbolizer properties, such as:
LineSymbolizerProperty(QWidget *parent)
Constructor.
A widget used to define the basic fill se object.
~LineSymbolizerProperty()
Destructor.
void setStroke(Stroke *stroke)
A Stroke specifies the appearance of a linear geometry. The Stroke element is optional inside of Line...