java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QGraphicsLayout
io.qt.widgets.QGraphicsAnchorLayout
- All Implemented Interfaces:
QtObjectInterface
,QGraphicsLayoutItem
public class QGraphicsAnchorLayout extends QGraphicsLayout
Layout where one can anchor widgets together in Graphics View
Java wrapper for Qt class QGraphicsAnchorLayout
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.widgets.QGraphicsLayoutItem
QGraphicsLayoutItem.Impl, QGraphicsLayoutItem.MemberAccess
-
Constructor Summary
Constructors Modifier Constructor Description QGraphicsAnchorLayout()
Overloaded constructor forQGraphicsAnchorLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.protected
QGraphicsAnchorLayout(QtObject.QPrivateConstructor p)
Constructor for internal use only.QGraphicsAnchorLayout(QGraphicsLayoutItem parent)
-
Method Summary
Methods inherited from class io.qt.widgets.QGraphicsLayout
activate, addChildLayoutItem, contentsMargins, contentsRect, effectiveSizeHint, effectiveSizeHint, geometry, getContentsMargins, graphicsItem, instantInvalidatePropagation, isActivated, isEmpty, isLayout, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, ownedByLayout, parentLayoutItem, preferredHeight, preferredSize, preferredWidth, setContentsMargins, setGraphicsItem, setInstantInvalidatePropagation, setMaximumHeight, setMaximumSize, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumSize, setMinimumWidth, setOwnedByLayout, setParentLayoutItem, setPreferredHeight, setPreferredSize, setPreferredSize, setPreferredWidth, setSizePolicy, setSizePolicy, setSizePolicy, sizeHint, sizePolicy, updateGeometry, widgetEvent
-
Constructor Details
-
QGraphicsAnchorLayout
public QGraphicsAnchorLayout()Overloaded constructor for
QGraphicsAnchorLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
. -
QGraphicsAnchorLayout
-
QGraphicsAnchorLayout
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addAnchor
@QtUninvokable public final QGraphicsAnchor addAnchor(QGraphicsLayoutItem firstItem, Qt.AnchorPoint firstEdge, QGraphicsLayoutItem secondItem, Qt.AnchorPoint secondEdge) -
addAnchors
@QtUninvokable public final void addAnchors(QGraphicsLayoutItem firstItem, QGraphicsLayoutItem secondItem, Qt.Orientation... orientations) -
addAnchors
@QtUninvokable public final void addAnchors(QGraphicsLayoutItem firstItem, QGraphicsLayoutItem secondItem)Overloaded function for
addAnchors(io.qt.widgets.QGraphicsLayoutItem, io.qt.widgets.QGraphicsLayoutItem, io.qt.core.Qt.Orientations)
withorientations = new io.qt.core.Qt.Orientations(3)
. -
addAnchors
@QtUninvokable public final void addAnchors(QGraphicsLayoutItem firstItem, QGraphicsLayoutItem secondItem, Qt.Orientations orientations) -
addCornerAnchors
@QtUninvokable public final void addCornerAnchors(QGraphicsLayoutItem firstItem, Qt.Corner firstCorner, QGraphicsLayoutItem secondItem, Qt.Corner secondCorner) -
anchor
@QtUninvokable public final QGraphicsAnchor anchor(QGraphicsLayoutItem firstItem, Qt.AnchorPoint firstEdge, QGraphicsLayoutItem secondItem, Qt.AnchorPoint secondEdge) -
horizontalSpacing
-
setHorizontalSpacing
-
setSpacing
-
setVerticalSpacing
-
verticalSpacing
-
count
- Specified by:
count
in classQGraphicsLayout
-
invalidate
- Overrides:
invalidate
in classQGraphicsLayout
-
itemAt
- Specified by:
itemAt
in classQGraphicsLayout
-
removeAt
- Specified by:
removeAt
in classQGraphicsLayout
-
setGeometry
- Specified by:
setGeometry
in interfaceQGraphicsLayoutItem
- Overrides:
setGeometry
in classQGraphicsLayout
-
sizeHint
- Specified by:
sizeHint
in classQGraphicsLayout
-