java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QGraphicsLayout
- All Implemented Interfaces:
QtObjectInterface
,QGraphicsLayoutItem
- Direct Known Subclasses:
QGraphicsAnchorLayout
,QGraphicsGridLayout
,QGraphicsLinearLayout
public abstract class QGraphicsLayout extends QtObject implements QGraphicsLayoutItem
The base class for all layouts in Graphics View
Java wrapper for Qt class QGraphicsLayout
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.widgets.QGraphicsLayoutItem
QGraphicsLayoutItem.Impl, QGraphicsLayoutItem.MemberAccess
-
Constructor Summary
Constructors Modifier Constructor Description QGraphicsLayout()
Overloaded constructor forQGraphicsLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.protected
QGraphicsLayout(QtObject.QPrivateConstructor p)
Constructor for internal use only.QGraphicsLayout(QGraphicsLayoutItem parent)
-
Method Summary
-
Constructor Details
-
QGraphicsLayout
public QGraphicsLayout()Overloaded constructor for
QGraphicsLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
. -
QGraphicsLayout
-
QGraphicsLayout
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
activate
-
addChildLayoutItem
-
contentsRect
- Specified by:
contentsRect
in interfaceQGraphicsLayoutItem
-
effectiveSizeHint
Overloaded function for
effectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
withconstraint = new io.qt.core.QSizeF()
.- Specified by:
effectiveSizeHint
in interfaceQGraphicsLayoutItem
-
effectiveSizeHint
- Specified by:
effectiveSizeHint
in interfaceQGraphicsLayoutItem
-
geometry
- Specified by:
geometry
in interfaceQGraphicsLayoutItem
-
graphicsItem
- Specified by:
graphicsItem
in interfaceQGraphicsLayoutItem
-
isActivated
-
isLayout
- Specified by:
isLayout
in interfaceQGraphicsLayoutItem
-
maximumHeight
- Specified by:
maximumHeight
in interfaceQGraphicsLayoutItem
-
maximumSize
- Specified by:
maximumSize
in interfaceQGraphicsLayoutItem
-
maximumWidth
- Specified by:
maximumWidth
in interfaceQGraphicsLayoutItem
-
minimumHeight
- Specified by:
minimumHeight
in interfaceQGraphicsLayoutItem
-
minimumSize
- Specified by:
minimumSize
in interfaceQGraphicsLayoutItem
-
minimumWidth
- Specified by:
minimumWidth
in interfaceQGraphicsLayoutItem
-
ownedByLayout
- Specified by:
ownedByLayout
in interfaceQGraphicsLayoutItem
-
parentLayoutItem
- Specified by:
parentLayoutItem
in interfaceQGraphicsLayoutItem
-
preferredHeight
- Specified by:
preferredHeight
in interfaceQGraphicsLayoutItem
-
preferredSize
- Specified by:
preferredSize
in interfaceQGraphicsLayoutItem
-
preferredWidth
- Specified by:
preferredWidth
in interfaceQGraphicsLayoutItem
-
setContentsMargins
@QtUninvokable public final void setContentsMargins(double left, double top, double right, double bottom) -
setGraphicsItem
-
setMaximumHeight
- Specified by:
setMaximumHeight
in interfaceQGraphicsLayoutItem
-
setMaximumSize
- Specified by:
setMaximumSize
in interfaceQGraphicsLayoutItem
-
setMaximumSize
- Specified by:
setMaximumSize
in interfaceQGraphicsLayoutItem
-
setMaximumWidth
- Specified by:
setMaximumWidth
in interfaceQGraphicsLayoutItem
-
setMinimumHeight
- Specified by:
setMinimumHeight
in interfaceQGraphicsLayoutItem
-
setMinimumSize
- Specified by:
setMinimumSize
in interfaceQGraphicsLayoutItem
-
setMinimumSize
- Specified by:
setMinimumSize
in interfaceQGraphicsLayoutItem
-
setMinimumWidth
- Specified by:
setMinimumWidth
in interfaceQGraphicsLayoutItem
-
setOwnedByLayout
-
setParentLayoutItem
- Specified by:
setParentLayoutItem
in interfaceQGraphicsLayoutItem
-
setPreferredHeight
- Specified by:
setPreferredHeight
in interfaceQGraphicsLayoutItem
-
setPreferredSize
- Specified by:
setPreferredSize
in interfaceQGraphicsLayoutItem
-
setPreferredSize
- Specified by:
setPreferredSize
in interfaceQGraphicsLayoutItem
-
setPreferredWidth
- Specified by:
setPreferredWidth
in interfaceQGraphicsLayoutItem
-
setSizePolicy
@QtUninvokable public final void setSizePolicy(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy)Overloaded function for
setSizePolicy(io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.ControlType)
withcontrolType = io.qt.widgets.QSizePolicy.ControlType.DefaultType
.- Specified by:
setSizePolicy
in interfaceQGraphicsLayoutItem
-
setSizePolicy
@QtUninvokable public final void setSizePolicy(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType)- Specified by:
setSizePolicy
in interfaceQGraphicsLayoutItem
-
setSizePolicy
- Specified by:
setSizePolicy
in interfaceQGraphicsLayoutItem
-
sizePolicy
- Specified by:
sizePolicy
in interfaceQGraphicsLayoutItem
-
count
-
getContentsMargins
- Specified by:
getContentsMargins
in interfaceQGraphicsLayoutItem
-
invalidate
-
itemAt
-
removeAt
-
setGeometry
- Specified by:
setGeometry
in interfaceQGraphicsLayoutItem
-
sizeHint
Overloaded function for
sizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
withconstraint = new io.qt.core.QSizeF()
. -
sizeHint
-
updateGeometry
- Specified by:
updateGeometry
in interfaceQGraphicsLayoutItem
-
widgetEvent
-
instantInvalidatePropagation
public static boolean instantInvalidatePropagation() -
setInstantInvalidatePropagation
public static void setInstantInvalidatePropagation(boolean enable) -
contentsMargins
- Specified by:
contentsMargins
in interfaceQGraphicsLayoutItem
-