26 mRecentSymbols[ identifier ] = std::unique_ptr< QgsSymbol >( symbol );
31 auto it = mRecentSymbols.find( identifier );
32 if ( it != mRecentSymbols.end() )
33 return it->second->clone();
void pushRecentSymbol(const QString &identifier, QgsSymbol *symbol)
Pushes a recently used symbol with the specified identifier.
QgsRecentStyleHandler()
Creates a new recent style handler.
QgsSymbol * recentSymbol(const QString &identifier) const
Returns a copy of the recently used symbol with the specified identifier, or nullptr if no symbol wit...
Abstract base class for all rendered symbols.