Skip to content
Permalink
Browse files

Test updates

  • Loading branch information
nyalldawson committed Nov 17, 2020
1 parent 5394b36 commit 467f4f1088b56a7c7f0c1afdce63c64e0280c44a
@@ -216,6 +216,7 @@ void TestQgsFontMarkerSymbol::opacityWithDataDefinedColor()
mFontMarkerLayer->setStrokeColor( QColor( 0, 0, 0 ) );
QFont font = QgsFontUtils::getStandardTestFont( QStringLiteral( "Bold" ) );
mFontMarkerLayer->setFontFamily( font.family() );
mFontMarkerLayer->setDataDefinedProperties( QgsPropertyCollection() );
mFontMarkerLayer->setCharacter( QChar( 'X' ) );
mFontMarkerLayer->setSize( 12 );
mFontMarkerLayer->setDataDefinedProperty( QgsSymbolLayer::PropertyFillColor, QgsProperty::fromExpression( QStringLiteral( "if(importance > 2, 'red', 'green')" ) ) );
Binary file not shown.
Binary file not shown.

0 comments on commit 467f4f1

Please sign in to comment.
You can’t perform that action at this time.