Module qtjambi
Package io.qt.widgets

Interface QGraphicsLayoutItem

All Superinterfaces:
QtObjectInterface
All Known Implementing Classes:
QChart, QGraphicsAnchorLayout, QGraphicsGridLayout, QGraphicsLayout, 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:


@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);