27 #include "../../../dataaccess/utils/Utils.h" 28 #include "../../../maptools/AbstractLayer.h" 29 #include "../../../maptools/RasterContrast.h" 30 #include "../../../maptools/Utils.h" 31 #include "../../../raster/RasterProperty.h" 32 #include "../../../raster/BandProperty.h" 45 #include <QScrollArea> 49 m_currentLayer(nullptr),
128 QGridLayout* layout =
new QGridLayout(w);
144 m_tabWidget->setTabPosition(QTabWidget::South);
145 m_tabWidget->setMinimumWidth(360);
147 QScrollArea* sa =
new QScrollArea;
148 sa->setWidgetResizable(
true);
149 sa->setWidget(m_tabWidget);
151 layout->addWidget(sa, 1, 0);
203 if(s->
getType() ==
"PolygonSymbolizer")
209 else if(s->
getType() ==
"LineSymbolizer")
215 else if(s->
getType() ==
"PointSymbolizer")
221 else if(s->
getType() ==
"RasterSymbolizer")
247 else if (s->
getType() ==
"TextSymbolizer")
249 std::vector<std::string> propNames;
253 for (std::size_t t = 0; t < dsType->getProperties().size(); ++t)
256 propNames.push_back(dsType->getProperty(t)->getName());
270 if (!propNames.empty())
A TextSymbolizer is used to render text labels according to various graphical parameters.
te::se::Symbolizer * getSymbolizer() const
Gets the configured polygon symbolizer element.
A widget used to define the text symbolizer properties, such as:
void setSymbolizer(te::se::TextSymbolizer *symb)
Sets a text symbolizer element to this widget.
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
This is the base class for layers.
virtual void setRasterContrast(te::map::RasterContrast *contrast)
It sets the raster contrast associated to the Layer.
A Symbolizer describes how a feature is to appear on a map.
A widget used to define the rule properties, such as:
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...
A widget used to define the line symbolizer properties, such as:
void setLabels(std::vector< std::string > names)
Used to set all properties names to use as label.
virtual std::unique_ptr< LayerSchema > getSchema() const =0
It returns the layer schema.
virtual void setSelectionStyle(te::se::Style *style)
It sets the selection Style associated to the layer.
A widget used to define the point symbolizer properties, such as:
virtual te::map::RasterContrast * getRasterContrast() const
It returns the raster contrast associated to the Layer.
void setLabel(ParameterValue *l)
This class contains the parameters needed to apply dynamic contrast over a raster.
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
A widget used to define the text symbolizer properties, such as:
const ParameterValue * getLabel() const
virtual const std::string & getType() const =0
It returns the symbolizer type.
virtual void setStyle(te::se::Style *style)
It sets the Style associated to the layer.
std::vector< te::rst::BandProperty * > & getBandProperties()
Returns a reference to the list of bands definitions.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
TESEEXPORT std::string GetString(const te::se::ParameterValue *param)
It gets the parameter value as a string.
A widget used to define the polygon symbolizer properties, such as: