Qt 4.8
Classes | Namespaces | Enumerations | Variables
qcssparser_p.h File Reference
#include <QtCore/QStringList>
#include <QtCore/QVector>
#include <QtCore/QVariant>
#include <QtCore/QPair>
#include <QtCore/QSize>
#include <QtCore/QMultiHash>
#include <QtGui/QFont>
#include <QtGui/QPalette>
#include <QtGui/QIcon>
#include <QtCore/QSharedData>

Go to the source code of this file.

Classes

struct  QCss::AttributeSelector
 
struct  QCss::BackgroundData
 
struct  QCss::BasicSelector
 
struct  QCss::BorderData
 
struct  QCss::BrushData
 
struct  QCss::ColorData
 
struct  QCss::Declaration
 
struct  QCss::Declaration::DeclarationData
 
struct  QCss::ImportRule
 
struct  QCss::LengthData
 
struct  QCss::MediaRule
 
struct  QCss::PageRule
 
class  QCss::Parser
 
struct  QCss::Pseudo
 
class  QCss::Scanner
 
struct  QCss::Selector
 
struct  QCss::StyleRule
 
class  QCss::StyleSelector
 
union  QCss::StyleSelector::NodePtr
 
struct  QCss::StyleSheet
 
struct  QCss::Symbol
 
struct  QCss::Value
 
struct  QCss::ValueExtractor
 

Namespaces

 QCss
 

Enumerations

enum  QCss::Attachment { QCss::Attachment_Unknown, QCss::Attachment_Fixed, QCss::Attachment_Scroll, QCss::NumKnownAttachments }
 
enum  QCss::BorderStyle {
  QCss::BorderStyle_Unknown, QCss::BorderStyle_None, QCss::BorderStyle_Dotted, QCss::BorderStyle_Dashed,
  QCss::BorderStyle_Solid, QCss::BorderStyle_Double, QCss::BorderStyle_DotDash, QCss::BorderStyle_DotDotDash,
  QCss::BorderStyle_Groove, QCss::BorderStyle_Ridge, QCss::BorderStyle_Inset, QCss::BorderStyle_Outset,
  QCss::BorderStyle_Native, QCss::NumKnownBorderStyles
}
 
enum  QCss::Corner { QCss::TopLeftCorner, QCss::TopRightCorner, QCss::BottomLeftCorner, QCss::BottomRightCorner }
 
enum  QCss::Edge {
  QCss::TopEdge, QCss::RightEdge, QCss::BottomEdge, QCss::LeftEdge,
  QCss::NumEdges
}
 
enum  QCss::KnownValue {
  QCss::UnknownValue, QCss::Value_Normal, QCss::Value_Pre, QCss::Value_NoWrap,
  QCss::Value_PreWrap, QCss::Value_Small, QCss::Value_Medium, QCss::Value_Large,
  QCss::Value_XLarge, QCss::Value_XXLarge, QCss::Value_Italic, QCss::Value_Oblique,
  QCss::Value_Bold, QCss::Value_Underline, QCss::Value_Overline, QCss::Value_LineThrough,
  QCss::Value_Sub, QCss::Value_Super, QCss::Value_Left, QCss::Value_Right,
  QCss::Value_Top, QCss::Value_Bottom, QCss::Value_Center, QCss::Value_Native,
  QCss::Value_Solid, QCss::Value_Dotted, QCss::Value_Dashed, QCss::Value_DotDash,
  QCss::Value_DotDotDash, QCss::Value_Double, QCss::Value_Groove, QCss::Value_Ridge,
  QCss::Value_Inset, QCss::Value_Outset, QCss::Value_Wave, QCss::Value_Middle,
  QCss::Value_Auto, QCss::Value_Always, QCss::Value_None, QCss::Value_Transparent,
  QCss::Value_Disc, QCss::Value_Circle, QCss::Value_Square, QCss::Value_Decimal,
  QCss::Value_LowerAlpha, QCss::Value_UpperAlpha, QCss::Value_LowerRoman, QCss::Value_UpperRoman,
  QCss::Value_SmallCaps, QCss::Value_Uppercase, QCss::Value_Lowercase, QCss::Value_FirstColorRole,
  QCss::Value_WindowText = Value_FirstColorRole, QCss::Value_Button, QCss::Value_Light, QCss::Value_Midlight,
  QCss::Value_Dark, QCss::Value_Mid, QCss::Value_Text, QCss::Value_BrightText,
  QCss::Value_ButtonText, QCss::Value_Base, QCss::Value_Window, QCss::Value_Shadow,
  QCss::Value_Highlight, QCss::Value_HighlightedText, QCss::Value_Link, QCss::Value_LinkVisited,
  QCss::Value_AlternateBase, QCss::Value_LastColorRole = Value_AlternateBase, QCss::Value_Disabled, QCss::Value_Active,
  QCss::Value_Selected, QCss::Value_On, QCss::Value_Off, QCss::NumKnownValues
}
 
