1 #ifndef QGSCONDITIONALSTYLE_H 2 #define QGSCONDITIONALSTYLE_H 8 #include <QDomDocument> 52 bool readXml(
const QDomNode& node );
163 bool validTextColor()
const;
176 bool validBackgroundColor()
const;
225 bool readXml(
const QDomNode& node );
244 #endif // QGSCONDITIONALSTYLE_H QString name() const
The name of the style.
void setName(const QString &value)
Set the name of the style.
void setRule(const QString &value)
Set the rule for the style.
QPixmap icon() const
The icon set for style generated from the set symbol.
Conditional styling for a rule.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
bool isValid() const
isValid Check if this rule is valid.
QColor backgroundColor() const
The background color for style.
void setBackgroundColor(const QColor &value)
Set the background color for the style.
void setFont(const QFont &value)
Set the font for the the style.
QColor textColor() const
The text color set for style.
The QgsConditionalLayerStyles class holds conditional style information for a layer.
QgsSymbolV2 * symbol() const
The symbol used to generate the icon for the style.
QFont font() const
The font for the style.
QString rule() const
The condition rule set for the style.
QList< QgsConditionalStyle > QgsConditionalStyles
void setTextColor(const QColor &value)
Set the text color for the style.