- All Superinterfaces:
QtObjectInterface
- All Known Implementing Classes:
QChart
,QGraphicsAnchorLayout
,QGraphicsGridLayout
,QGraphicsLayout
,QGraphicsLayoutItem.Impl
,QGraphicsLinearLayout
,QGraphicsProxyWidget
,QGraphicsWidget
,QLegend
,QPolarChart
public interface QGraphicsLayoutItem extends QtObjectInterface
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:
@io.qt.QtUninvokable
protected final void setGraphicsItem(io.qt.widgets.QGraphicsItem item){
QGraphicsLayoutItem.MemberAccess.of(this).setGraphicsItem(item);
}
@io.qt.QtUninvokable
protected final void setOwnedByLayout(boolean ownedByLayout){
QGraphicsLayoutItem.MemberAccess.of(this).setOwnedByLayout(ownedByLayout);
}
@io.qt.QtUninvokable
protected final io.qt.core.QSizeF sizeHint(io.qt.core.Qt.SizeHint which) {
return sizeHint(which, new io.qt.core.QSizeF());
}
@io.qt.QtUninvokable
protected abstract io.qt.core.QSizeF sizeHint(io.qt.core.Qt.SizeHint which, io.qt.core.QSizeF constraint);
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
QGraphicsLayoutItem.Impl
Implementor class for interfaceQGraphicsLayoutItem
static class
QGraphicsLayoutItem.MemberAccess
-
Method Summary
Modifier and Type Method Description default QMarginsF
contentsMargins()
default QRectF
contentsRect()
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
graphicsItem()
default boolean
isLayout()
default double
maximumHeight()
default QSizeF
maximumSize()
default double
maximumWidth()
default double
minimumHeight()
default QSizeF
minimumSize()
default double
minimumWidth()
default boolean
ownedByLayout()
default QGraphicsLayoutItem
parentLayoutItem()
default double
preferredHeight()
default QSizeF
preferredSize()
default double
preferredWidth()
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
setParentLayoutItem(QGraphicsLayoutItem parent)
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
sizePolicy()
default void
updateGeometry()
-
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
-