enum  QCss::Origin {
  QCss::Origin_Unknown, QCss::Origin_Padding, QCss::Origin_Border, QCss::Origin_Content,
  QCss::Origin_Margin, QCss::NumKnownOrigins
}
 
enum  QCss::PositionMode {
  QCss::PositionMode_Unknown, QCss::PositionMode_Static, QCss::PositionMode_Relative, QCss::PositionMode_Absolute,
  QCss::PositionMode_Fixed, QCss::NumKnownPositionModes
}
 
enum  QCss::Property {
  QCss::UnknownProperty, QCss::BackgroundColor, QCss::Color, QCss::Float,
  QCss::Font, QCss::FontFamily, QCss::FontSize, QCss::FontStyle,
  QCss::FontWeight, QCss::Margin, QCss::MarginBottom, QCss::MarginLeft,
  QCss::MarginRight, QCss::MarginTop, QCss::QtBlockIndent, QCss::QtListIndent,
  QCss::QtParagraphType, QCss::QtTableType, QCss::QtUserState, QCss::TextDecoration,
  QCss::TextIndent, QCss::TextUnderlineStyle, QCss::VerticalAlignment, QCss::Whitespace,
  QCss::QtSelectionForeground, QCss::QtSelectionBackground, QCss::Border, QCss::BorderLeft,
  QCss::BorderRight, QCss::BorderTop, QCss::BorderBottom, QCss::Padding,
  QCss::PaddingLeft, QCss::PaddingRight, QCss::PaddingTop, QCss::PaddingBottom,
  QCss::PageBreakBefore, QCss::PageBreakAfter, QCss::QtAlternateBackground, QCss::BorderLeftStyle,
  QCss::BorderRightStyle, QCss::BorderTopStyle, QCss::BorderBottomStyle, QCss::BorderStyles,
  QCss::BorderLeftColor, QCss::BorderRightColor, QCss::BorderTopColor, QCss::BorderBottomColor,
  QCss::BorderColor, QCss::BorderLeftWidth, QCss::BorderRightWidth, QCss::BorderTopWidth,
  QCss::BorderBottomWidth, QCss::BorderWidth, QCss::BorderTopLeftRadius, QCss::BorderTopRightRadius,
  QCss::BorderBottomLeftRadius, QCss::BorderBottomRightRadius, QCss::BorderRadius, QCss::Background,
  QCss::BackgroundOrigin, QCss::BackgroundClip, QCss::BackgroundRepeat, QCss::BackgroundPosition,
  QCss::BackgroundAttachment, QCss::BackgroundImage, QCss::BorderImage, QCss::QtSpacing,
  QCss::Width, QCss::Height, QCss::MinimumWidth, QCss::MinimumHeight,
  QCss::MaximumWidth, QCss::MaximumHeight, QCss::QtImage, QCss::Left,
  QCss::Right, QCss::Top, QCss::Bottom, QCss::QtOrigin,
  QCss::QtPosition, QCss::Position, QCss::QtStyleFeatures, QCss::QtBackgroundRole,
  QCss::ListStyleType, QCss::ListStyle, QCss::QtImageAlignment, QCss::TextAlignment,
  QCss::Outline, QCss::OutlineOffset, QCss::OutlineWidth, QCss::OutlineColor,
  QCss::OutlineStyle, QCss::OutlineRadius, QCss::OutlineTopLeftRadius, QCss::OutlineTopRightRadius,
  QCss::OutlineBottomLeftRadius, QCss::OutlineBottomRightRadius, QCss::FontVariant, QCss::TextTransform,
  QCss::QtListNumberPrefix, QCss::QtListNumberSuffix, QCss::LineHeight, QCss::NumProperties
}
 
