|
Krita Source Code Documentation
|
A simple selector, i.e. a type/universal selector followed by attribute, id or pseudo-class selectors. More...
Inheritance diagram for CssSimpleSelector:Public Member Functions | |
| CssSimpleSelector (const QString &token) | |
| bool | match (const QDomElement &e) override |
| Matches the given element. | |
| int | priority () override |
| QString | toString () const override |
| Returns string representation of selector. | |
| ~CssSimpleSelector () override | |
Public Member Functions inherited from CssSelectorBase | |
| virtual | ~CssSelectorBase () |
Private Member Functions | |
| void | compile () |
Private Attributes | |
| QList< CssSelectorBase * > | m_selectors |
| QString | m_token |
A simple selector, i.e. a type/universal selector followed by attribute, id or pseudo-class selectors.
Definition at line 232 of file SvgCssHelper.cpp.
|
inline |
Definition at line 235 of file SvgCssHelper.cpp.
References compile().
|
inlineoverride |
Definition at line 240 of file SvgCssHelper.cpp.
References m_selectors.
|
inlineprivate |
Definition at line 273 of file SvgCssHelper.cpp.
References m_selectors, and m_token.
|
inlineoverridevirtual |
Matches the given element.
Implements CssSelectorBase.
Definition at line 245 of file SvgCssHelper.cpp.
References m_selectors, and CssSelectorBase::match().
|
inlineoverridevirtual |
Returns priority of selector see http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#specificity
Reimplemented from CssSelectorBase.
Definition at line 263 of file SvgCssHelper.cpp.
References m_selectors, p, and CssSelectorBase::priority().
|
inlineoverridevirtual |
Returns string representation of selector.
Reimplemented from CssSelectorBase.
Definition at line 255 of file SvgCssHelper.cpp.
References m_selectors, and CssSelectorBase::toString().
|
private |
Definition at line 362 of file SvgCssHelper.cpp.
|
private |
Definition at line 363 of file SvgCssHelper.cpp.