All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Stylish Namespace Reference

Stylish is the CSS parameter parsing and handling library. More...

Namespaces

namespace  LazyAttributeManager
 Storage for factories that are used to create lazy attributes.
 

Classes

class  AttributeBackground
 Attribute used to define CSSBoxModel background, that includes set of background images, color and clipping mode. More...
 
class  AttributeBorder
 AttributeBorder represents a stylable border The border frame consists of four borders (top, right, bottom, left) each containing a separate property for color, width and style. More...
 
class  AttributeFont
 Attribute for fonts. Implements parts of CSS Fonts Module: http://www.w3.org/TR/css3-fonts. More...
 
class  BackgroundImage
 One background item used in AttributeBackground. More...
 
class  Border
 Styleable border, used by AttributeBorder to implement four different borders for CSSBoxModel. More...
 
class  CSSBoxModel
 Implements the basic framework for doing CSS-style box layout. More...
 
class  CSSParser
 CSS 2.1 parser. More...
 
class  Declaration
 A CSS declaration that consists of a name and the associated value. More...
 
class  Rule
 A rule consists of a Selector and a declaration. More...
 
class  Selector
 CSS selector is a chain of SimpleSelectors separated by combinators. More...
 
class  SimpleSelector
 CSS Simple selector and its preceding selector combinator in full CSS Selector. More...
 
class  Styleable
 A collection of values that can be styled. More...
 
class  StyleSheet
 A StyleSheet contains a list of rules that can be used to define the CSS properties of Styleable objects. More...
 

Typedefs

typedef std::vector< DeclarationDeclarations
 

Enumerations

enum  FontKerning { FONT_KERNING_AUTO, FONT_KERNING_NORMAL, FONT_KERNING_NONE }
 Available font kerning modes. More...
 
enum  FontStretch {
  FONT_STRETCH_ULTRA_CONDENSED = QFont::UltraCondensed, FONT_STRETCH_EXTRA_CONDENSED = QFont::ExtraCondensed, FONT_STRETCH_CONDENSED = QFont::Condensed, FONT_STRETCH_SEMI_CONDENSED = QFont::SemiCondensed,
  FONT_STRETCH_NORMAL = QFont::Unstretched, FONT_STRETCH_SEMI_EXPANDED = QFont::SemiExpanded, FONT_STRETCH_EXPANDED = QFont::Expanded, FONT_STRETCH_EXTRA_EXPANDED = QFont::ExtraExpanded,
  FONT_STRETCH_ULTRA_EXPANDED = QFont::UltraExpanded
}
 Available font stretch modes. More...
 
enum  FontStyle { FONT_STYLE_NORMAL, FONT_STYLE_ITALIC, FONT_STYLE_OBLIQUE = FONT_STYLE_ITALIC }
 Names of the different font styles. More...
 
enum  FontVariant { FONT_VARIANT_NORMAL, FONT_VARIANT_SMALL_CAPS }
 Available font variants. More...
 
enum  FontWeight { FONT_WEIGHT_NORMAL = 400, FONT_WEIGHT_BOLD = 700 }
 Available default font weights. More...
 

Detailed Description

Stylish is the CSS parameter parsing and handling library.

Enumeration Type Documentation

Available font kerning modes.

Enumerator
FONT_KERNING_AUTO 

"auto"

FONT_KERNING_NORMAL 

"normal"

FONT_KERNING_NONE 

"none"

Available font stretch modes.

Enumerator
FONT_STRETCH_ULTRA_CONDENSED 

"ultra-condensed"

FONT_STRETCH_EXTRA_CONDENSED 

"extra-condensed"

FONT_STRETCH_CONDENSED 

"condensed"

FONT_STRETCH_SEMI_CONDENSED 

"semi-condensed"

FONT_STRETCH_NORMAL 

"normal"

FONT_STRETCH_SEMI_EXPANDED 

"semi-expanded"

FONT_STRETCH_EXPANDED 

"expanded"

FONT_STRETCH_EXTRA_EXPANDED 

"extra-expanded"

FONT_STRETCH_ULTRA_EXPANDED 

"ultra-expanded"

Names of the different font styles.

Enumerator
FONT_STYLE_NORMAL 

"normal"

FONT_STYLE_ITALIC 

"italic"

FONT_STYLE_OBLIQUE 

"oblique"

Available font variants.

Enumerator
FONT_VARIANT_NORMAL 

"normal"

FONT_VARIANT_SMALL_CAPS 

"small-caps"

Available default font weights.

Enumerator
FONT_WEIGHT_NORMAL 

"normal"

FONT_WEIGHT_BOLD 

"bold"