enum  QCss::Repeat {
  QCss::Repeat_Unknown, QCss::Repeat_None, QCss::Repeat_X, QCss::Repeat_Y,
  QCss::Repeat_XY, QCss::NumKnownRepeats
}
 
enum  QCss::StyleFeature { QCss::StyleFeature_None = 0, QCss::StyleFeature_BackgroundColor = 1, QCss::StyleFeature_BackgroundGradient = 2, QCss::NumKnownStyleFeatures = 4 }
 
enum  QCss::StyleSheetOrigin {
  QCss::StyleSheetOrigin_Unspecified, QCss::StyleSheetOrigin_UserAgent, QCss::StyleSheetOrigin_User, QCss::StyleSheetOrigin_Author,
  QCss::StyleSheetOrigin_Inline
}
 
enum  QCss::TileMode {
  QCss::TileMode_Unknown, QCss::TileMode_Round, QCss::TileMode_Stretch, QCss::TileMode_Repeat,
  QCss::NumKnownTileModes
}
 
enum  QCss::TokenType {
  QCss::NONE, QCss::S, QCss::CDO, QCss::CDC,
  QCss::INCLUDES, QCss::DASHMATCH, QCss::LBRACE, QCss::PLUS,
  QCss::GREATER, QCss::COMMA, QCss::STRING, QCss::INVALID,
  QCss::IDENT, QCss::HASH, QCss::ATKEYWORD_SYM, QCss::EXCLAMATION_SYM,
  QCss::LENGTH, QCss::PERCENTAGE, QCss::NUMBER, QCss::FUNCTION,
  QCss::COLON, QCss::SEMICOLON, QCss::RBRACE, QCss::SLASH,
  QCss::MINUS, QCss::DOT, QCss::STAR, QCss::LBRACKET,
  QCss::RBRACKET, QCss::EQUAL, QCss::LPAREN, QCss::RPAREN,
  QCss::OR
}
 

Variables

const int QCss::NumPseudos = 46
 
const quint64 QCss::PseudoClass_Active = Q_UINT64_C(0x0000000080000000)
 
const quint64 QCss::PseudoClass_Alternate = Q_UINT64_C(0x0000100000000000)
 
const quint64 QCss::PseudoClass_Any = Q_UINT64_C(0x0000ffffffffffff)
 
const quint64 QCss::PseudoClass_Bottom = Q_UINT64_C(0x0000000004000000)
 
const quint64 QCss::PseudoClass_Checked = Q_UINT64_C(0x0000000000000020)
 
const quint64 QCss::PseudoClass_Children = Q_UINT64_C(0x0000000000002000)
 
const quint64 QCss::PseudoClass_Closable = Q_UINT64_C(0x0000000100000000)
 
const quint64 QCss::PseudoClass_Closed = Q_UINT64_C(0x0000020000000000)
 
const quint64 QCss::PseudoClass_Default = Q_UINT64_C(0x0000000000008000)
 
const quint64 QCss::PseudoClass_Disabled = Q_UINT64_C(0x0000000000000002)
 
const quint64 QCss::PseudoClass_Editable = Q_UINT64_C(0x0000008000000000)
 
