java.lang.Object
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
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQGraphicsAnchorLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
. -
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, 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
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.widgets.QGraphicsLayoutItem
contentsMargins
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QGraphicsAnchorLayout
-
QGraphicsAnchorLayout
public QGraphicsAnchorLayout()Overloaded constructor for
QGraphicsAnchorLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.
-
-
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.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
-
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.Orientation ... orientations)
-