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's class QSizePolicy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QSizePolicy::ControlTypestatic final class
QFlags type for enumQSizePolicy.ControlType
static enum
Java wrapper for Qt enum QSizePolicy::Policystatic enum
Java wrapper for Qt enum QSizePolicy::PolicyFlagNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQSizePolicy
(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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QSizePolicy.ControlType
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final Qt.Orientations
int
hashCode()
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()
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
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
. -
QSizePolicy
public QSizePolicy(QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical, QSizePolicy.ControlType type) -
QSizePolicy
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
controlType
-
expandingDirections
-
hasHeightForWidth
-
hasWidthForHeight
-
horizontalPolicy
-
horizontalStretch
-
writeTo
-
readFrom
-
retainSizeWhenHidden
-
setControlType
-
setHeightForWidth
-
setHorizontalPolicy
-
setHorizontalStretch
-
setRetainSizeWhenHidden
-
setVerticalPolicy
-
setVerticalStretch
-
setWidthForHeight
-
transpose
-
transposed
-
verticalPolicy
-
verticalStretch
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-