java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QGraphicsLayout
- 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
-
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 forQGraphicsLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
.protected
Constructor for internal use only.QGraphicsLayout
(QGraphicsLayoutItem parent) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
activate()
protected final void
addChildLayoutItem
(QGraphicsLayoutItem layoutItem) final QMarginsF
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, QSizeF constraint) final QRectF
geometry()
void
getContentsMargins
(double[] margins) final QGraphicsItem
static boolean
void
final boolean
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) void
setGeometry
(QRectF rect) protected final void
setGraphicsItem
(QGraphicsItem item) static void
setInstantInvalidatePropagation
(boolean enable) final void
setMaximumHeight
(double height) final void
setMaximumSize
(double w, double h) 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
(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
(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 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.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QGraphicsLayout
public QGraphicsLayout()Overloaded constructor for
QGraphicsLayout(io.qt.widgets.QGraphicsLayoutItem)
withparent = null
. -
QGraphicsLayout
-
QGraphicsLayout
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
activate
-
addChildLayoutItem
-
contentsRect
- Specified by:
contentsRect
in interfaceQGraphicsLayoutItem
-
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
- 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
@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
-
setSizePolicy
@QtUninvokable public final void setSizePolicy(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType) - Specified by:
setSizePolicy
in interfaceQGraphicsLayoutItem
-
setSizePolicy
- Specified by:
setSizePolicy
in interfaceQGraphicsLayoutItem
-
sizePolicy
- Specified by:
sizePolicy
in interfaceQGraphicsLayoutItem
-
count
-
getContentsMargins
- Specified by:
getContentsMargins
in interfaceQGraphicsLayoutItem
-
invalidate
-
itemAt
-
removeAt
-
setGeometry
- 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
-
updateGeometry
- Specified by:
updateGeometry
in interfaceQGraphicsLayoutItem
-
widgetEvent
-
instantInvalidatePropagation
public static boolean instantInvalidatePropagation() -
setInstantInvalidatePropagation
public static void setInstantInvalidatePropagation(boolean enable) -
contentsMargins
- Specified by:
contentsMargins
in interfaceQGraphicsLayoutItem
-