- All Superinterfaces:
QtObjectInterface
- All Known Implementing Classes:
QChart
,QGraphicsAnchorLayout
,QGraphicsGridLayout
,QGraphicsLayout
,QGraphicsLayoutItem.Impl
,QGraphicsLinearLayout
,QGraphicsProxyWidget
,QGraphicsWidget
,QLegend
,QPolarChart
Can be inherited to allow your custom items to be managed by layouts
Java wrapper for Qt's class QGraphicsLayoutItem
Following functions are protected in the Qt interface, all implementations of this interface may implement these function:
@QtUninvokable
protected final void setGraphicsItem(io.qt.widgets.@Nullable QGraphicsItem item){
QGraphicsLayoutItem.MemberAccess.of(this).setGraphicsItem(item);
}
@QtUninvokable
protected final void setOwnedByLayout(boolean ownedByLayout){
QGraphicsLayoutItem.MemberAccess.of(this).setOwnedByLayout(ownedByLayout);
}
@QtUninvokable
protected final io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which) {
return sizeHint(which, new io.qt.core.QSizeF());
}
@QtUninvokable
protected abstract io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSizeF constraint);
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Implementor class for interfaceQGraphicsLayoutItem
static class
-
Method Summary
Modifier and TypeMethodDescriptiondefault QMarginsF
default QRectF
default QSizeF
effectiveSizeHint
(Qt.SizeHint which) Overloaded function foreffectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
withconstraint = new io.qt.core.QSizeF()
.default QSizeF
effectiveSizeHint
(Qt.SizeHint which, QSizeF constraint) default QRectF
geometry()
default void
getContentsMargins
(double [] margins) default QGraphicsItem
default boolean
isLayout()
default double
default QSizeF
default double
default double
default QSizeF
default double
default boolean
default QGraphicsLayoutItem
default double
default QSizeF
default double
default void
setGeometry
(QRectF rect) default void
setMaximumHeight
(double height) default void
setMaximumSize
(double w, double h) default void
setMaximumSize
(QSizeF size) default void
setMaximumWidth
(double width) default void
setMinimumHeight
(double height) default void
setMinimumSize
(double w, double h) default void
setMinimumSize
(QSizeF size) default void
setMinimumWidth
(double width) default void
default void
setPreferredHeight
(double height) default void
setPreferredSize
(double w, double h) default void
setPreferredSize
(QSizeF size) default void
setPreferredWidth
(double width) default void
setSizePolicy
(QSizePolicy policy) default 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
.default void
setSizePolicy
(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType) default QSizePolicy
default void
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
contentsRect
-
effectiveSizeHint
Overloaded function for
effectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
withconstraint = new io.qt.core.QSizeF()
. -
effectiveSizeHint
@QtDeclaredFinal @QtUninvokable default QSizeF effectiveSizeHint(Qt.SizeHint which, QSizeF constraint) -
geometry
-
graphicsItem
-
isLayout
-
maximumHeight
-
maximumSize
-
maximumWidth
-
minimumHeight
-
minimumSize
-
minimumWidth
-
ownedByLayout
-
parentLayoutItem
-
preferredHeight
-
preferredSize
-
preferredWidth
-
setMaximumHeight
-
setMaximumSize
-
setMaximumSize
-
setMaximumWidth
-
setMinimumHeight
-
setMinimumSize
-
setMinimumSize
-
setMinimumWidth
-
setParentLayoutItem
-
setPreferredHeight
-
setPreferredSize
-
setPreferredSize
-
setPreferredWidth
-
setSizePolicy
@QtDeclaredFinal @QtUninvokable default 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
. -
setSizePolicy
@QtDeclaredFinal @QtUninvokable default void setSizePolicy(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType) -
setSizePolicy
-
sizePolicy
-
getContentsMargins
-
setGeometry
-
updateGeometry
-
contentsMargins
- See Also:
-