const quint64 QCss::PseudoClass_EditFocus = Q_UINT64_C(0x0000080000000000)
 
const quint64 QCss::PseudoClass_Enabled = Q_UINT64_C(0x0000000000000001)
 
const quint64 QCss::PseudoClass_Exclusive = Q_UINT64_C(0x0000000008000000)
 
const quint64 QCss::PseudoClass_First = Q_UINT64_C(0x0000000000010000)
 
const quint64 QCss::PseudoClass_Flat = Q_UINT64_C(0x0000000000400000)
 
const quint64 QCss::PseudoClass_Floatable = Q_UINT64_C(0x0000000400000000)
 
const quint64 QCss::PseudoClass_Focus = Q_UINT64_C(0x0000000000000008)
 
const quint64 QCss::PseudoClass_Frameless = Q_UINT64_C(0x0000000020000000)
 
const quint64 QCss::PseudoClass_Horizontal = Q_UINT64_C(0x0000000000000400)
 
const quint64 QCss::PseudoClass_Hover = Q_UINT64_C(0x0000000000000010)
 
const quint64 QCss::PseudoClass_Indeterminate = Q_UINT64_C(0x0000000000000080)
 
const quint64 QCss::PseudoClass_Item = Q_UINT64_C(0x0000010000000000)
 
const quint64 QCss::PseudoClass_Last = Q_UINT64_C(0x0000000000020000)
 
const quint64 QCss::PseudoClass_Left = Q_UINT64_C(0x0000000000800000)
 
const quint64 QCss::PseudoClass_Maximized = Q_UINT64_C(0x0000001000000000)
 
const quint64 QCss::PseudoClass_Middle = Q_UINT64_C(0x0000000000040000)
 
const quint64 QCss::PseudoClass_Minimized = Q_UINT64_C(0x0000000800000000)
 
const quint64 QCss::PseudoClass_Movable = Q_UINT64_C(0x0000000200000000)
 
const quint64 QCss::PseudoClass_NextSelected = Q_UINT64_C(0x0000000000200000)
 
const quint64 QCss::PseudoClass_NonExclusive = Q_UINT64_C(0x0000000010000000)
 
const quint64 QCss::PseudoClass_Off = Q_UINT64_C(0x0000004000000000)
 
const quint64 QCss::PseudoClass_On = Q_UINT64_C(0x0000002000000000)
 
const quint64 QCss::PseudoClass_OnlyOne = Q_UINT64_C(0x0000000000080000)
 
const quint64 QCss::PseudoClass_Open = Q_UINT64_C(0x0000040000000000)
 
const quint64 QCss::PseudoClass_Pressed = Q_UINT64_C(0x0000000000000004)
 
const quint64 QCss::PseudoClass_PreviousSelected = Q_UINT64_C(0x0000000000100000)
 
const quint64 QCss::PseudoClass_ReadOnly = Q_UINT64_C(0x0000000040000000)
 
const quint64 QCss::PseudoClass_Right = Q_UINT64_C(0x0000000001000000)
 
const quint64 QCss::PseudoClass_Selected = Q_UINT64_C(0x0000000000000200)
 
const quint64 QCss::PseudoClass_Sibling = Q_UINT64_C(0x0000000000004000)
 
const quint64 QCss::PseudoClass_Top = Q_UINT64_C(0x0000000002000000)
 
const quint64 QCss::PseudoClass_Unchecked = Q_UINT64_C(0x0000000000000040)
 
const quint64 QCss::PseudoClass_Unknown = Q_UINT64_C(0x0000000000000000)
 
const quint64 QCss::PseudoClass_Unspecified = Q_UINT64_C(0x0000000000000100)
 
const quint64 QCss::PseudoClass_Vertical = Q_UINT64_C(0x0000000000000800)
 
const quint64 QCss::PseudoClass_Window = Q_UINT64_C(0x0000000000001000)