- All Implemented Interfaces:
QtObjectInterface
,QGraphicsLayoutItem
- Direct Known Subclasses:
QGraphicsAnchorLayout
,QGraphicsGridLayout
,QGraphicsLinearLayout
The base class for all layouts in Graphics View
Java wrapper for Qt class QGraphicsLayout
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQGraphicsLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.QGraphicsLayout
(QGraphicsLayoutItem parent) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
activate()
protected final void
addChildLayoutItem
(QGraphicsLayoutItem layoutItem) final QRectF
abstract int
count()
final QSizeF
effectiveSizeHint
(Qt.SizeHint which) Overloaded function foreffectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
withconstraint = new io.qt.core.QSizeF()
.final QSizeF
effectiveSizeHint
(Qt.SizeHint which, QSize constraint) Overloaded function foreffectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
.final QSizeF
effectiveSizeHint
(Qt.SizeHint which, QSizeF constraint) final QRectF
geometry()
void
getContentsMargins
(double [] margins) final QGraphicsItem
static boolean
SeeQGraphicsLayout::
instantInvalidatePropagation() void
final boolean
boolean
isEmpty()
final boolean
isLayout()
abstract QGraphicsLayoutItem
itemAt
(int i) final double
final QSizeF
final double
final double
final QSizeF
final double
final boolean
final QGraphicsLayoutItem
final double
final QSizeF
final double
abstract void
removeAt
(int index) final void
setContentsMargins
(double left, double top, double right, double bottom) final void
setGeometry
(QRect rect) Overloaded function forsetGeometry(io.qt.core.QRectF)
.void
setGeometry
(QRectF rect) protected final void
setGraphicsItem
(QGraphicsItem item) static void
setInstantInvalidatePropagation
(boolean enable) SeeQGraphicsLayout::
setInstantInvalidatePropagation(bool) final void
setMaximumHeight
(double height) final void
setMaximumSize
(double w, double h) final void
setMaximumSize
(QSize size) Overloaded function forsetMaximumSize(io.qt.core.QSizeF)
.final void
setMaximumSize
(QSizeF size) final void
setMaximumWidth
(double width) final void
setMinimumHeight
(double height) final void
setMinimumSize
(double w, double h) final void
setMinimumSize
(QSize size) Overloaded function forsetMinimumSize(io.qt.core.QSizeF)
.final void
setMinimumSize
(QSizeF size) final void
setMinimumWidth
(double width) protected final void
setOwnedByLayout
(boolean ownedByLayout) final void
final void
setPreferredHeight
(double height) final void
setPreferredSize
(double w, double h) final void
setPreferredSize
(QSize size) Overloaded function forsetPreferredSize(io.qt.core.QSizeF)
.final void
setPreferredSize
(QSizeF size) final void
setPreferredWidth
(double width) final void
setSizePolicy
(QSizePolicy policy) final void
setSizePolicy
(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy) Overloaded function forsetSizePolicy(io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.ControlType)
withcontrolType = io.qt.widgets.QSizePolicy.ControlType.DefaultType
.final void
setSizePolicy
(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType) protected final QSizeF
sizeHint
(Qt.SizeHint which) Overloaded function forsizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
withconstraint = new io.qt.core.QSizeF()
.protected final QSizeF
sizeHint
(Qt.SizeHint which, QSize constraint) Overloaded function forsizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
.protected abstract QSizeF
sizeHint
(Qt.SizeHint which, QSizeF constraint) final QSizePolicy
void
void
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
-
QGraphicsLayout
-
QGraphicsLayout
public QGraphicsLayout()Overloaded constructor for
QGraphicsLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.
-
-
Method Details
-
activate
-
addChildLayoutItem
-
contentsRect
- Specified by:
contentsRect
in interfaceQGraphicsLayoutItem
-
effectiveSizeHint
- Specified by:
effectiveSizeHint
in interfaceQGraphicsLayoutItem
-
geometry
- Specified by:
geometry
in interfaceQGraphicsLayoutItem
-
graphicsItem
- Specified by:
graphicsItem
in interfaceQGraphicsLayoutItem
-
isActivated
-
isLayout
- Specified by:
isLayout
in interfaceQGraphicsLayoutItem
-
maximumHeight
- Specified by:
maximumHeight
in interfaceQGraphicsLayoutItem
-
maximumSize
- Specified by:
maximumSize
in interfaceQGraphicsLayoutItem
-
maximumWidth
- Specified by:
maximumWidth
in interfaceQGraphicsLayoutItem
-
minimumHeight
- Specified by:
minimumHeight
in interfaceQGraphicsLayoutItem
-
minimumSize
- Specified by:
minimumSize
in interfaceQGraphicsLayoutItem
-
minimumWidth
- Specified by:
minimumWidth
in interfaceQGraphicsLayoutItem
-
ownedByLayout
- Specified by:
ownedByLayout
in interfaceQGraphicsLayoutItem
-
parentLayoutItem
- Specified by:
parentLayoutItem
in interfaceQGraphicsLayoutItem
-
preferredHeight
- Specified by:
preferredHeight
in interfaceQGraphicsLayoutItem
-
preferredSize
- Specified by:
preferredSize
in interfaceQGraphicsLayoutItem
-
preferredWidth
- Specified by:
preferredWidth
in interfaceQGraphicsLayoutItem
-
setContentsMargins
@QtUninvokable public final void setContentsMargins(double left, double top, double right, double bottom) -
setGraphicsItem
-
setMaximumHeight
- Specified by:
setMaximumHeight
in interfaceQGraphicsLayoutItem
-
setMaximumSize
- Specified by:
setMaximumSize
in interfaceQGraphicsLayoutItem
-
setMaximumSize
- Specified by:
setMaximumSize
in interfaceQGraphicsLayoutItem
-
setMaximumWidth
- Specified by:
setMaximumWidth
in interfaceQGraphicsLayoutItem
-
setMinimumHeight
- Specified by:
setMinimumHeight
in interfaceQGraphicsLayoutItem
-
setMinimumSize
- Specified by:
setMinimumSize
in interfaceQGraphicsLayoutItem
-
setMinimumSize
- Specified by:
setMinimumSize
in interfaceQGraphicsLayoutItem
-
setMinimumWidth
- Specified by:
setMinimumWidth
in interfaceQGraphicsLayoutItem
-
setOwnedByLayout
-
setParentLayoutItem
- Specified by:
setParentLayoutItem
in interfaceQGraphicsLayoutItem
-
setPreferredHeight
- Specified by:
setPreferredHeight
in interfaceQGraphicsLayoutItem
-
setPreferredSize
- Specified by:
setPreferredSize
in interfaceQGraphicsLayoutItem
-
setPreferredSize
- Specified by:
setPreferredSize
in interfaceQGraphicsLayoutItem
-
setPreferredWidth
- Specified by:
setPreferredWidth
in interfaceQGraphicsLayoutItem
-
setSizePolicy
- Specified by:
setSizePolicy
in interfaceQGraphicsLayoutItem
-
setSizePolicy
@QtUninvokable public final void setSizePolicy(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType) See
QGraphicsLayoutItem::
setSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType) - Specified by:
setSizePolicy
in interfaceQGraphicsLayoutItem
-
sizePolicy
- Specified by:
sizePolicy
in interfaceQGraphicsLayoutItem
-
count
-
getContentsMargins
- Specified by:
getContentsMargins
in interfaceQGraphicsLayoutItem
-
invalidate
-
isEmpty
See
QGraphicsLayoutItem::
isEmpty()const This function was introduced in Qt 6.0.
- Specified by:
isEmpty
in interfaceQGraphicsLayoutItem
-
itemAt
-
removeAt
-
setGeometry
- Specified by:
setGeometry
in interfaceQGraphicsLayoutItem
-
sizeHint
-
updateGeometry
- Specified by:
updateGeometry
in interfaceQGraphicsLayoutItem
-
widgetEvent
-
instantInvalidatePropagation
public static boolean instantInvalidatePropagation()See
QGraphicsLayout::
instantInvalidatePropagation() -
setInstantInvalidatePropagation
public static void setInstantInvalidatePropagation(boolean enable) See
QGraphicsLayout::
setInstantInvalidatePropagation(bool) -
effectiveSizeHint
Overloaded function for
effectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
withconstraint = new io.qt.core.QSizeF()
.- Specified by:
effectiveSizeHint
in interfaceQGraphicsLayoutItem
-
effectiveSizeHint
Overloaded function for
effectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
.- Specified by:
effectiveSizeHint
in interfaceQGraphicsLayoutItem
-
setMaximumSize
Overloaded function for
setMaximumSize(io.qt.core.QSizeF)
.- Specified by:
setMaximumSize
in interfaceQGraphicsLayoutItem
-
setMinimumSize
Overloaded function for
setMinimumSize(io.qt.core.QSizeF)
.- Specified by:
setMinimumSize
in interfaceQGraphicsLayoutItem
-
setPreferredSize
Overloaded function for
setPreferredSize(io.qt.core.QSizeF)
.- Specified by:
setPreferredSize
in interfaceQGraphicsLayoutItem
-
setSizePolicy
@QtUninvokable public final void setSizePolicy(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy) Overloaded function for
setSizePolicy(io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.ControlType)
withcontrolType = io.qt.widgets.QSizePolicy.ControlType.DefaultType
.- Specified by:
setSizePolicy
in interfaceQGraphicsLayoutItem
-
setGeometry
Overloaded function for
setGeometry(io.qt.core.QRectF)
.- Specified by:
setGeometry
in interfaceQGraphicsLayoutItem
-
sizeHint
Overloaded function for
sizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
withconstraint = new io.qt.core.QSizeF()
. -
sizeHint
Overloaded function for
sizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
.
-