24 QStringList indexPathStr;
25 for (
int index : ref.symbolLayerId().symbolLayerIndexPath() )
27 indexPathStr.append( QString::number( index ) );
29 slst.append( QStringLiteral(
"%1,%2,%3" ).arg( ref.layerId(), ref.symbolLayerId().symbolKey(), indexPathStr.join(
',' ) ) );
31 return slst.join(
';' );
38 const QStringList split = str.split(
';' );
39 for ( QString tuple : split )
42 QStringList elements = tuple.split(
',' );
43 if ( elements.size() >= 3 )
45 QVector<int> indexPath;
46 for (
int i = 2; i < elements.size(); i++ )
48 indexPath.append( elements[i].toInt() );