java.lang.Object
io.qt.QtObject
io.qt.widgets.QGraphicsLayout
io.qt.widgets.QGraphicsLinearLayout
- All Implemented Interfaces:
QtObjectInterface
,QGraphicsLayoutItem
Horizontal or vertical layout for managing widgets in Graphics View
Java wrapper for Qt class QGraphicsLinearLayout
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQGraphicsLinearLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.QGraphicsLinearLayout
(Qt.Orientation orientation) Overloaded constructor forQGraphicsLinearLayout(io.qt.core.Qt.Orientation, io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.QGraphicsLinearLayout
(Qt.Orientation orientation, QGraphicsLayoutItem parent) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addItem
(QGraphicsLayoutItem item) final void
Overloaded function foraddStretch(int)
withstretch = 1
.final void
addStretch
(int stretch) final Qt.Alignment
alignment
(QGraphicsLayoutItem item) int
count()
final void
dump()
Overloaded function fordump(int)
withindent = 0
.final void
dump
(int indent) SeeQGraphicsLinearLayout::
dump(int)const final void
insertItem
(int index, QGraphicsLayoutItem item) final void
insertStretch
(int index) Overloaded function forinsertStretch(int, int)
withstretch = 1
.final void
insertStretch
(int index, int stretch) void
itemAt
(int index) final double
itemSpacing
(int index) final Qt.Orientation
void
removeAt
(int index) final void
final void
setAlignment
(QGraphicsLayoutItem item, Qt.Alignment alignment) final void
setAlignment
(QGraphicsLayoutItem item, Qt.AlignmentFlag ... alignment) Overloaded function forsetAlignment(io.qt.widgets.QGraphicsLayoutItem, io.qt.core.Qt.Alignment)
.void
setGeometry
(QRectF rect) final void
setItemSpacing
(int index, double spacing) final void
setOrientation
(Qt.Orientation orientation) final void
setSpacing
(double spacing) final void
setStretchFactor
(QGraphicsLayoutItem item, int stretch) protected QSizeF
sizeHint
(Qt.SizeHint which, QSizeF constraint) final double
spacing()
final int
Methods inherited from class io.qt.widgets.QGraphicsLayout
activate, addChildLayoutItem, contentsRect, effectiveSizeHint, effectiveSizeHint, effectiveSizeHint, geometry, getContentsMargins, graphicsItem, instantInvalidatePropagation, isActivated, isLayout, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, ownedByLayout, parentLayoutItem, preferredHeight, preferredSize, preferredWidth, setContentsMargins, setGeometry, setGraphicsItem, setInstantInvalidatePropagation, setMaximumHeight, setMaximumSize, setMaximumSize, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumSize, setMinimumSize, setMinimumWidth, setOwnedByLayout, setParentLayoutItem, setPreferredHeight, setPreferredSize, setPreferredSize, setPreferredSize, setPreferredWidth, setSizePolicy, setSizePolicy, setSizePolicy, sizeHint, 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
-
QGraphicsLinearLayout
-
QGraphicsLinearLayout
-
QGraphicsLinearLayout
public QGraphicsLinearLayout()Overloaded constructor for
QGraphicsLinearLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
. -
QGraphicsLinearLayout
Overloaded constructor for
QGraphicsLinearLayout(io.qt.core.Qt.Orientation, io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.
-
-
Method Details
-
addItem
-
addStretch
-
alignment
-
dump
See
QGraphicsLinearLayout::
dump(int)const -
insertItem
-
insertStretch
-
itemSpacing
-
orientation
-
removeItem
-
setAlignment
-
setItemSpacing
-
setOrientation
-
setSpacing
-
setStretchFactor
-
spacing
-
stretchFactor
-
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
-
addStretch
Overloaded function for
addStretch(int)
withstretch = 1
. -
dump
Overloaded function for
dump(int)
withindent = 0
. -
insertStretch
Overloaded function for
insertStretch(int, int)
withstretch = 1
. -
setAlignment
@QtUninvokable public final void setAlignment(QGraphicsLayoutItem item, Qt.AlignmentFlag ... alignment) Overloaded function for
setAlignment(io.qt.widgets.QGraphicsLayoutItem, io.qt.core.Qt.Alignment)
.
-