- All Implemented Interfaces:
QtObjectInterface
,QGraphicsLayoutItem
Grid layout for managing widgets in Graphics View
Java wrapper for Qt's class QGraphicsGridLayout
-
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 forQGraphicsGridLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addItem
(QGraphicsLayoutItem item, int row, int column) Overloaded function foraddItem(io.qt.widgets.QGraphicsLayoutItem, int, int, io.qt.core.Qt.Alignment)
withalignment = new io.qt.core.Qt.Alignment(0)
.final void
addItem
(QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan) Overloaded function foraddItem(io.qt.widgets.QGraphicsLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)
withalignment = new io.qt.core.Qt.Alignment(0)
.final void
addItem
(QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan, Qt.Alignment alignment) final void
addItem
(QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan, Qt.AlignmentFlag... alignment) Overloaded function foraddItem(io.qt.widgets.QGraphicsLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)
.final void
addItem
(QGraphicsLayoutItem item, int row, int column, Qt.Alignment alignment) final void
addItem
(QGraphicsLayoutItem item, int row, int column, Qt.AlignmentFlag... alignment) Overloaded function foraddItem(io.qt.widgets.QGraphicsLayoutItem, int, int, io.qt.core.Qt.Alignment)
.final Qt.Alignment
alignment
(QGraphicsLayoutItem item) final Qt.Alignment
columnAlignment
(int column) final int
final double
columnMaximumWidth
(int column) final double
columnMinimumWidth
(int column) final double
columnPreferredWidth
(int column) final double
columnSpacing
(int column) final int
columnStretchFactor
(int column) int
count()
final double
void
itemAt
(int index) final QGraphicsLayoutItem
itemAt
(int row, int column) void
removeAt
(int index) final void
final Qt.Alignment
rowAlignment
(int row) final int
rowCount()
final double
rowMaximumHeight
(int row) final double
rowMinimumHeight
(int row) final double
rowPreferredHeight
(int row) final double
rowSpacing
(int row) final int
rowStretchFactor
(int row) 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)
.final void
setColumnAlignment
(int column, Qt.Alignment alignment) final void
setColumnAlignment
(int column, Qt.AlignmentFlag... alignment) Overloaded function forsetColumnAlignment(int, io.qt.core.Qt.Alignment)
.final void
setColumnFixedWidth
(int column, double width) final void
setColumnMaximumWidth
(int column, double width) final void
setColumnMinimumWidth
(int column, double width) final void
setColumnPreferredWidth
(int column, double width) final void
setColumnSpacing
(int column, double spacing) final void
setColumnStretchFactor
(int column, int stretch) void
setGeometry
(QRectF rect) final void
setHorizontalSpacing
(double spacing) final void
setRowAlignment
(int row, Qt.Alignment alignment) final void
setRowAlignment
(int row, Qt.AlignmentFlag... alignment) Overloaded function forsetRowAlignment(int, io.qt.core.Qt.Alignment)
.final void
setRowFixedHeight
(int row, double height) final void
setRowMaximumHeight
(int row, double height) final void
setRowMinimumHeight
(int row, double height) final void
setRowPreferredHeight
(int row, double height) final void
setRowSpacing
(int row, double spacing) final void
setRowStretchFactor
(int row, int stretch) 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, 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
-
QGraphicsGridLayout
public QGraphicsGridLayout()Overloaded constructor for
QGraphicsGridLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
. -
QGraphicsGridLayout
-
QGraphicsGridLayout
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addItem
@QtUninvokable public final void addItem(QGraphicsLayoutItem item, int row, int column, Qt.AlignmentFlag... alignment) Overloaded function for
addItem(io.qt.widgets.QGraphicsLayoutItem, int, int, io.qt.core.Qt.Alignment)
. -
addItem
Overloaded function for
addItem(io.qt.widgets.QGraphicsLayoutItem, int, int, io.qt.core.Qt.Alignment)
withalignment = new io.qt.core.Qt.Alignment(0)
. -
addItem
@QtUninvokable public final void addItem(QGraphicsLayoutItem item, int row, int column, Qt.Alignment alignment) -
addItem
@QtUninvokable public final void addItem(QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan, Qt.AlignmentFlag... alignment) Overloaded function for
addItem(io.qt.widgets.QGraphicsLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)
. -
addItem
@QtUninvokable public final void addItem(QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan) Overloaded function for
addItem(io.qt.widgets.QGraphicsLayoutItem, int, int, int, int, io.qt.core.Qt.Alignment)
withalignment = new io.qt.core.Qt.Alignment(0)
. -
addItem
@QtUninvokable public final void addItem(QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan, Qt.Alignment alignment) -
alignment
-
columnAlignment
-
columnCount
-
columnMaximumWidth
-
columnMinimumWidth
-
columnPreferredWidth
-
columnSpacing
-
columnStretchFactor
-
horizontalSpacing
-
itemAt
-
removeItem
-
rowAlignment
-
rowCount
-
rowMaximumHeight
-
rowMinimumHeight
-
rowPreferredHeight
-
rowSpacing
-
rowStretchFactor
-
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
-
setColumnAlignment
Overloaded function for
setColumnAlignment(int, io.qt.core.Qt.Alignment)
. -
setColumnAlignment
-
setColumnFixedWidth
-
setColumnMaximumWidth
-
setColumnMinimumWidth
-
setColumnPreferredWidth
-
setColumnSpacing
-
setColumnStretchFactor
-
setHorizontalSpacing
-
setRowAlignment
Overloaded function for
setRowAlignment(int, io.qt.core.Qt.Alignment)
. -
setRowAlignment
-
setRowFixedHeight
-
setRowMaximumHeight
-
setRowMinimumHeight
-
setRowPreferredHeight
-
setRowSpacing
-
setRowStretchFactor
-
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
-