Home
last modified time | relevance | path

Searched refs:styleOption (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Tools/QtTestBrowser/
Dlocationedit.cpp83 QStyleOptionFrameV3 styleOption; in updateInternalGeometry() local
84 initStyleOption(&styleOption); in updateInternalGeometry()
86 QRect textRect = style()->subElementRect(QStyle::SE_LineEditContents, &styleOption, this); in updateInternalGeometry()
/external/webkit/Source/WebCore/platform/qt/
DRenderThemeQt.cpp478 QStyleOption styleOption; in computeSizeBasedOnStyle() local
479 styleOption.state |= QStyle::State_Small; in computeSizeBasedOnStyle()
480 int checkBoxWidth = style->pixelMetric(QStyle::PM_IndicatorWidth, &styleOption); in computeSizeBasedOnStyle()
486 QStyleOption styleOption; in computeSizeBasedOnStyle() local
487 styleOption.state |= QStyle::State_Small; in computeSizeBasedOnStyle()
488 int radioWidth = style->pixelMetric(QStyle::PM_ExclusiveIndicatorWidth, &styleOption); in computeSizeBasedOnStyle()
496 QStyleOptionButton styleOption; in computeSizeBasedOnStyle() local
497 styleOption.state |= QStyle::State_Small; in computeSizeBasedOnStyle()
500 &styleOption, contentSize, 0); in computeSizeBasedOnStyle()
501 styleOption.rect = QRect(0, 0, pushButtonSize.width(), pushButtonSize.height()); in computeSizeBasedOnStyle()
[all …]