java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QGraphicsLayout
io.qt.widgets.QGraphicsAnchorLayout
- All Implemented Interfaces:
QtObjectInterface
,QGraphicsLayoutItem
Layout where one can anchor widgets together in Graphics View
Java wrapper for Qt class QGraphicsAnchorLayout
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
Nested classes/interfaces inherited from interface io.qt.widgets.QGraphicsLayoutItem
QGraphicsLayoutItem.Impl, QGraphicsLayoutItem.MemberAccess
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQGraphicsAnchorLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QGraphicsAnchor
addAnchor
(QGraphicsLayoutItem firstItem, Qt.AnchorPoint firstEdge, QGraphicsLayoutItem secondItem, Qt.AnchorPoint secondEdge) final void
addAnchors
(QGraphicsLayoutItem firstItem, QGraphicsLayoutItem secondItem) Overloaded function foraddAnchors(io.qt.widgets.QGraphicsLayoutItem, io.qt.widgets.QGraphicsLayoutItem, io.qt.core.Qt.Orientations)
withorientations = new io.qt.core.Qt.Orientations(3)
.final void
addAnchors
(QGraphicsLayoutItem firstItem, QGraphicsLayoutItem secondItem, Qt.Orientation... orientations) final void
addAnchors
(QGraphicsLayoutItem firstItem, QGraphicsLayoutItem secondItem, Qt.Orientations orientations) final void
addCornerAnchors
(QGraphicsLayoutItem firstItem, Qt.Corner firstCorner, QGraphicsLayoutItem secondItem, Qt.Corner secondCorner) final QGraphicsAnchor
anchor
(QGraphicsLayoutItem firstItem, Qt.AnchorPoint firstEdge, QGraphicsLayoutItem secondItem, Qt.AnchorPoint secondEdge) int
count()
final double
void
itemAt
(int index) void
removeAt
(int index) void
setGeometry
(QRectF rect) final void
setHorizontalSpacing
(double spacing) final void
setSpacing
(double spacing) final void
setVerticalSpacing
(double spacing) protected QSizeF
sizeHint
(Qt.SizeHint which, QSizeF constraint) final double
Methods inherited from class io.qt.widgets.QGraphicsLayout
activate, addChildLayoutItem, contentsMargins, contentsRect, effectiveSizeHint, effectiveSizeHint, geometry, getContentsMargins, graphicsItem, instantInvalidatePropagation, isActivated, 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
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
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
-