|
Krita Source Code Documentation
|
Id selector, matching the id attribute. More...
Inheritance diagram for IdSelector:Public Member Functions | |
| IdSelector (const QString &id) | |
| 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 Attributes | |
| QString | m_id |
Id selector, matching the id attribute.
Definition at line 78 of file SvgCssHelper.cpp.
|
inline |
Definition at line 81 of file SvgCssHelper.cpp.
References m_id.
|
inlineoverridevirtual |
Matches the given element.
Implements CssSelectorBase.
Definition at line 87 of file SvgCssHelper.cpp.
References m_id.
|
inlineoverridevirtual |
Returns priority of selector see http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#specificity
Reimplemented from CssSelectorBase.
Definition at line 95 of file SvgCssHelper.cpp.
|
inlineoverridevirtual |
Returns string representation of selector.
Reimplemented from CssSelectorBase.
Definition at line 91 of file SvgCssHelper.cpp.
References m_id.
|
private |
Definition at line 100 of file SvgCssHelper.cpp.