29 if ( symbolName.startsWith(
"hard:" ) )
33 QColor borderColor = s->
color();
34 QString name = symbolName.mid( 5 );
40 QString name = symbolName.mid( 4 );
50 QColor color = s->
color();
52 Qt::PenStyle penStyle = s->
pen().style();
63 QColor borderColor = s->
color();
64 Qt::BrushStyle brushStyle = s->
brush().style();
65 Qt::PenStyle borderStyle = s->
pen().style();
102 else if ( sl->
layerType() ==
"SvgMarker" )
157 QString rtype = r->
name();
158 if ( rtype ==
"Single Symbol" )
167 else if ( rtype ==
"Graduated Symbol" )
182 double lowerValue = sym->
lowerValue().toDouble();
183 double upperValue = sym->
upperValue().toDouble();
184 QString label = sym->
label();
185 if ( label.isEmpty() )
186 label = QString(
"%1 - %2" ).arg( lowerValue, -1,
'f', 3 ).arg( upperValue, -1,
'f', 3 );
195 switch ( gsr->
mode() )
205 else if ( rtype ==
"Continuous Color" )
209 else if ( rtype ==
"Unique Value" )
224 QVariant value = QVariant( sym->
lowerValue() );
225 QString label = sym->
label();
226 if ( label.isEmpty() )
227 label = value.toString();
237 if ( r2final == NULL )
259 QString r2type = r2->
type();
260 if ( r2type ==
"singleSymbol" )
268 else if ( r2type ==
"graduatedSymbol" )
273 switch ( gsr2->
mode() )
295 else if ( r2type ==
"categorizedSymbol" )
306 QString val = cat.
value().toString();
316 if ( rfinal == NULL )