- All Superinterfaces:
QtObjectInterface
- All Known Implementing Classes:
QChart
,QGraphicsAnchorLayout
,QGraphicsGridLayout
,QGraphicsLayout
,QGraphicsLinearLayout
,QGraphicsProxyWidget
,QGraphicsWidget
,QLegend
,QPolarChart
Can be inherited to allow your custom items to be managed by layouts
Java wrapper for Qt 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 abstract io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSizeF constraint);
-
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, QSize constraint) Overloaded function foreffectiveSizeHint(io.qt.core.Qt.SizeHint, 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
(QRect rect) Overloaded function forsetGeometry(io.qt.core.QRectF)
.default void
setGeometry
(QRectF rect) default void
setMaximumHeight
(double height) default void
setMaximumSize
(double w, double h) default void
setMaximumSize
(QSize size) Overloaded function forsetMaximumSize(io.qt.core.QSizeF)
.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
(QSize size) Overloaded function forsetMinimumSize(io.qt.core.QSizeF)
.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
(QSize size) Overloaded function forsetPreferredSize(io.qt.core.QSizeF)
.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
@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
-
setSizePolicy
@QtDeclaredFinal @QtUninvokable default void setSizePolicy(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType) -
sizePolicy
-
getContentsMargins
-
setGeometry
-
updateGeometry
-
contentsMargins
- See Also:
-
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, QSize constraint) Overloaded function for
effectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)
. -
setMaximumSize
Overloaded function for
setMaximumSize(io.qt.core.QSizeF)
. -
setMinimumSize
Overloaded function for
setMinimumSize(io.qt.core.QSizeF)
. -
setPreferredSize
Overloaded function for
setPreferredSize(io.qt.core.QSizeF)
. -
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
. -
setGeometry
Overloaded function for
setGeometry(io.qt.core.QRectF)
.
-