![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qcssparser_p.h>
Public Member Functions | |
ValueExtractor (const QList< Declaration > &declarations, const QPalette &=QPalette()) | |
bool | extractFont (QFont *font, int *fontSizeAdjustment) |
bool | extractBackground (QBrush *, QString *, Repeat *, Qt::Alignment *, QCss::Origin *, QCss::Attachment *, QCss::Origin *) |
bool | extractGeometry (int *w, int *h, int *minw, int *minh, int *maxw, int *maxh) |
bool | extractPosition (int *l, int *t, int *r, int *b, QCss::Origin *, Qt::Alignment *, QCss::PositionMode *, Qt::Alignment *) |
bool | extractBox (int *margins, int *paddings, int *spacing=nullptr) |
bool | extractBorder (int *borders, QBrush *colors, BorderStyle *Styles, QSize *radii) |
bool | extractOutline (int *borders, QBrush *colors, BorderStyle *Styles, QSize *radii, int *offsets) |
bool | extractPalette (QBrush *foreground, QBrush *selectedForeground, QBrush *selectedBackground, QBrush *alternateBackground, QBrush *placeHolderTextForeground, QBrush *accent) |
int | extractStyleFeatures () |
bool | extractImage (QIcon *icon, Qt::Alignment *a, QSize *size) |
bool | extractIcon (QIcon *icon, QSize *size) |
void | lengthValues (const Declaration &decl, int *m) |
QTextLength | textLength (const Declaration &decl) |
Definition at line 852 of file qcssparser_p.h.
ValueExtractor::ValueExtractor | ( | const QList< Declaration > & | declarations, |
const QPalette & | pal = QPalette() ) |
Definition at line 434 of file qcssparser.cpp.
bool ValueExtractor::extractBackground | ( | QBrush * | brush, |
QString * | image, | ||
Repeat * | repeat, | ||
Qt::Alignment * | alignment, | ||
QCss::Origin * | origin, | ||
QCss::Attachment * | attachment, | ||
QCss::Origin * | clip ) |
Definition at line 1111 of file qcssparser.cpp.
bool ValueExtractor::extractBorder | ( | int * | borders, |
QBrush * | colors, | ||
BorderStyle * | Styles, | ||
QSize * | radii ) |
Definition at line 637 of file qcssparser.cpp.
bool ValueExtractor::extractBox | ( | int * | margins, |
int * | paddings, | ||
int * | spacing = nullptr ) |
Definition at line 570 of file qcssparser.cpp.
bool ValueExtractor::extractFont | ( | QFont * | font, |
int * | fontSizeAdjustment ) |
Definition at line 1386 of file qcssparser.cpp.
bool ValueExtractor::extractGeometry | ( | int * | w, |
int * | h, | ||
int * | minw, | ||
int * | minh, | ||
int * | maxw, | ||
int * | maxh ) |
Definition at line 525 of file qcssparser.cpp.
Definition at line 1481 of file qcssparser.cpp.
Definition at line 1455 of file qcssparser.cpp.
bool ValueExtractor::extractOutline | ( | int * | borders, |
QBrush * | colors, | ||
BorderStyle * | Styles, | ||
QSize * | radii, | ||
int * | offsets ) |
Definition at line 696 of file qcssparser.cpp.
bool ValueExtractor::extractPalette | ( | QBrush * | foreground, |
QBrush * | selectedForeground, | ||
QBrush * | selectedBackground, | ||
QBrush * | alternateBackground, | ||
QBrush * | placeHolderTextForeground, | ||
QBrush * | accent ) |
Definition at line 1423 of file qcssparser.cpp.
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 546 of file qcssparser.cpp.
int ValueExtractor::extractStyleFeatures | ( | ) |
Definition at line 598 of file qcssparser.cpp.
void ValueExtractor::lengthValues | ( | const Declaration & | decl, |
int * | m ) |
Definition at line 489 of file qcssparser.cpp.
QTextLength ValueExtractor::textLength | ( | const Declaration & | decl | ) |
Definition at line 469 of file qcssparser.cpp.