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's class QGraphicsLinearLayout
-
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 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) protected
Constructor for internal use only. -
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) 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, 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
-
QGraphicsLinearLayout
public QGraphicsLinearLayout()Overloaded constructor for
QGraphicsLinearLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
. -
QGraphicsLinearLayout
-
QGraphicsLinearLayout
Overloaded constructor for
QGraphicsLinearLayout(io.qt.core.Qt.Orientation, io.qt.widgets.QGraphicsLayoutItem)
withparent = null
. -
QGraphicsLinearLayout
-
QGraphicsLinearLayout
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addItem
-
addStretch
Overloaded function for
addStretch(int)
withstretch = 1
. -
addStretch
-
alignment
-
dump
Overloaded function for
dump(int)
withindent = 0
. -
dump
-
insertItem
-
insertStretch
Overloaded function for
insertStretch(int, int)
withstretch = 1
. -
insertStretch
-
itemSpacing
-
orientation
-
removeItem
-
setAlignment
@QtUninvokable public final void setAlignment(QGraphicsLayoutItem item, Qt.AlignmentFlag... alignment) Overloaded function for
setAlignment(io.qt.widgets.QGraphicsLayoutItem, io.qt.core.Qt.Alignment)
. -
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
-