20 QString strId = layerId + ruleId;
22 int maskId = mLabelLayers.indexOf( maskedSymbolLayers );
26 mMaskIds[
maskId].insert( strId );
30 mLabelLayers.push_back( maskedSymbolLayers );
31 mMaskIds.push_back( QSet<QString>() << strId );
32 return mMaskIds.size() - 1;
37 if ( labelLayerId.isEmpty() )
40 QString
id = labelLayerId + labelRuleId;
41 for (
int i = 0; i < mMaskIds.size(); i++ )
43 if ( mMaskIds[i].contains(
id ) )
51 return mMaskIds.size();