51 void populateFromInstance();
59 void addDefaultSchemes();
65 void initStyleScheme();
73 void addUserSchemes();
96 QList<QgsColorScheme *> schemes()
const;
112 template<
class T>
void schemes( QList<T *> &schemeList )
const
115 QList<QgsColorScheme *> schemeInstanceList = schemes();
116 QList<QgsColorScheme *>::iterator schemeIt = schemeInstanceList.begin();
117 for ( ; schemeIt != schemeInstanceList.end(); ++schemeIt )
119 T *scheme =
dynamic_cast<T *
>( *schemeIt );
122 schemeList.push_back( scheme );
179 QColor fetchRandomStyleColor()
const;
183 QList< QgsColorScheme * > mColorSchemeList;
188 mutable int mNextRandomStyleColorIndex = 0;
190 int mNextRandomStyleColorDirection = 1;