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