java.lang.Object
io.qt.QtObject
io.qt.widgets.QSizePolicy
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Layout attribute describing horizontal and vertical resizing policy
Java wrapper for Qt class QSizePolicy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSizePolicy::ControlType
static final class
QFlags
type for enumQSizePolicy.ControlType
static enum
Java wrapper for Qt enumQSizePolicy::Policy
static enum
Java wrapper for Qt enumQSizePolicy::PolicyFlag
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQSizePolicy
(QSizePolicy other) SeeQSizePolicy::
QSizePolicy(QSizePolicy) QSizePolicy
(QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical) Overloaded constructor forQSizePolicy(io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.ControlType)
withtype = io.qt.widgets.QSizePolicy.ControlType.DefaultType
.QSizePolicy
(QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical, QSizePolicy.ControlType type) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QSizePolicy.ControlType
final boolean
boolean
final Qt.Orientations
int
hashCode()
Returns the objects's hash code computed byqHash(QSizePolicy)
.final boolean
final boolean
final QSizePolicy.Policy
final int
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QSizePolicy&) final boolean
final void
final void
setHeightForWidth
(boolean b) final void
final void
setHorizontalStretch
(int stretchFactor) final void
setRetainSizeWhenHidden
(boolean retainSize) final void
final void
setVerticalStretch
(int stretchFactor) final void
setWidthForHeight
(boolean b) toString()
Seeoperator<<(QDebug,
QSizePolicy) final void
final QSizePolicy
final QSizePolicy.Policy
final int
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QSizePolicy) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QSizePolicy
public QSizePolicy() -
QSizePolicy
See
QSizePolicy::
QSizePolicy(QSizePolicy) - Parameters:
other
-
-
QSizePolicy
public QSizePolicy(QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical, QSizePolicy.ControlType type) - Parameters:
horizontal
-vertical
-type
-- Since:
- This function was introduced in Qt 4.3.
-
QSizePolicy
Overloaded constructor for
QSizePolicy(io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.ControlType)
withtype = io.qt.widgets.QSizePolicy.ControlType.DefaultType
.
-
-
Method Details
-
controlType
- Returns:
- Since:
- This function was introduced in Qt 4.3.
-
expandingDirections
- Returns:
-
hasHeightForWidth
- Returns:
-
hasWidthForHeight
- Returns:
-
horizontalPolicy
- Returns:
-
horizontalStretch
- Returns:
-
writeTo
See
operator<<(QDataStream&,
QSizePolicy) - Parameters:
arg__1
-
-
equals
- Parameters:
s
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QSizePolicy&) - Parameters:
arg__1
-
-
retainSizeWhenHidden
- Returns:
- Since:
- This function was introduced in Qt 5.2.
-
setControlType
- Parameters:
type
-- Since:
- This function was introduced in Qt 4.3.
-
setHeightForWidth
- Parameters:
b
-
-
setHorizontalPolicy
- Parameters:
d
-
-
setHorizontalStretch
- Parameters:
stretchFactor
-
-
setRetainSizeWhenHidden
- Parameters:
retainSize
-- Since:
- This function was introduced in Qt 5.2.
-
setVerticalPolicy
- Parameters:
d
-
-
setVerticalStretch
- Parameters:
stretchFactor
-
-
setWidthForHeight
- Parameters:
b
-
-
transpose
-
transposed
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
verticalPolicy
- Returns:
-
verticalStretch
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QSizePolicy)
. -
toString
See
operator<<(QDebug,
QSizePolicy) -
clone
Creates and returns a copy of this object.
See
QSizePolicy::
QSizePolicy(QSizePolicy)
-