|
Krita Source Code Documentation
|
Attribute selector, matching existence or content of attributes. More...
Inheritance diagram for AttributeSelector:Public Member Functions | |
| AttributeSelector (const QString &attribute) | |
| bool | match (const QDomElement &e) override |
| Matches the given element. | |
| int | priority () override |
| QString | toString () const override |
| Returns string representation of selector. | |
Public Member Functions inherited from CssSelectorBase | |
| virtual | ~CssSelectorBase () |
Private Types | |
| enum | MatchType { Unknown , Exists , Equals , InList , StartsWith } |
Private Attributes | |
| QString | m_attribute |
| MatchType | m_type |
| QString | m_value |
Attribute selector, matching existence or content of attributes.
Definition at line 104 of file SvgCssHelper.cpp.
|
private |
Definition at line 181 of file SvgCssHelper.cpp.
|
inline |
Definition at line 107 of file SvgCssHelper.cpp.
References Equals, Exists, InList, m_attribute, m_type, m_value, and StartsWith.
|
inlineoverridevirtual |
Matches the given element.
Implements CssSelectorBase.
Definition at line 138 of file SvgCssHelper.cpp.
References Equals, Exists, InList, m_attribute, m_type, m_value, and StartsWith.
|
inlineoverridevirtual |
Returns priority of selector see http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#specificity
Reimplemented from CssSelectorBase.
Definition at line 175 of file SvgCssHelper.cpp.
|
inlineoverridevirtual |
Returns string representation of selector.
Reimplemented from CssSelectorBase.
Definition at line 160 of file SvgCssHelper.cpp.
References Equals, InList, m_attribute, m_type, m_value, and StartsWith.
|
private |
Definition at line 188 of file SvgCssHelper.cpp.
|
private |
Definition at line 190 of file SvgCssHelper.cpp.
|
private |
Definition at line 189 of file SvgCssHelper.cpp.