Searched refs:styleOption (Results 1 – 2 of 2) sorted by relevance
83 QStyleOptionFrameV3 styleOption; in updateInternalGeometry() local84 initStyleOption(&styleOption); in updateInternalGeometry()86 QRect textRect = style()->subElementRect(QStyle::SE_LineEditContents, &styleOption, this); in updateInternalGeometry()
478 QStyleOption styleOption; in computeSizeBasedOnStyle() local479 styleOption.state |= QStyle::State_Small; in computeSizeBasedOnStyle()480 int checkBoxWidth = style->pixelMetric(QStyle::PM_IndicatorWidth, &styleOption); in computeSizeBasedOnStyle()486 QStyleOption styleOption; in computeSizeBasedOnStyle() local487 styleOption.state |= QStyle::State_Small; in computeSizeBasedOnStyle()488 int radioWidth = style->pixelMetric(QStyle::PM_ExclusiveIndicatorWidth, &styleOption); in computeSizeBasedOnStyle()496 QStyleOptionButton styleOption; in computeSizeBasedOnStyle() local497 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 …]