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) 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) 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) -
QSizePolicy
public QSizePolicy(QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical, QSizePolicy.ControlType type) -
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
-
expandingDirections
-
hasHeightForWidth
-
hasWidthForHeight
-
horizontalPolicy
-
horizontalStretch
-
writeTo
-
equals
-
readFrom
-
retainSizeWhenHidden
-
setControlType
-
setHeightForWidth
-
setHorizontalPolicy
-
setHorizontalStretch
-
setRetainSizeWhenHidden
-
setVerticalPolicy
-
setVerticalStretch
-
setWidthForHeight
-
transpose
-
transposed
-
verticalPolicy
-
verticalStretch
-
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)
-