Krita Source Code Documentation
Loading...
Searching...
No Matches
SvgCssHelper.cpp File Reference
#include "SvgCssHelper.h"
#include <FlakeDebug.h>
#include <QPair>
#include <QRegExp>

Go to the source code of this file.

Classes

class  AttributeSelector
 Attribute selector, matching existence or content of attributes. More...
 
class  CssComplexSelector
 Complex selector, i.e. a combination of simple selectors. More...
 
class  CssSelectorBase
 Selector base class, merely an interface. More...
 
class  CssSimpleSelector
 A simple selector, i.e. a type/universal selector followed by attribute, id or pseudo-class selectors. More...
 
class  IdSelector
 Id selector, matching the id attribute. More...
 
class  SvgCssHelper::Private
 
class  PseudoClassSelector
 Pseudo-class selector. More...
 
class  TypeSelector
 Type selector, matching the type of an element. More...
 
class  UniversalSelector
 Universal selector, matching anything. More...
 

Typedefs

typedef QPair< SelectorGroup, QString > CssRule
 A css rule consisting of group of selectors corresponding to a style.
 
typedef QPair< CssTokenType, QString > CssToken
 A token used for tokenizing complex selectors.
 
typedef QList< CssSelectorBase * > SelectorGroup
 A group of selectors (comma separated in css style sheet)
 

Enumerations

enum  CssTokenType { SelectorToken , CombinatorToken }
 Token types used for tokenizing complex selectors. More...
 

Typedef Documentation

◆ CssRule

typedef QPair<SelectorGroup, QString> CssRule

A css rule consisting of group of selectors corresponding to a style.

Definition at line 485 of file SvgCssHelper.cpp.

◆ CssToken

typedef QPair<CssTokenType, QString> CssToken

A token used for tokenizing complex selectors.

Definition at line 19 of file SvgCssHelper.cpp.

◆ SelectorGroup

A group of selectors (comma separated in css style sheet)

Definition at line 483 of file SvgCssHelper.cpp.

Enumeration Type Documentation

◆ CssTokenType

Token types used for tokenizing complex selectors.

Enumerator
SelectorToken 

a selector token

CombinatorToken 

a combinator token

Definition at line 13 of file SvgCssHelper.cpp.

13 {
16};
@ SelectorToken
a selector token
@ CombinatorToken
a combinator token