All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QGraphicsWidget Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

The base class for all widget items in a QGraphicsScene

*

Java wrapper for Qt class QGraphicsWidget

*/ public class QGraphicsWidget extends io.qt.widgets.QGraphicsObject implements io.qt.widgets.QGraphicsLayoutItem { @QtPropertyMember(enabled=false) private java.util.Collection __rcActions; @QtPropertyMember(enabled=false) private Object __rcItem = null; @QtPropertyMember(enabled=false) private Object __rcStyle = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsWidget.class); /** *

See QGraphicsWidget::geometryChanged()

*/ @QtPropertyNotify(name="size") public final @NonNull Signal0 geometryChanged = new Signal0(); /** *

See QGraphicsWidget::layoutChanged()

*/ @QtPropertyNotify(name="layout") public final @NonNull Signal0 layoutChanged = new Signal0(); /** *

See QGraphicsWidget::QGraphicsWidget(QGraphicsItem*,Qt::WindowFlags)

*/ public QGraphicsWidget(io.qt.widgets.@Nullable QGraphicsItem parent, io.qt.core.Qt.@NonNull WindowFlags wFlags){ super((QPrivateConstructor)null); initialize_native(this, parent, wFlags); } private native static void initialize_native(QGraphicsWidget instance, io.qt.widgets.QGraphicsItem parent, io.qt.core.Qt.WindowFlags wFlags); /** *

See QGraphicsWidget::actions()const

*/ @QtUninvokable public final io.qt.core.@NonNull QList actions(){ return actions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList actions_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::addAction(QAction*)

*/ @QtUninvokable public final void addAction(io.qt.gui.@Nullable QAction action){ addAction_native_QAction_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(action)); if (action != null) { if(__rcActions==null) __rcActions = QtJambi_LibraryUtilities.internal.newRCList(); __rcActions.add(action); } } @QtUninvokable private native void addAction_native_QAction_ptr(long __this__nativeId, long action); /** *

See QGraphicsWidget::addActions(QList<QAction*>)

*/ @QtUninvokable public final void addActions(java.util.@NonNull Collection actions){ addActions_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), actions); if (actions != null) { if(__rcActions==null) __rcActions = QtJambi_LibraryUtilities.internal.newRCList(); __rcActions.addAll(actions); } } @QtUninvokable private native void addActions_native_cref_QList(long __this__nativeId, java.util.Collection actions); /** *

See QGraphicsWidget::adjustSize()

*/ @QtUninvokable public final void adjustSize(){ adjustSize_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void adjustSize_native(long __this__nativeId); /** *

See QGraphicsWidget::autoFillBackground()const

*/ @QtPropertyReader(name="autoFillBackground") @QtUninvokable public final boolean autoFillBackground(){ return autoFillBackground_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean autoFillBackground_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::close()

*/ public final boolean close(){ return close_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native boolean close_native(long __this__nativeId); /** *

See QGraphicsLayoutItem::contentsRect()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF contentsRect(){ return contentsRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QRectF contentsRect_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::effectiveSizeHint(Qt::SizeHint,QSizeF)const

*/ @QtUninvokable public final io.qt.core.@NonNull QSizeF effectiveSizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSizeF constraint){ return effectiveSizeHint_native_Qt_SizeHint_cref_QSizeF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), which.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(constraint)); } private native static io.qt.core.QSizeF effectiveSizeHint_native_Qt_SizeHint_cref_QSizeF_constfct(long __this__nativeId, int which, long constraint); /** *

See QGraphicsWidget::focusPolicy()const

*/ @QtPropertyReader(name="focusPolicy") @QtUninvokable public final io.qt.core.Qt.@NonNull FocusPolicy focusPolicy(){ return io.qt.core.Qt.FocusPolicy.resolve(focusPolicy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int focusPolicy_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::focusWidget()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsWidget focusWidget(){ return focusWidget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QGraphicsWidget focusWidget_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::font()const

*/ @QtPropertyReader(name="font") @QtUninvokable public final io.qt.gui.@NonNull QFont font(){ return font_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QFont font_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::geometry()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF geometry(){ return geometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QRectF geometry_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::getWindowFrameMargins(qreal*,qreal*,qreal*,qreal*)const

*/ @QtUninvokable public final void getWindowFrameMargins(double @NonNull[] margins){ if(margins.length<4) throw new IllegalArgumentException("An array of length 4 expected."); getWindowFrameMargins_native_qreal_ptr_qreal_ptr_qreal_ptr_qreal_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), margins); } @QtUninvokable private native void getWindowFrameMargins_native_qreal_ptr_qreal_ptr_qreal_ptr_qreal_ptr_constfct(long __this__nativeId, double[] margins); /** *

See QGraphicsWidget::grabShortcut(QKeySequence,Qt::ShortcutContext)

*/ @QtUninvokable public final int grabShortcut(io.qt.gui.@NonNull QKeySequence sequence, io.qt.core.Qt.@NonNull ShortcutContext context){ return grabShortcut_native_cref_QKeySequence_Qt_ShortcutContext(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sequence), context.value()); } @QtUninvokable private native int grabShortcut_native_cref_QKeySequence_Qt_ShortcutContext(long __this__nativeId, long sequence, int context); /** *

See QGraphicsLayoutItem::graphicsItem()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsItem graphicsItem(){ return graphicsItem_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.widgets.QGraphicsItem graphicsItem_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::insertAction(QAction*,QAction*)

*/ @QtUninvokable public final void insertAction(io.qt.gui.@Nullable QAction before, io.qt.gui.@Nullable QAction action){ insertAction_native_QAction_ptr_QAction_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(before), QtJambi_LibraryUtilities.internal.checkedNativeId(action)); if (action != null) { if(__rcActions==null) __rcActions = QtJambi_LibraryUtilities.internal.newRCList(); __rcActions.add(action); } } @QtUninvokable private native void insertAction_native_QAction_ptr_QAction_ptr(long __this__nativeId, long before, long action); /** *

See QGraphicsWidget::insertActions(QAction*,QList<QAction*>)

*/ @QtUninvokable public final void insertActions(io.qt.gui.@Nullable QAction before, java.util.@NonNull Collection actions){ insertActions_native_QAction_ptr_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(before), actions); if (actions != null) { if(__rcActions==null) __rcActions = QtJambi_LibraryUtilities.internal.newRCList(); __rcActions.addAll(actions); } } @QtUninvokable private native void insertActions_native_QAction_ptr_cref_QList(long __this__nativeId, long before, java.util.Collection actions); /** *

See QGraphicsWidget::isActiveWindow()const

*/ @QtUninvokable public final boolean isActiveWindow(){ return isActiveWindow_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isActiveWindow_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::isLayout()const

*/ @QtUninvokable public final boolean isLayout(){ return isLayout_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static boolean isLayout_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::layout()const

*/ @QtPropertyReader(name="layout") @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLayout layout(){ return layout_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QGraphicsLayout layout_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::layoutDirection()const

*/ @QtPropertyReader(name="layoutDirection") @QtUninvokable public final io.qt.core.Qt.@NonNull LayoutDirection layoutDirection(){ return io.qt.core.Qt.LayoutDirection.resolve(layoutDirection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int layoutDirection_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::maximumHeight()const

*/ @QtUninvokable public final double maximumHeight(){ return maximumHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static double maximumHeight_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::maximumSize()const

*/ @QtUninvokable public final io.qt.core.@NonNull QSizeF maximumSize(){ return maximumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QSizeF maximumSize_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::maximumWidth()const

*/ @QtUninvokable public final double maximumWidth(){ return maximumWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static double maximumWidth_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::minimumHeight()const

*/ @QtUninvokable public final double minimumHeight(){ return minimumHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static double minimumHeight_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::minimumSize()const

*/ @QtUninvokable public final io.qt.core.@NonNull QSizeF minimumSize(){ return minimumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QSizeF minimumSize_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::minimumWidth()const

*/ @QtUninvokable public final double minimumWidth(){ return minimumWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static double minimumWidth_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::ownedByLayout()const

*/ @QtUninvokable public final boolean ownedByLayout(){ return ownedByLayout_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static boolean ownedByLayout_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::palette()const

*/ @QtPropertyReader(name="palette") @QtUninvokable public final io.qt.gui.@NonNull QPalette palette(){ return palette_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QPalette palette_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::parentLayoutItem()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLayoutItem parentLayoutItem(){ return parentLayoutItem_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.widgets.QGraphicsLayoutItem parentLayoutItem_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::preferredHeight()const

*/ @QtUninvokable public final double preferredHeight(){ return preferredHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static double preferredHeight_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::preferredSize()const

*/ @QtUninvokable public final io.qt.core.@NonNull QSizeF preferredSize(){ return preferredSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QSizeF preferredSize_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::preferredWidth()const

*/ @QtUninvokable public final double preferredWidth(){ return preferredWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static double preferredWidth_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::rect()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF rect(){ return rect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRectF rect_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::releaseShortcut(int)

*/ @QtUninvokable public final void releaseShortcut(int id){ releaseShortcut_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), id); } @QtUninvokable private native void releaseShortcut_native_int(long __this__nativeId, int id); /** *

See QGraphicsWidget::removeAction(QAction*)

*/ @QtUninvokable public final void removeAction(io.qt.gui.@Nullable QAction action){ removeAction_native_QAction_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(action)); if (action != null) { while (__rcActions != null && __rcActions.remove(action)) ; } } @QtUninvokable private native void removeAction_native_QAction_ptr(long __this__nativeId, long action); /** *

See QGraphicsWidget::resize(QSizeF)

*/ @QtPropertyWriter(name="size") @QtUninvokable public final void resize(io.qt.core.@NonNull QSizeF size){ resize_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size)); } @QtUninvokable private native void resize_native_cref_QSizeF(long __this__nativeId, long size); /** *

See QGraphicsWidget::resize(qreal,qreal)

*/ @QtPropertyWriter(name="size") @QtUninvokable public final void resize(double w, double h){ resize_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), w, h); } @QtUninvokable private native void resize_native_qreal_qreal(long __this__nativeId, double w, double h); /** *

See QGraphicsWidget::setAttribute(Qt::WidgetAttribute,bool)

*/ @QtUninvokable public final void setAttribute(io.qt.core.Qt.@NonNull WidgetAttribute attribute, boolean on){ setAttribute_native_Qt_WidgetAttribute_bool(QtJambi_LibraryUtilities.internal.nativeId(this), attribute.value(), on); } @QtUninvokable private native void setAttribute_native_Qt_WidgetAttribute_bool(long __this__nativeId, int attribute, boolean on); /** *

See QGraphicsWidget::setAutoFillBackground(bool)

*/ @QtPropertyWriter(name="autoFillBackground") @QtUninvokable public final void setAutoFillBackground(boolean enabled){ setAutoFillBackground_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled); } @QtUninvokable private native void setAutoFillBackground_native_bool(long __this__nativeId, boolean enabled); /** *

See QGraphicsWidget::setContentsMargins(QMarginsF)

*/ @QtUninvokable public final void setContentsMargins(io.qt.core.@NonNull QMarginsF margins){ setContentsMargins_native_QMarginsF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins)); } @QtUninvokable private native void setContentsMargins_native_QMarginsF(long __this__nativeId, long margins); /** *

See QGraphicsWidget::setContentsMargins(qreal,qreal,qreal,qreal)

*/ @QtUninvokable public final void setContentsMargins(double left, double top, double right, double bottom){ setContentsMargins_native_qreal_qreal_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), left, top, right, bottom); } @QtUninvokable private native void setContentsMargins_native_qreal_qreal_qreal_qreal(long __this__nativeId, double left, double top, double right, double bottom); /** *

See QGraphicsWidget::setFocusPolicy(Qt::FocusPolicy)

*/ @QtPropertyWriter(name="focusPolicy") @QtUninvokable public final void setFocusPolicy(io.qt.core.Qt.@NonNull FocusPolicy policy){ setFocusPolicy_native_Qt_FocusPolicy(QtJambi_LibraryUtilities.internal.nativeId(this), policy.value()); } @QtUninvokable private native void setFocusPolicy_native_Qt_FocusPolicy(long __this__nativeId, int policy); /** *

See QGraphicsWidget::setFont(QFont)

*/ @QtPropertyWriter(name="font") @QtUninvokable public final void setFont(io.qt.gui.@NonNull QFont font){ setFont_native_cref_QFont(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(font)); } @QtUninvokable private native void setFont_native_cref_QFont(long __this__nativeId, long font); /** *

See QGraphicsWidget::setGeometry(qreal,qreal,qreal,qreal)

*/ @QtPropertyWriter(name="geometry") @QtUninvokable public final void setGeometry(double x, double y, double w, double h){ setGeometry_native_qreal_qreal_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h); } @QtUninvokable private native void setGeometry_native_qreal_qreal_qreal_qreal(long __this__nativeId, double x, double y, double w, double h); /** *

See QGraphicsLayoutItem::setGraphicsItem(QGraphicsItem*)

*/ @QtUninvokable protected final void setGraphicsItem(io.qt.widgets.@Nullable QGraphicsItem item){ setGraphicsItem_native_QGraphicsItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item)); __rcItem = item; } private native static void setGraphicsItem_native_QGraphicsItem_ptr(long __this__nativeId, long item); /** *

See QGraphicsWidget::setLayout(QGraphicsLayout*)

*/ @QtPropertyWriter(name="layout") @QtUninvokable public final void setLayout(io.qt.widgets.@Nullable QGraphicsLayout layout){ if(layout!=null && layout.parentLayoutItem()!=null && layout.parentLayoutItem()!=this) { throw new IllegalArgumentException("Layout is already in use."); } setLayout_native_QGraphicsLayout_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(layout)); QtJambi_LibraryUtilities.internal.setCppOwnership(layout); } @QtUninvokable private native void setLayout_native_QGraphicsLayout_ptr(long __this__nativeId, long layout); /** *

See QGraphicsWidget::setLayoutDirection(Qt::LayoutDirection)

*/ @QtPropertyWriter(name="layoutDirection") @QtUninvokable public final void setLayoutDirection(io.qt.core.Qt.@NonNull LayoutDirection direction){ setLayoutDirection_native_Qt_LayoutDirection(QtJambi_LibraryUtilities.internal.nativeId(this), direction.value()); } @QtUninvokable private native void setLayoutDirection_native_Qt_LayoutDirection(long __this__nativeId, int direction); /** *

See QGraphicsLayoutItem::setMaximumHeight(qreal)

*/ @QtUninvokable public final void setMaximumHeight(double height){ setMaximumHeight_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), height); } private native static void setMaximumHeight_native_qreal(long __this__nativeId, double height); /** *

See QGraphicsLayoutItem::setMaximumSize(QSizeF)

*/ @QtUninvokable public final void setMaximumSize(io.qt.core.@NonNull QSizeF size){ setMaximumSize_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size)); } private native static void setMaximumSize_native_cref_QSizeF(long __this__nativeId, long size); /** *

See QGraphicsLayoutItem::setMaximumSize(qreal,qreal)

*/ @QtUninvokable public final void setMaximumSize(double w, double h){ setMaximumSize_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), w, h); } private native static void setMaximumSize_native_qreal_qreal(long __this__nativeId, double w, double h); /** *

See QGraphicsLayoutItem::setMaximumWidth(qreal)

*/ @QtUninvokable public final void setMaximumWidth(double width){ setMaximumWidth_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), width); } private native static void setMaximumWidth_native_qreal(long __this__nativeId, double width); /** *

See QGraphicsLayoutItem::setMinimumHeight(qreal)

*/ @QtUninvokable public final void setMinimumHeight(double height){ setMinimumHeight_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), height); } private native static void setMinimumHeight_native_qreal(long __this__nativeId, double height); /** *

See QGraphicsLayoutItem::setMinimumSize(QSizeF)

*/ @QtUninvokable public final void setMinimumSize(io.qt.core.@NonNull QSizeF size){ setMinimumSize_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size)); } private native static void setMinimumSize_native_cref_QSizeF(long __this__nativeId, long size); /** *

See QGraphicsLayoutItem::setMinimumSize(qreal,qreal)

*/ @QtUninvokable public final void setMinimumSize(double w, double h){ setMinimumSize_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), w, h); } private native static void setMinimumSize_native_qreal_qreal(long __this__nativeId, double w, double h); /** *

See QGraphicsLayoutItem::setMinimumWidth(qreal)

*/ @QtUninvokable public final void setMinimumWidth(double width){ setMinimumWidth_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), width); } private native static void setMinimumWidth_native_qreal(long __this__nativeId, double width); /** *

See QGraphicsLayoutItem::setOwnedByLayout(bool)

*/ @QtUninvokable protected final void setOwnedByLayout(boolean ownedByLayout){ boolean oldValue = this.ownedByLayout(); setOwnedByLayout_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), ownedByLayout); if(oldValue!=ownedByLayout) { if(ownedByLayout) { if(this.parentLayoutItem()!=null && QtJambi_LibraryUtilities.internal.isJavaOwnership(this)) { QtJambi_LibraryUtilities.internal.setCppOwnership(this); } }else { QtJambi_LibraryUtilities.internal.setDefaultOwnership(this); } } } private native static void setOwnedByLayout_native_bool(long __this__nativeId, boolean ownedByLayout); /** *

See QGraphicsWidget::setPalette(QPalette)

*/ @QtPropertyWriter(name="palette") @QtUninvokable public final void setPalette(io.qt.gui.@NonNull QPalette palette){ setPalette_native_cref_QPalette(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(palette)); } @QtUninvokable private native void setPalette_native_cref_QPalette(long __this__nativeId, long palette); /** *

See QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem*)

*/ @QtUninvokable public final void setParentLayoutItem(io.qt.widgets.@Nullable QGraphicsLayoutItem parent){ if (parent instanceof QGraphicsWidget) QtJambi_LibraryUtilities.internal.setCppOwnership(this); else QtJambi_LibraryUtilities.internal.setDefaultOwnership(this); setParentLayoutItem_native_QGraphicsLayoutItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native static void setParentLayoutItem_native_QGraphicsLayoutItem_ptr(long __this__nativeId, long parent); /** *

See QGraphicsLayoutItem::setPreferredHeight(qreal)

*/ @QtUninvokable public final void setPreferredHeight(double height){ setPreferredHeight_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), height); } private native static void setPreferredHeight_native_qreal(long __this__nativeId, double height); /** *

See QGraphicsLayoutItem::setPreferredSize(QSizeF)

*/ @QtUninvokable public final void setPreferredSize(io.qt.core.@NonNull QSizeF size){ setPreferredSize_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size)); } private native static void setPreferredSize_native_cref_QSizeF(long __this__nativeId, long size); /** *

See QGraphicsLayoutItem::setPreferredSize(qreal,qreal)

*/ @QtUninvokable public final void setPreferredSize(double w, double h){ setPreferredSize_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), w, h); } private native static void setPreferredSize_native_qreal_qreal(long __this__nativeId, double w, double h); /** *

See QGraphicsLayoutItem::setPreferredWidth(qreal)

*/ @QtUninvokable public final void setPreferredWidth(double width){ setPreferredWidth_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), width); } private native static void setPreferredWidth_native_qreal(long __this__nativeId, double width); /** *

See QGraphicsWidget::setShortcutAutoRepeat(int,bool)

*/ @QtUninvokable public final void setShortcutAutoRepeat(int id, boolean enabled){ setShortcutAutoRepeat_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), id, enabled); } @QtUninvokable private native void setShortcutAutoRepeat_native_int_bool(long __this__nativeId, int id, boolean enabled); /** *

See QGraphicsWidget::setShortcutEnabled(int,bool)

*/ @QtUninvokable public final void setShortcutEnabled(int id, boolean enabled){ setShortcutEnabled_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), id, enabled); } @QtUninvokable private native void setShortcutEnabled_native_int_bool(long __this__nativeId, int id, boolean enabled); /** *

See QGraphicsLayoutItem::setSizePolicy(QSizePolicy)

*/ @QtUninvokable public final void setSizePolicy(io.qt.widgets.@NonNull QSizePolicy policy){ setSizePolicy_native_cref_QSizePolicy(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(policy)); } private native static void setSizePolicy_native_cref_QSizePolicy(long __this__nativeId, long policy); /** *

See QGraphicsLayoutItem::setSizePolicy(QSizePolicy::Policy,QSizePolicy::Policy,QSizePolicy::ControlType)

*/ @QtUninvokable public final void setSizePolicy(io.qt.widgets.QSizePolicy.@NonNull Policy hPolicy, io.qt.widgets.QSizePolicy.@NonNull Policy vPolicy, io.qt.widgets.QSizePolicy.@NonNull ControlType controlType){ setSizePolicy_native_QSizePolicy_Policy_QSizePolicy_Policy_QSizePolicy_ControlType(QtJambi_LibraryUtilities.internal.nativeId(this), hPolicy.value(), vPolicy.value(), controlType.value()); } private native static void setSizePolicy_native_QSizePolicy_Policy_QSizePolicy_Policy_QSizePolicy_ControlType(long __this__nativeId, int hPolicy, int vPolicy, int controlType); /** *

See QGraphicsWidget::setStyle(QStyle*)

*/ @QtUninvokable public final void setStyle(io.qt.widgets.@Nullable QStyle style){ setStyle_native_QStyle_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(style)); __rcStyle = style; } @QtUninvokable private native void setStyle_native_QStyle_ptr(long __this__nativeId, long style); /** *

See QGraphicsWidget::setWindowFlags(Qt::WindowFlags)

*/ @QtPropertyWriter(name="windowFlags") @QtUninvokable public final void setWindowFlags(io.qt.core.Qt.@NonNull WindowFlags wFlags){ setWindowFlags_native_Qt_WindowFlags(QtJambi_LibraryUtilities.internal.nativeId(this), wFlags.value()); } @QtUninvokable private native void setWindowFlags_native_Qt_WindowFlags(long __this__nativeId, int wFlags); /** *

See QGraphicsWidget::setWindowFrameMargins(QMarginsF)

*/ @QtUninvokable public final void setWindowFrameMargins(io.qt.core.@NonNull QMarginsF margins){ setWindowFrameMargins_native_QMarginsF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins)); } @QtUninvokable private native void setWindowFrameMargins_native_QMarginsF(long __this__nativeId, long margins); /** *

See QGraphicsWidget::setWindowFrameMargins(qreal,qreal,qreal,qreal)

*/ @QtUninvokable public final void setWindowFrameMargins(double left, double top, double right, double bottom){ setWindowFrameMargins_native_qreal_qreal_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), left, top, right, bottom); } @QtUninvokable private native void setWindowFrameMargins_native_qreal_qreal_qreal_qreal(long __this__nativeId, double left, double top, double right, double bottom); /** *

See QGraphicsWidget::setWindowTitle(QString)

*/ @QtPropertyWriter(name="windowTitle") @QtUninvokable public final void setWindowTitle(java.lang.@NonNull String title){ setWindowTitle_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), title); } @QtUninvokable private native void setWindowTitle_native_cref_QString(long __this__nativeId, java.lang.String title); /** *

See QGraphicsWidget::size()const

*/ @QtPropertyReader(name="size") @QtUninvokable public final io.qt.core.@NonNull QSizeF size(){ return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSizeF size_native_constfct(long __this__nativeId); /** *

See QGraphicsLayoutItem::sizePolicy()const

*/ @QtUninvokable public final io.qt.widgets.@NonNull QSizePolicy sizePolicy(){ return sizePolicy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.widgets.QSizePolicy sizePolicy_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::style()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QStyle style(){ return style_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QStyle style_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::testAttribute(Qt::WidgetAttribute)const

*/ @QtUninvokable public final boolean testAttribute(io.qt.core.Qt.@NonNull WidgetAttribute attribute){ return testAttribute_native_Qt_WidgetAttribute_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), attribute.value()); } @QtUninvokable private native boolean testAttribute_native_Qt_WidgetAttribute_constfct(long __this__nativeId, int attribute); /** *

See QGraphicsWidget::type()const

*/ @QtUninvokable public final int type(){ return type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int type_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::unsetLayoutDirection()

*/ @QtPropertyResetter(name="layoutDirection") @QtUninvokable public final void unsetLayoutDirection(){ unsetLayoutDirection_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void unsetLayoutDirection_native(long __this__nativeId); /** *

See QGraphicsWidget::unsetWindowFrameMargins()

*/ @QtUninvokable public final void unsetWindowFrameMargins(){ unsetWindowFrameMargins_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void unsetWindowFrameMargins_native(long __this__nativeId); /** *

See QGraphicsWidget::windowFlags()const

*/ @QtPropertyReader(name="windowFlags") @QtUninvokable public final io.qt.core.Qt.@NonNull WindowFlags windowFlags(){ return new io.qt.core.Qt.WindowFlags(windowFlags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int windowFlags_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::windowFrameGeometry()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF windowFrameGeometry(){ return windowFrameGeometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRectF windowFrameGeometry_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::windowFrameRect()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF windowFrameRect(){ return windowFrameRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRectF windowFrameRect_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::windowTitle()const

*/ @QtPropertyReader(name="windowTitle") @QtUninvokable public final java.lang.@NonNull String windowTitle(){ return windowTitle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String windowTitle_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::windowType()const

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull WindowType windowType(){ return io.qt.core.Qt.WindowType.resolve(windowType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int windowType_native_constfct(long __this__nativeId); /** *

See QGraphicsItem::boundingRect()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QRectF boundingRect(){ return boundingRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QRectF boundingRect_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::changeEvent(QEvent*)

*/ @QtUninvokable protected void changeEvent(io.qt.core.@Nullable QEvent event){ changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsWidget::closeEvent(QCloseEvent*)

*/ @QtUninvokable protected void closeEvent(io.qt.gui.@Nullable QCloseEvent event){ closeEvent_native_QCloseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void closeEvent_native_QCloseEvent_ptr(long __this__nativeId, long event); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent event){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::focusInEvent(QFocusEvent*)

*/ @QtUninvokable @Override protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent event){ focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsWidget::focusNextPrevChild(bool)

*/ @QtUninvokable protected boolean focusNextPrevChild(boolean next){ return focusNextPrevChild_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), next); } @QtUninvokable private native boolean focusNextPrevChild_native_bool(long __this__nativeId, boolean next); /** *

See QGraphicsItem::focusOutEvent(QFocusEvent*)

*/ @QtUninvokable @Override protected void focusOutEvent(io.qt.gui.@Nullable QFocusEvent event){ focusOutEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void focusOutEvent_native_QFocusEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsLayoutItem::getContentsMargins(qreal*,qreal*,qreal*,qreal*)const

*/ @QtUninvokable @Override public void getContentsMargins(double @NonNull[] margins){ if(margins.length<4) throw new IllegalArgumentException("An array of length 4 expected."); getContentsMargins_native_qreal_ptr_qreal_ptr_qreal_ptr_qreal_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), margins); } private native static void getContentsMargins_native_qreal_ptr_qreal_ptr_qreal_ptr_qreal_ptr_constfct(long __this__nativeId, double[] margins); /** *

See QGraphicsWidget::grabKeyboardEvent(QEvent*)

*/ @QtUninvokable protected void grabKeyboardEvent(io.qt.core.@Nullable QEvent event){ grabKeyboardEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void grabKeyboardEvent_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsWidget::grabMouseEvent(QEvent*)

*/ @QtUninvokable protected void grabMouseEvent(io.qt.core.@Nullable QEvent event){ grabMouseEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void grabMouseEvent_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsWidget::hideEvent(QHideEvent*)

*/ @QtUninvokable protected void hideEvent(io.qt.gui.@Nullable QHideEvent event){ hideEvent_native_QHideEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void hideEvent_native_QHideEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*)

*/ @QtUninvokable protected void hoverLeaveEvent(io.qt.widgets.@Nullable QGraphicsSceneHoverEvent event){ hoverLeaveEvent_native_QGraphicsSceneHoverEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void hoverLeaveEvent_native_QGraphicsSceneHoverEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent*)

*/ @QtUninvokable protected void hoverMoveEvent(io.qt.widgets.@Nullable QGraphicsSceneHoverEvent event){ hoverMoveEvent_native_QGraphicsSceneHoverEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void hoverMoveEvent_native_QGraphicsSceneHoverEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsWidget::initStyleOption(QStyleOption*)const

*/ @QtUninvokable protected void initStyleOption(io.qt.widgets.@Nullable QStyleOption option){ initStyleOption_native_QStyleOption_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option)); } @QtUninvokable private native void initStyleOption_native_QStyleOption_ptr_constfct(long __this__nativeId, long option); /** *

See QGraphicsLayoutItem::isEmpty()const

*/ @QtUninvokable public boolean isEmpty(){ return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static boolean isEmpty_native_constfct(long __this__nativeId); /** *

See QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange,QVariant)

*/ @QtUninvokable @Override protected java.lang.Object itemChange(io.qt.widgets.QGraphicsItem.@NonNull GraphicsItemChange change, java.lang.Object value){ return itemChange_native_QGraphicsItem_GraphicsItemChange_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), change.value(), value); } private native static java.lang.Object itemChange_native_QGraphicsItem_GraphicsItemChange_cref_QVariant(long __this__nativeId, int change, java.lang.Object value); /** *

See QGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent*)

*/ @QtUninvokable protected void moveEvent(io.qt.widgets.@Nullable QGraphicsSceneMoveEvent event){ moveEvent_native_QGraphicsSceneMoveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void moveEvent_native_QGraphicsSceneMoveEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)

*/ @QtUninvokable @Override public void paint(io.qt.gui.@Nullable QPainter painter, io.qt.widgets.@Nullable QStyleOptionGraphicsItem option, io.qt.widgets.@Nullable QWidget widget){ paint_native_QPainter_ptr_const_QStyleOptionGraphicsItem_ptr_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(option), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } private native static void paint_native_QPainter_ptr_const_QStyleOptionGraphicsItem_ptr_QWidget_ptr(long __this__nativeId, long painter, long option, long widget); /** *

See QGraphicsWidget::paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)

*/ @QtUninvokable public void paintWindowFrame(io.qt.gui.@Nullable QPainter painter, io.qt.widgets.@Nullable QStyleOptionGraphicsItem option, io.qt.widgets.@Nullable QWidget widget){ paintWindowFrame_native_QPainter_ptr_const_QStyleOptionGraphicsItem_ptr_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(option), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @QtUninvokable private native void paintWindowFrame_native_QPainter_ptr_const_QStyleOptionGraphicsItem_ptr_QWidget_ptr(long __this__nativeId, long painter, long option, long widget); /** *

See QGraphicsWidget::polishEvent()

*/ @QtUninvokable protected void polishEvent(){ polishEvent_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void polishEvent_native(long __this__nativeId); /** *

See QGraphicsWidget::propertyChange(QString,QVariant)

*/ @QtUninvokable protected java.lang.Object propertyChange(java.lang.@NonNull String propertyName, java.lang.Object value){ return propertyChange_native_cref_QString_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), propertyName, value); } @QtUninvokable private native java.lang.Object propertyChange_native_cref_QString_cref_QVariant(long __this__nativeId, java.lang.String propertyName, java.lang.Object value); /** *

See QGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent*)

*/ @QtUninvokable protected void resizeEvent(io.qt.widgets.@Nullable QGraphicsSceneResizeEvent event){ resizeEvent_native_QGraphicsSceneResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void resizeEvent_native_QGraphicsSceneResizeEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::sceneEvent(QEvent*)

*/ @QtUninvokable @Override protected boolean sceneEvent(io.qt.core.@Nullable QEvent event){ return sceneEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static boolean sceneEvent_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsLayoutItem::setGeometry(QRectF)

*/ @QtPropertyWriter(name="geometry") @QtUninvokable @Override public void setGeometry(io.qt.core.@NonNull QRectF rect){ setGeometry_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } private native static void setGeometry_native_cref_QRectF(long __this__nativeId, long rect); /** *

See QGraphicsItem::shape()const

*/ @QtUninvokable @Override public io.qt.gui.@NonNull QPainterPath shape(){ return shape_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QPainterPath shape_native_constfct(long __this__nativeId); /** *

See QGraphicsWidget::showEvent(QShowEvent*)

*/ @QtUninvokable protected void showEvent(io.qt.gui.@Nullable QShowEvent event){ showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsLayoutItem::sizeHint(Qt::SizeHint,QSizeF)const

*/ @QtUninvokable protected io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSizeF constraint){ return sizeHint_native_Qt_SizeHint_cref_QSizeF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), which.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(constraint)); } private native static io.qt.core.QSizeF sizeHint_native_Qt_SizeHint_cref_QSizeF_constfct(long __this__nativeId, int which, long constraint); /** *

See QGraphicsWidget::ungrabKeyboardEvent(QEvent*)

*/ @QtUninvokable protected void ungrabKeyboardEvent(io.qt.core.@Nullable QEvent event){ ungrabKeyboardEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void ungrabKeyboardEvent_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsWidget::ungrabMouseEvent(QEvent*)

*/ @QtUninvokable protected void ungrabMouseEvent(io.qt.core.@Nullable QEvent event){ ungrabMouseEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void ungrabMouseEvent_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsLayoutItem::updateGeometry()

*/ @QtUninvokable @Override public void updateGeometry(){ updateGeometry_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static void updateGeometry_native(long __this__nativeId); /** *

See QGraphicsWidget::windowFrameEvent(QEvent*)

*/ @QtUninvokable protected boolean windowFrameEvent(io.qt.core.@Nullable QEvent e){ return windowFrameEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native boolean windowFrameEvent_native_QEvent_ptr(long __this__nativeId, long e); /** *

See QGraphicsWidget::windowFrameSectionAt(QPointF)const

*/ @QtUninvokable protected io.qt.core.Qt.@NonNull WindowFrameSection windowFrameSectionAt(io.qt.core.@NonNull QPointF pos){ return io.qt.core.Qt.WindowFrameSection.resolve(windowFrameSectionAt_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos))); } @QtUninvokable private native int windowFrameSectionAt_native_cref_QPointF_constfct(long __this__nativeId, long pos); /** *

See QGraphicsWidget::setTabOrder(QGraphicsWidget*,QGraphicsWidget*)

*/ public static void setTabOrder(io.qt.widgets.@Nullable QGraphicsWidget first, io.qt.widgets.@Nullable QGraphicsWidget second){ setTabOrder_native_QGraphicsWidget_ptr_QGraphicsWidget_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(first), QtJambi_LibraryUtilities.internal.checkedNativeId(second)); } private native static void setTabOrder_native_QGraphicsWidget_ptr_QGraphicsWidget_ptr(long first, long second); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGraphicsWidget(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QGraphicsWidget(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QGraphicsWidget instance, QDeclarativeConstructor constructor); /** * @see #getWindowFrameMargins(double[]) */ @QtUninvokable public final io.qt.core.@NonNull QMarginsF windowFrameMargins() { double[] mrg = {0.0, 0.0, 0.0, 0.0}; getWindowFrameMargins(mrg); return new io.qt.core.QMarginsF(mrg[0], mrg[1], mrg[2], mrg[3]); } /** *

Overloaded constructor for {@link #QGraphicsWidget(io.qt.widgets.QGraphicsItem, io.qt.core.Qt.WindowFlags)} * with wFlags = new io.qt.core.Qt.WindowFlags(0).

*/ public QGraphicsWidget(io.qt.widgets.@Nullable QGraphicsItem parent) { this(parent, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded constructor for {@link #QGraphicsWidget(io.qt.widgets.QGraphicsItem, io.qt.core.Qt.WindowFlags)}

*

with:

    *
  • parent = null
  • *
  • wFlags = new io.qt.core.Qt.WindowFlags(0)
  • *
*/ public QGraphicsWidget() { this((io.qt.widgets.QGraphicsItem)null, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded constructor for {@link #QGraphicsWidget(io.qt.widgets.QGraphicsItem, io.qt.core.Qt.WindowFlags)}.

*/ public QGraphicsWidget(io.qt.widgets.@Nullable QGraphicsItem parent, io.qt.core.Qt.@NonNull WindowType @NonNull... wFlags) { this(parent, new io.qt.core.Qt.WindowFlags(wFlags)); } /** * @hidden *

Kotlin property getter. In Java use {@link #autoFillBackground()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getAutoFillBackground() { return autoFillBackground(); } /** *

Overloaded function for {@link #effectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)} * with constraint = new io.qt.core.QSizeF().

*/ @QtUninvokable public final io.qt.core.@NonNull QSizeF effectiveSizeHint(io.qt.core.Qt.@NonNull SizeHint which) { return effectiveSizeHint(which, new io.qt.core.QSizeF()); } /** *

Overloaded function for {@link #effectiveSizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QSizeF effectiveSizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSize constraint) { return effectiveSizeHint(which, new io.qt.core.QSizeF(constraint)); } /** * @hidden *

Kotlin property getter. In Java use {@link #focusPolicy()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull FocusPolicy getFocusPolicy() { return focusPolicy(); } /** * @hidden *

Kotlin property getter. In Java use {@link #font()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.@NonNull QFont getFont() { return font(); } /** *

Overloaded function for {@link #grabShortcut(io.qt.gui.QKeySequence, io.qt.core.Qt.ShortcutContext)} * with context = io.qt.core.Qt.ShortcutContext.WindowShortcut.

*/ @QtUninvokable public final int grabShortcut(io.qt.gui.@NonNull QKeySequence sequence) { return grabShortcut(sequence, io.qt.core.Qt.ShortcutContext.WindowShortcut); } /** *

Overloaded function for {@link #grabShortcut(java.lang.String, io.qt.core.Qt.ShortcutContext)} * with context = io.qt.core.Qt.ShortcutContext.WindowShortcut.

*/ @QtUninvokable public final int grabShortcut(java.lang.@NonNull String sequence) { return grabShortcut(sequence, io.qt.core.Qt.ShortcutContext.WindowShortcut); } /** *

Overloaded function for {@link #grabShortcut(io.qt.gui.QKeySequence, io.qt.core.Qt.ShortcutContext)}.

*/ @QtUninvokable public final int grabShortcut(java.lang.@NonNull String sequence, io.qt.core.Qt.@NonNull ShortcutContext context) { return grabShortcut(new io.qt.gui.QKeySequence(sequence), context); } /** *

Overloaded function for {@link #grabShortcut(int, io.qt.core.Qt.ShortcutContext)} * with context = io.qt.core.Qt.ShortcutContext.WindowShortcut.

*/ @QtUninvokable public final int grabShortcut(int sequence) { return grabShortcut(sequence, io.qt.core.Qt.ShortcutContext.WindowShortcut); } /** *

Overloaded function for {@link #grabShortcut(io.qt.gui.QKeySequence, io.qt.core.Qt.ShortcutContext)}.

*/ @QtUninvokable public final int grabShortcut(int sequence, io.qt.core.Qt.@NonNull ShortcutContext context) { return grabShortcut(new io.qt.gui.QKeySequence(sequence), context); } /** *

Overloaded function for {@link #grabShortcut(io.qt.gui.QKeyCombination, io.qt.core.Qt.ShortcutContext)} * with context = io.qt.core.Qt.ShortcutContext.WindowShortcut.

*/ @QtUninvokable public final int grabShortcut(io.qt.gui.@NonNull QKeyCombination sequence) { return grabShortcut(sequence, io.qt.core.Qt.ShortcutContext.WindowShortcut); } /** *

Overloaded function for {@link #grabShortcut(io.qt.gui.QKeySequence, io.qt.core.Qt.ShortcutContext)}.

*/ @QtUninvokable public final int grabShortcut(io.qt.gui.@NonNull QKeyCombination sequence, io.qt.core.Qt.@NonNull ShortcutContext context) { return grabShortcut(new io.qt.gui.QKeySequence(sequence), context); } /** *

Overloaded function for {@link #grabShortcut(io.qt.gui.QKeySequence.StandardKey, io.qt.core.Qt.ShortcutContext)} * with context = io.qt.core.Qt.ShortcutContext.WindowShortcut.

*/ @QtUninvokable public final int grabShortcut(io.qt.gui.QKeySequence.@NonNull StandardKey sequence) { return grabShortcut(sequence, io.qt.core.Qt.ShortcutContext.WindowShortcut); } /** *

Overloaded function for {@link #grabShortcut(io.qt.gui.QKeySequence, io.qt.core.Qt.ShortcutContext)}.

*/ @QtUninvokable public final int grabShortcut(io.qt.gui.QKeySequence.@NonNull StandardKey sequence, io.qt.core.Qt.@NonNull ShortcutContext context) { return grabShortcut(new io.qt.gui.QKeySequence(sequence), context); } /** * @hidden *

Kotlin property getter. In Java use {@link #layout()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLayout getLayout() { return layout(); } /** * @hidden *

Kotlin property getter. In Java use {@link #layoutDirection()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull LayoutDirection getLayoutDirection() { return layoutDirection(); } /** * @hidden *

Kotlin property getter. In Java use {@link #palette()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.@NonNull QPalette getPalette() { return palette(); } /** *

Overloaded function for {@link #resize(io.qt.core.QSizeF)}.

*/ @QtUninvokable public final void resize(io.qt.core.@NonNull QSize size) { resize(new io.qt.core.QSizeF(size)); } /** *

Overloaded function for {@link #setAttribute(io.qt.core.Qt.WidgetAttribute, boolean)} * with on = true.

*/ @QtUninvokable public final void setAttribute(io.qt.core.Qt.@NonNull WidgetAttribute attribute) { setAttribute(attribute, (boolean)true); } /** *

Overloaded function for {@link #setContentsMargins(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final void setContentsMargins(io.qt.core.@NonNull QMargins margins) { setContentsMargins(new io.qt.core.QMarginsF(margins)); } /** *

Overloaded function for {@link #setFont(io.qt.gui.QFont)}.

*/ @QtUninvokable public final void setFont(java.lang.@NonNull String font) { setFont(new io.qt.gui.QFont(font)); } /** *

Overloaded function for {@link #setMaximumSize(io.qt.core.QSizeF)}.

*/ @QtUninvokable public final void setMaximumSize(io.qt.core.@NonNull QSize size) { setMaximumSize(new io.qt.core.QSizeF(size)); } /** *

Overloaded function for {@link #setMinimumSize(io.qt.core.QSizeF)}.

*/ @QtUninvokable public final void setMinimumSize(io.qt.core.@NonNull QSize size) { setMinimumSize(new io.qt.core.QSizeF(size)); } /** *

Overloaded function for {@link #setPreferredSize(io.qt.core.QSizeF)}.

*/ @QtUninvokable public final void setPreferredSize(io.qt.core.@NonNull QSize size) { setPreferredSize(new io.qt.core.QSizeF(size)); } /** *

Overloaded function for {@link #setShortcutAutoRepeat(int, boolean)} * with enabled = true.

*/ @QtUninvokable public final void setShortcutAutoRepeat(int id) { setShortcutAutoRepeat(id, (boolean)true); } /** *

Overloaded function for {@link #setShortcutEnabled(int, boolean)} * with enabled = true.

*/ @QtUninvokable public final void setShortcutEnabled(int id) { setShortcutEnabled(id, (boolean)true); } /** *

Overloaded function for {@link #setSizePolicy(io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.ControlType)} * with controlType = io.qt.widgets.QSizePolicy.ControlType.DefaultType.

*/ @QtUninvokable public final void setSizePolicy(io.qt.widgets.QSizePolicy.@NonNull Policy hPolicy, io.qt.widgets.QSizePolicy.@NonNull Policy vPolicy) { setSizePolicy(hPolicy, vPolicy, io.qt.widgets.QSizePolicy.ControlType.DefaultType); } /** *

Overloaded function for {@link #setWindowFlags(io.qt.core.Qt.WindowFlags)}.

*/ @QtUninvokable public final void setWindowFlags(io.qt.core.Qt.@NonNull WindowType @NonNull... wFlags) { setWindowFlags(new io.qt.core.Qt.WindowFlags(wFlags)); } /** *

Overloaded function for {@link #setWindowFrameMargins(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final void setWindowFrameMargins(io.qt.core.@NonNull QMargins margins) { setWindowFrameMargins(new io.qt.core.QMarginsF(margins)); } /** * @hidden *

Kotlin property getter. In Java use {@link #size()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QSizeF getSize() { return size(); } /** * @hidden *

Kotlin property getter. In Java use {@link #windowFlags()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull WindowFlags getWindowFlags() { return windowFlags(); } /** * @hidden *

Kotlin property getter. In Java use {@link #windowTitle()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getWindowTitle() { return windowTitle(); } /** *

Overloaded function for {@link #paintWindowFrame(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)} * with widget = null.

*/ @QtUninvokable public final void paintWindowFrame(io.qt.gui.@Nullable QPainter painter, io.qt.widgets.@Nullable QStyleOptionGraphicsItem option) { paintWindowFrame(painter, option, (io.qt.widgets.QWidget)null); } /** *

Overloaded function for {@link #setGeometry(io.qt.core.QRectF)}.

*/ @QtUninvokable public final void setGeometry(io.qt.core.@NonNull QRect rect) { setGeometry(new io.qt.core.QRectF(rect)); } /** *

Overloaded function for {@link #sizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)} * with constraint = new io.qt.core.QSizeF().

*/ @QtUninvokable protected final io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which) { return sizeHint(which, new io.qt.core.QSizeF()); } /** *

Overloaded function for {@link #sizeHint(io.qt.core.Qt.SizeHint, io.qt.core.QSizeF)}.

*/ @QtUninvokable protected final io.qt.core.@NonNull QSizeF sizeHint(io.qt.core.Qt.@NonNull SizeHint which, io.qt.core.@NonNull QSize constraint) { return sizeHint(which, new io.qt.core.QSizeF(constraint)); } /** *

Overloaded function for {@link #windowFrameSectionAt(io.qt.core.QPointF)}.

*/ @QtUninvokable protected final io.qt.core.Qt.@NonNull WindowFrameSection windowFrameSectionAt(io.qt.core.@NonNull QPoint pos) { return windowFrameSectionAt(new io.qt.core.QPointF(pos)); } }