Definition at line 13 of file QskSizePolicy.h.
|
enum | Flag {
GrowFlag = 1 << 0
, ExpandFlag = 1 << 1
, ShrinkFlag = 1 << 2
, IgnoreFlag = 1 << 3
,
ConstrainedFlag = 1 << 4
} |
|
enum | Policy {
Fixed = 0
, Minimum = GrowFlag
, Maximum = ShrinkFlag
, Preferred = GrowFlag | ShrinkFlag
,
MinimumExpanding = GrowFlag | ExpandFlag
, Expanding = GrowFlag | ShrinkFlag | ExpandFlag
, Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
, Constrained = ConstrainedFlag
,
ConstrainedMinimum = ConstrainedFlag | Minimum
, ConstrainedMaximum = ConstrainedFlag | Maximum
, ConstrainedPreferred = ConstrainedFlag | Preferred
, ConstrainedMinimumExpanding = ConstrainedFlag | MinimumExpanding
,
ConstrainedExpanding = ConstrainedFlag | Expanding
} |
|
enum | ConstraintType { Unconstrained = 0
, WidthForHeight = 1 << 0
, HeightForWidth = 1 << 1
} |
|
◆ ConstraintType
enum QskSizePolicy::ConstraintType |
◆ Flag
◆ Policy
enum QskSizePolicy::Policy |
◆ QskSizePolicy()
constexpr QskSizePolicy::QskSizePolicy |
( |
Policy |
horizontalPolicy, |
|
|
Policy |
verticalPolicy |
|
) |
| |
|
inlineconstexprnoexcept |
◆ constraintType()
QskSizePolicy::ConstraintType QskSizePolicy::constraintType |
( |
| ) |
const |
|
noexcept |
◆ effectiveSizeHintType()
Qt::SizeHint QskSizePolicy::effectiveSizeHintType |
( |
Qt::SizeHint |
which, |
|
|
Qt::Orientation |
orientation |
|
) |
| const |
|
noexcept |
◆ horizontalPolicy()
constexpr QskSizePolicy::Policy QskSizePolicy::horizontalPolicy |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ isConstrained()
constexpr bool QskSizePolicy::isConstrained |
( |
Qt::Orientation |
orientation | ) |
const |
|
inlineconstexprnoexcept |
◆ operator!=()
constexpr bool QskSizePolicy::operator!= |
( |
const QskSizePolicy & |
other | ) |
const |
|
inlineconstexprnoexcept |
◆ operator==()
constexpr bool QskSizePolicy::operator== |
( |
const QskSizePolicy & |
other | ) |
const |
|
inlineconstexprnoexcept |
◆ policy()
constexpr QskSizePolicy::Policy QskSizePolicy::policy |
( |
Qt::Orientation |
orientation | ) |
const |
|
inlineconstexprnoexcept |
◆ setHorizontalPolicy()
void QskSizePolicy::setHorizontalPolicy |
( |
Policy |
policy | ) |
|
|
inlinenoexcept |
◆ setPolicy()
void QskSizePolicy::setPolicy |
( |
Qt::Orientation |
orientation, |
|
|
Policy |
policy |
|
) |
| |
|
inlinenoexcept |
◆ setVerticalPolicy()
void QskSizePolicy::setVerticalPolicy |
( |
Policy |
policy | ) |
|
|
inlinenoexcept |
◆ transpose()
void QskSizePolicy::transpose |
( |
| ) |
|
|
noexcept |
◆ transposed()
◆ verticalPolicy()
constexpr QskSizePolicy::Policy QskSizePolicy::verticalPolicy |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ horizontal
Policy QskSizePolicy::horizontal |
|
readwrite |
◆ vertical
Policy QskSizePolicy::vertical |
|
readwrite |