![]() |
Qt 4.8
|
#include <qcssparser_p.h>
Public Functions | |
| bool | extractBackground (QBrush *, QString *, Repeat *, Qt::Alignment *, QCss::Origin *, QCss::Attachment *, QCss::Origin *) |
| bool | extractBorder (int *borders, QBrush *colors, BorderStyle *Styles, QSize *radii) |
| bool | extractBox (int *margins, int *paddings, int *spacing=0) |
| bool | extractFont (QFont *font, int *fontSizeAdjustment) |
| bool | extractGeometry (int *w, int *h, int *minw, int *minh, int *maxw, int *maxh) |
| bool | extractImage (QIcon *icon, Qt::Alignment *a, QSize *size) |
| bool | extractOutline (int *borders, QBrush *colors, BorderStyle *Styles, QSize *radii, int *offsets) |
| bool | extractPalette (QBrush *fg, QBrush *sfg, QBrush *sbg, QBrush *abg) |
| bool | extractPosition (int *l, int *t, int *r, int *b, QCss::Origin *, Qt::Alignment *, QCss::PositionMode *, Qt::Alignment *) |
| int | extractStyleFeatures () |
| int | lengthValue (const Declaration &decl) |
| ValueExtractor (const QVector< Declaration > &declarations, const QPalette &=QPalette()) | |
Private Functions | |
| void | borderValue (const Declaration &decl, int *width, QCss::BorderStyle *style, QBrush *color) |
| void | extractFont () |
| LengthData | lengthValue (const Value &v) |
| void | lengthValues (const Declaration &decl, int *m) |
| QSize | sizeValue (const Declaration &decl) |
| void | sizeValues (const Declaration &decl, QSize *radii) |
Properties | |
| int | adjustment |
| QVector< Declaration > | declarations |
| QFont | f |
| int | fontExtracted |
| QPalette | pal |
Definition at line 568 of file qcssparser_p.h.
| ValueExtractor::ValueExtractor | ( | const QVector< Declaration > & | declarations, |
| const QPalette & | pal = QPalette() |
||
| ) |
Definition at line 368 of file qcssparser.cpp.
|
private |
Definition at line 895 of file qcssparser.cpp.
Referenced by extractBorder(), and extractOutline().
| bool ValueExtractor::extractBackground | ( | QBrush * | brush, |
| QString * | image, | ||
| Repeat * | repeat, | ||
| Qt::Alignment * | alignment, | ||
| QCss::Origin * | origin, | ||
| QCss::Attachment * | attachment, | ||
| QCss::Origin * | clip | ||
| ) |
Definition at line 990 of file qcssparser.cpp.
Referenced by QTextHtmlParserNode::applyCssDeclarations(), and QRenderRule::QRenderRule().
| bool ValueExtractor::extractBorder | ( | int * | borders, |
| QBrush * | colors, | ||
| BorderStyle * | Styles, | ||
| QSize * | radii | ||
| ) |
Definition at line 559 of file qcssparser.cpp.
Referenced by QRenderRule::QRenderRule().
| bool ValueExtractor::extractBox | ( | int * | margins, |
| int * | paddings, | ||
| int * | spacing = 0 |
||
| ) |
Definition at line 492 of file qcssparser.cpp.
Referenced by QTextHtmlParserNode::applyCssDeclarations(), and QRenderRule::QRenderRule().
| bool ValueExtractor::extractFont | ( | QFont * | font, |
| int * | fontSizeAdjustment | ||
| ) |
Definition at line 1216 of file qcssparser.cpp.
Referenced by QTextHtmlParserNode::applyCssDeclarations(), and QRenderRule::QRenderRule().
|
private |
Definition at line 1267 of file qcssparser.cpp.
Referenced by extractBorder(), extractBox(), extractGeometry(), extractOutline(), and extractPosition().
| bool ValueExtractor::extractGeometry | ( | int * | w, |
| int * | h, | ||
| int * | minw, | ||
| int * | minh, | ||
| int * | maxw, | ||
| int * | maxh | ||
| ) |
Definition at line 447 of file qcssparser.cpp.
Referenced by QRenderRule::QRenderRule().
Definition at line 1275 of file qcssparser.cpp.
Referenced by QRenderRule::QRenderRule().
| bool ValueExtractor::extractOutline | ( | int * | borders, |
| QBrush * | colors, | ||
| BorderStyle * | Styles, | ||
| QSize * | radii, | ||
| int * | offsets | ||
| ) |
Definition at line 618 of file qcssparser.cpp.
Referenced by QRenderRule::QRenderRule().
Definition at line 1250 of file qcssparser.cpp.
Referenced by QRenderRule::QRenderRule().
| bool ValueExtractor::extractPosition | ( | int * | l, |
| int * | t, | ||
| int * | r, | ||
| int * | b, | ||
| QCss::Origin * | origin, | ||
| Qt::Alignment * | position, | ||
| QCss::PositionMode * | mode, | ||
| Qt::Alignment * | textAlignment | ||
| ) |
Definition at line 468 of file qcssparser.cpp.
Referenced by QRenderRule::QRenderRule().
| int ValueExtractor::extractStyleFeatures | ( | ) |
Definition at line 520 of file qcssparser.cpp.
Referenced by QRenderRule::QRenderRule().
| int ValueExtractor::lengthValue | ( | const Declaration & | decl | ) |
Definition at line 402 of file qcssparser.cpp.
Referenced by QTextHtmlParserNode::applyCssDeclarations(), borderValue(), extractBorder(), extractBox(), extractGeometry(), extractPosition(), lengthValues(), and sizeValue().
|
private |
Definition at line 373 of file qcssparser.cpp.
|
private |
Definition at line 413 of file qcssparser.cpp.
Referenced by extractBorder(), extractBox(), and extractOutline().
|
private |
Definition at line 531 of file qcssparser.cpp.
Referenced by extractBorder(), extractOutline(), and sizeValues().
|
private |
Definition at line 552 of file qcssparser.cpp.
Referenced by extractBorder(), and extractOutline().
|
private |
Definition at line 597 of file qcssparser_p.h.
Referenced by extractFont().
|
private |
Definition at line 595 of file qcssparser_p.h.
Referenced by extractBackground(), extractBorder(), extractBox(), extractFont(), extractGeometry(), extractImage(), extractOutline(), extractPalette(), extractPosition(), and extractStyleFeatures().
|
private |
Definition at line 596 of file qcssparser_p.h.
Referenced by borderValue(), extractFont(), lengthValue(), lengthValues(), and sizeValue().
|
private |
Definition at line 598 of file qcssparser_p.h.
Referenced by extractFont().
|
private |
Definition at line 599 of file qcssparser_p.h.
Referenced by borderValue(), QCss::Declaration::brushValue(), QCss::Declaration::brushValues(), extractBackground(), extractBorder(), extractOutline(), and extractPalette().