16 #ifndef QGSLEGENDSYMBOLITEMV2_H 17 #define QGSLEGENDSYMBOLITEMV2_H 54 bool isScaleOK(
double scale )
const;
63 int level()
const {
return mLevel; }
98 #endif // QGSLEGENDSYMBOLITEMV2_H int scaleMinDenom() const
Min scale denominator of the scale range.
QString ruleKey() const
Return unique identifier of the rule for identification of the item within renderer.
QString parentRuleKey() const
Key of the parent legend node.
bool isCheckable() const
Return whether the item is user-checkable - whether renderer supports enabling/disabling it...
QString label() const
Return text label.
int scaleMaxDenom() const
Max scale denominator of the scale range.
QgsSymbolV2 * symbol() const
Return associated symbol. May be null.
QgsSymbolV2 * legacyRuleKey() const
Used for older code that identifies legend entries from symbol pointer within renderer.
QList< QgsLegendSymbolItemV2 > QgsLegendSymbolListV2
int level() const
Identation level that tells how deep the item is in a hierarchy of items. For flat lists level is 0...
The class stores information about one class/rule of a vector layer renderer in a unified way that ca...