Qt 4.8
|
Public Types | |
enum | { Margin = 1, Border = 2, Padding = 4, All =Margin|Border|Padding } |
Definition at line 468 of file qstylesheetstyle.cpp.
anonymous enum |
Enumerator | |
---|---|
Margin | |
Border | |
Padding | |
All |
Definition at line 480 of file qstylesheetstyle.cpp.
|
inline |
Definition at line 471 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::renderRule().
QRenderRule::QRenderRule | ( | const QVector< QCss::Declaration > & | declarations, |
const QWidget * | widget | ||
) |
Definition at line 863 of file qstylesheetstyle.cpp.
|
inline |
Definition at line 473 of file qstylesheetstyle.cpp.
Definition at line 558 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::sizeFromContents().
|
inline |
Definition at line 499 of file qstylesheetstyle.cpp.
Referenced by configurePalette(), drawBackground(), drawBackgroundImage(), QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), and QStyleSheetStyle::polish().
|
inline |
Definition at line 520 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawControl(), QStyleSheetStyle::drawPrimitive(), QStyleSheetStyle::sizeFromContents(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::subElementRect().
|
inline |
Definition at line 500 of file qstylesheetstyle.cpp.
Referenced by borderClip(), boxRect(), configurePalette(), drawBorder(), drawBorderImage(), fixupBorder(), paddingRect(), QStyleSheetStyle::pixelMetric(), QStyleSheetStyle::polish(), QRenderRule(), and QStyleSheetStyle::styleHint().
QPainterPath QRenderRule::borderClip | ( | QRect | rect | ) |
Definition at line 1237 of file qstylesheetstyle.cpp.
Referenced by drawBackground(), and setClip().
Definition at line 1013 of file qstylesheetstyle.cpp.
Referenced by drawBackgroundImage(), QStyleSheetStyle::drawControl(), drawFrame(), originRect(), outlineRect(), paddingRect(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::subElementRect().
|
inline |
Definition at line 498 of file qstylesheetstyle.cpp.
Referenced by borderRect(), boxRect(), contentsRect(), and QStyleSheetStyle::pixelMetric().
Definition at line 1048 of file qstylesheetstyle.cpp.
Referenced by boxSize(), and QStyleSheetStyle::drawComplexControl().
Definition at line 1068 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::setGeometry(), and QStyleSheetStyle::sizeFromContents().
void QRenderRule::configurePalette | ( | QPalette * | p, |
QPalette::ColorGroup | cg, | ||
const QWidget * | w, | ||
bool | embedded | ||
) |
Definition at line 1373 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), QStyleSheetStyle::drawPrimitive(), QStyleSheetStyle::setPalette(), and QStyleSheetStyle::styleSheetPalette().
void QRenderRule::configurePalette | ( | QPalette * | p, |
QPalette::ColorRole | fr, | ||
QPalette::ColorRole | br | ||
) |
Definition at line 1342 of file qstylesheetstyle.cpp.
Definition at line 1039 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), drawRule(), originRect(), QStyleSheetStyle::subControlRect(), QStyleSheetStyle::subElementRect(), and QStyleSheetStyle::titleBarLayout().
|
inline |
Definition at line 543 of file qstylesheetstyle.cpp.
Definition at line 546 of file qstylesheetstyle.cpp.
void QRenderRule::drawBackground | ( | QPainter * | p, |
const QRect & | rect, | ||
const QPoint & | off = QPoint(0, 0) |
||
) |
Definition at line 1297 of file qstylesheetstyle.cpp.
Referenced by drawFrame(), and QStyleSheetStyle::drawPrimitive().
void QRenderRule::drawBackgroundImage | ( | QPainter * | p, |
const QRect & | rect, | ||
QPoint | off = QPoint(0, 0) |
||
) |
Definition at line 1157 of file qstylesheetstyle.cpp.
Referenced by drawBackground().
Definition at line 1221 of file qstylesheetstyle.cpp.
Referenced by drawFrame().
Definition at line 1119 of file qstylesheetstyle.cpp.
Referenced by drawBorder().
Definition at line 1321 of file qstylesheetstyle.cpp.
Referenced by drawRule().
Definition at line 1328 of file qstylesheetstyle.cpp.
Referenced by drawRule().
Definition at line 1210 of file qstylesheetstyle.cpp.
Definition at line 1335 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), and QStyleSheetStyle::drawPrimitive().
void QRenderRule::fixupBorder | ( | int | nativeWidth | ) |
Definition at line 1076 of file qstylesheetstyle.cpp.
Referenced by QRenderRule().
|
inline |
Definition at line 502 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::setGeometry().
|
inline |
Definition at line 506 of file qstylesheetstyle.cpp.
Referenced by configurePalette(), drawBackground(), drawBackgroundImage(), QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), QStyleSheetStyle::drawPrimitive(), and QStyleSheetStyle::polish().
|
inline |
Definition at line 531 of file qstylesheetstyle.cpp.
Referenced by borderClip(), boxRect(), configurePalette(), drawBorder(), QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), drawFrame(), QStyleSheetStyle::hitTestComplexControl(), paddingRect(), QStyleSheetStyle::pixelMetric(), QStyleSheetStyle::polish(), QRenderRule(), QStyleSheetStyle::sizeFromContents(), QStyleSheetStyle::styleHint(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::subElementRect().
|
inline |
Definition at line 530 of file qstylesheetstyle.cpp.
Referenced by borderRect(), boxRect(), contentsRect(), QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), QStyleSheetStyle::hitTestComplexControl(), QStyleSheetStyle::pixelMetric(), QStyleSheetStyle::polish(), QStyleSheetStyle::sizeFromContents(), QStyleSheetStyle::styleHint(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::subElementRect().
|
inline |
Definition at line 553 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawControl(), QStyleSheetStyle::pixelMetric(), QStyleSheetStyle::positionRect(), QStyleSheetStyle::sizeFromContents(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::subElementRect().
|
inline |
Definition at line 535 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), QStyleSheetStyle::drawPrimitive(), QStyleSheetStyle::hitTestComplexControl(), QStyleSheetStyle::pixelMetric(), QStyleSheetStyle::polish(), QStyleSheetStyle::styleHint(), and QStyleSheetStyle::subControlRect().
|
inline |
Definition at line 534 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), QStyleSheetStyle::setGeometry(), QStyleSheetStyle::sizeFromContents(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::subElementRect().
|
inline |
Definition at line 507 of file qstylesheetstyle.cpp.
|
inline |
|
inline |
Definition at line 510 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawControl(), QStyleSheetStyle::drawPrimitive(), QStyleSheetStyle::pixelMetric(), QStyleSheetStyle::polish(), QStyleSheetStyle::sizeFromContents(), QStyleSheetStyle::styleHint(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::subElementRect().
|
inline |
Definition at line 515 of file qstylesheetstyle.cpp.
|
inline |
Definition at line 532 of file qstylesheetstyle.cpp.
Referenced by drawOutline(), and outlineRect().
|
inline |
Definition at line 505 of file qstylesheetstyle.cpp.
Referenced by configurePalette(), QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), QStyleSheetStyle::styleHint(), and QStyleSheetStyle::styleSheetPalette().
|
inline |
Definition at line 533 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawComplexControl(), QStyleSheetStyle::drawControl(), QStyleSheetStyle::styleHint(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::subElementRect().
|
inline |
Definition at line 577 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::pixelMetric(), QStyleSheetStyle::standardIconImplementation(), QStyleSheetStyle::standardPixmap(), and QStyleSheetStyle::styleHint().
|
inline |
Definition at line 538 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::pixelMetric(), and QStyleSheetStyle::positionRect().
|
inline |
Definition at line 540 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::pixelMetric().
Definition at line 1142 of file qstylesheetstyle.cpp.
Referenced by drawBackground(), drawBackgroundImage(), QStyleSheetStyle::positionRect(), and QStyleSheetStyle::subControlRect().
|
inline |
Definition at line 1021 of file qstylesheetstyle.cpp.
Definition at line 1030 of file qstylesheetstyle.cpp.
Referenced by contentsRect(), and originRect().
|
inline |
Definition at line 497 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawComplexControl(), QRenderRule(), and QStyleSheetStyle::styleHint().
|
inline |
Definition at line 503 of file qstylesheetstyle.cpp.
Referenced by drawBackgroundImage(), QStyleSheetStyle::drawControl(), QStyleSheetStyle::positionRect(), QRenderRule(), QStyleSheetStyle::styleHint(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::subElementRect().
Definition at line 1278 of file qstylesheetstyle.cpp.
Referenced by drawBackgroundImage(), and drawBorderImage().
|
inline |
Definition at line 556 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawControl(), QStyleSheetStyle::pixelMetric(), QStyleSheetStyle::positionRect(), QRenderRule(), QStyleSheetStyle::sizeFromContents(), QStyleSheetStyle::subControlRect(), QStyleSheetStyle::subElementRect(), and QStyleSheetStyle::titleBarLayout().
Definition at line 557 of file qstylesheetstyle.cpp.
Definition at line 578 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::pixelMetric(), QRenderRule(), QStyleSheetStyle::sizeFromContents(), QStyleSheetStyle::standardIconImplementation(), QStyleSheetStyle::standardPixmap(), QStyleSheetStyle::styleHint(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::titleBarLayout().
void QRenderRule::unsetClip | ( | QPainter * | p | ) |
Definition at line 1289 of file qstylesheetstyle.cpp.
Referenced by drawBackgroundImage(), and drawBorderImage().
QSharedDataPointer<QStyleSheetBoxData> QRenderRule::b |
Definition at line 583 of file qstylesheetstyle.cpp.
Referenced by boxRect(), outlineRect(), paddingRect(), and QRenderRule().
QSharedDataPointer<QStyleSheetBorderData> QRenderRule::bd |
Definition at line 585 of file qstylesheetstyle.cpp.
Referenced by borderClip(), drawBorder(), fixupBorder(), and QRenderRule().
QSharedDataPointer<QStyleSheetBackgroundData> QRenderRule::bg |
Definition at line 584 of file qstylesheetstyle.cpp.
Referenced by configurePalette(), QStyleSheetStyle::drawControl(), and QRenderRule().
QPainterPath QRenderRule::clipPath |
Definition at line 595 of file qstylesheetstyle.cpp.
Referenced by setClip(), and unsetClip().
int QRenderRule::clipset |
Definition at line 594 of file qstylesheetstyle.cpp.
Referenced by setClip(), and unsetClip().
QBrush QRenderRule::defaultBackground |
Definition at line 572 of file qstylesheetstyle.cpp.
Referenced by drawBackground(), and QRenderRule().
int QRenderRule::features |
Definition at line 571 of file qstylesheetstyle.cpp.
Referenced by QRenderRule().
QFont QRenderRule::font |
Definition at line 573 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawControl(), QRenderRule(), and QStyleSheetStyle::updateStyleSheetFont().
QSharedDataPointer<QStyleSheetGeometryData> QRenderRule::geo |
Definition at line 587 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawControl(), QRenderRule(), QStyleSheetStyle::setGeometry(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::titleBarLayout().
bool QRenderRule::hasFont |
Definition at line 574 of file qstylesheetstyle.cpp.
Referenced by QStyleSheetStyle::drawControl(), and QRenderRule().
QSharedDataPointer<QStyleSheetImageData> QRenderRule::img |
Definition at line 589 of file qstylesheetstyle.cpp.
Referenced by drawImage(), QRenderRule(), and QStyleSheetStyle::subControlRect().
QSharedDataPointer<QStyleSheetOutlineData> QRenderRule::ou |
Definition at line 586 of file qstylesheetstyle.cpp.
Referenced by drawOutline(), and QRenderRule().
QSharedDataPointer<QStyleSheetPositionData> QRenderRule::p |
Definition at line 588 of file qstylesheetstyle.cpp.
Referenced by boxRect(), contentsRect(), parentWidget(), QStyleSheetStyle::positionRect(), QRenderRule(), QStyleSheetStyle::setPalette(), QStyleSheetStyle::subControlRect(), and QStyleSheetStyle::unsetPalette().
QSharedDataPointer<QStyleSheetPaletteData> QRenderRule::pal |
Definition at line 582 of file qstylesheetstyle.cpp.
Referenced by configurePalette(), fixupBorder(), and QRenderRule().
Definition at line 576 of file qstylesheetstyle.cpp.
Referenced by QRenderRule().