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.1
Show newest version
package io.qt.widgets;


/**
 * 

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 { @io.qt.QtPropertyMember(enabled=false) private Object __rcItem = null; @io.qt.QtPropertyMember(enabled=false) private java.util.Collection __rcActions; @io.qt.QtPropertyMember(enabled=false) private Object __rcStyle = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsWidget.class); /** *

See QGraphicsWidget::geometryChanged()

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

See QGraphicsWidget::layoutChanged()

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

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

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

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.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)); } /** *

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

*/ public QGraphicsWidget(io.qt.widgets.QGraphicsItem parent, io.qt.core.Qt.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

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

See QGraphicsWidget::addAction(QAction*)

*/ @io.qt.QtUninvokable public final void addAction(io.qt.gui.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); } } @io.qt.QtUninvokable private native void addAction_native_QAction_ptr(long __this__nativeId, long action); /** *

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

*/ @io.qt.QtUninvokable public final void addActions(java.util.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); } } @io.qt.QtUninvokable private native void addActions_native_cref_QList(long __this__nativeId, java.util.Collection actions); /** *

See QGraphicsWidget::adjustSize()

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

See QGraphicsWidget::autoFillBackground()const

*/ @io.qt.QtPropertyReader(name="autoFillBackground") @io.qt.QtUninvokable public final boolean autoFillBackground(){ return autoFillBackground_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.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

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

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

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

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

*/ @io.qt.QtUninvokable public final io.qt.core.QSizeF effectiveSizeHint(io.qt.core.Qt.SizeHint which, io.qt.core.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

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

See QGraphicsWidget::focusWidget()const

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

See QGraphicsWidget::font()const

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

See QGraphicsLayoutItem::geometry()const

*/ @io.qt.QtUninvokable public final io.qt.core.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

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

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

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

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

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

See QGraphicsLayoutItem::graphicsItem()const

*/ @io.qt.QtUninvokable public final io.qt.widgets.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*)

*/ @io.qt.QtUninvokable public final void insertAction(io.qt.gui.QAction before, io.qt.gui.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); } } @io.qt.QtUninvokable private native void insertAction_native_QAction_ptr_QAction_ptr(long __this__nativeId, long before, long action); /** *

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

*/ @io.qt.QtUninvokable public final void insertActions(io.qt.gui.QAction before, java.util.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); } } @io.qt.QtUninvokable private native void insertActions_native_QAction_ptr_cref_QList(long __this__nativeId, long before, java.util.Collection actions); /** *

See QGraphicsWidget::isActiveWindow()const

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

See QGraphicsLayoutItem::isLayout()const

*/ @io.qt.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

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

See QGraphicsWidget::layoutDirection()const

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

See QGraphicsLayoutItem::maximumHeight()const

*/ @io.qt.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

*/ @io.qt.QtUninvokable public final io.qt.core.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

*/ @io.qt.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

*/ @io.qt.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

*/ @io.qt.QtUninvokable public final io.qt.core.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

*/ @io.qt.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

*/ @io.qt.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

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

See QGraphicsLayoutItem::parentLayoutItem()const

*/ @io.qt.QtUninvokable public final io.qt.widgets.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

*/ @io.qt.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

*/ @io.qt.QtUninvokable public final io.qt.core.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

*/ @io.qt.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

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

See QGraphicsWidget::releaseShortcut(int)

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

See QGraphicsWidget::removeAction(QAction*)

*/ @io.qt.QtUninvokable public final void removeAction(io.qt.gui.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)) ; } } @io.qt.QtUninvokable private native void removeAction_native_QAction_ptr(long __this__nativeId, long action); /** *

See QGraphicsWidget::resize(QSizeF)

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

See QGraphicsWidget::resize(qreal,qreal)

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

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

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

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

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

See QGraphicsWidget::setAutoFillBackground(bool)

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

See QGraphicsWidget::setContentsMargins(QMarginsF)

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

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

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

See QGraphicsWidget::setFocusPolicy(Qt::FocusPolicy)

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

See QGraphicsWidget::setFont(QFont)

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

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

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

See QGraphicsLayoutItem::setGraphicsItem(QGraphicsItem*)

*/ @io.qt.QtUninvokable protected final void setGraphicsItem(io.qt.widgets.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*)

*/ @io.qt.QtPropertyWriter(name="layout") @io.qt.QtUninvokable public final void setLayout(io.qt.widgets.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); } @io.qt.QtUninvokable private native void setLayout_native_QGraphicsLayout_ptr(long __this__nativeId, long layout); /** *

See QGraphicsWidget::setLayoutDirection(Qt::LayoutDirection)

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

See QGraphicsLayoutItem::setMaximumHeight(qtjambireal)

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

See QGraphicsLayoutItem::setMaximumSize(QSizeF)

*/ @io.qt.QtUninvokable public final void setMaximumSize(io.qt.core.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(qtjambireal,qtjambireal)

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

See QGraphicsLayoutItem::setMaximumWidth(qtjambireal)

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

See QGraphicsLayoutItem::setMinimumHeight(qtjambireal)

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

See QGraphicsLayoutItem::setMinimumSize(QSizeF)

*/ @io.qt.QtUninvokable public final void setMinimumSize(io.qt.core.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(qtjambireal,qtjambireal)

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

See QGraphicsLayoutItem::setMinimumWidth(qtjambireal)

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

See QGraphicsLayoutItem::setOwnedByLayout(bool)

*/ @io.qt.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)

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

See QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem*)

*/ @io.qt.QtUninvokable public final void setParentLayoutItem(io.qt.widgets.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(qtjambireal)

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

See QGraphicsLayoutItem::setPreferredSize(QSizeF)

*/ @io.qt.QtUninvokable public final void setPreferredSize(io.qt.core.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(qtjambireal,qtjambireal)

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

See QGraphicsLayoutItem::setPreferredWidth(qtjambireal)

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

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

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

See QGraphicsWidget::setShortcutAutoRepeat(int,bool)

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

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

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

See QGraphicsWidget::setShortcutEnabled(int,bool)

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

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.

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

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

*/ @io.qt.QtUninvokable public final void setSizePolicy(io.qt.widgets.QSizePolicy.Policy hPolicy, io.qt.widgets.QSizePolicy.Policy vPolicy, io.qt.widgets.QSizePolicy.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 QGraphicsLayoutItem::setSizePolicy(QSizePolicy)

*/ @io.qt.QtUninvokable public final void setSizePolicy(io.qt.widgets.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 QGraphicsWidget::setStyle(QStyle*)

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

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

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

See QGraphicsWidget::setWindowFlags(Qt::WindowFlags)

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

See QGraphicsWidget::setWindowFrameMargins(QMarginsF)

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

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

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

See QGraphicsWidget::setWindowTitle(QString)

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

See QGraphicsWidget::size()const

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

See QGraphicsLayoutItem::sizePolicy()const

*/ @io.qt.QtUninvokable public final io.qt.widgets.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

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

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

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

See QGraphicsWidget::type()const

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

See QGraphicsWidget::unsetLayoutDirection()

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

See QGraphicsWidget::unsetWindowFrameMargins()

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

See QGraphicsWidget::windowFlags()const

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

See QGraphicsWidget::windowFrameGeometry()const

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

See QGraphicsWidget::windowFrameRect()const

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

See QGraphicsWidget::windowTitle()const

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

See QGraphicsWidget::windowType()const

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

See QGraphicsItem::boundingRect()const

*/ @io.qt.QtUninvokable public io.qt.core.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*)

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

See QGraphicsWidget::closeEvent(QCloseEvent*)

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

See QObject::event(QEvent*)

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

See QGraphicsItem::focusInEvent(QFocusEvent*)

*/ @io.qt.QtUninvokable protected void focusInEvent(io.qt.gui.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)

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

See QGraphicsItem::focusOutEvent(QFocusEvent*)

*/ @io.qt.QtUninvokable protected void focusOutEvent(io.qt.gui.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

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

See QGraphicsWidget::grabKeyboardEvent(QEvent*)

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

See QGraphicsWidget::grabMouseEvent(QEvent*)

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

See QGraphicsWidget::hideEvent(QHideEvent*)

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

See QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*)

*/ @io.qt.QtUninvokable protected void hoverLeaveEvent(io.qt.widgets.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*)

*/ @io.qt.QtUninvokable protected void hoverMoveEvent(io.qt.widgets.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

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

See QGraphicsLayoutItem::isEmpty()const

*/ @io.qt.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)

*/ @io.qt.QtUninvokable protected java.lang.Object itemChange(io.qt.widgets.QGraphicsItem.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*)

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

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

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

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

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

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

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

See QGraphicsWidget::polishEvent()

*/ @io.qt.QtUninvokable protected void polishEvent(){ polishEvent_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void polishEvent_native(long __this__nativeId); @io.qt.QtUninvokable protected java.lang.Object propertyChange(java.lang.String propertyName, java.lang.Object value){ return propertyChange_native_cref_QString_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), propertyName, value); } @io.qt.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*)

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

See QGraphicsItem::sceneEvent(QEvent*)

*/ @io.qt.QtUninvokable protected boolean sceneEvent(io.qt.core.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)

*/ @io.qt.QtPropertyWriter(name="geometry") @io.qt.QtUninvokable public void setGeometry(io.qt.core.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

*/ @io.qt.QtUninvokable public io.qt.gui.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*)

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

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

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

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

*/ @io.qt.QtUninvokable protected io.qt.core.QSizeF sizeHint(io.qt.core.Qt.SizeHint which, io.qt.core.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*)

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

See QGraphicsWidget::ungrabMouseEvent(QEvent*)

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

See QGraphicsLayoutItem::updateGeometry()

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

See QGraphicsWidget::windowFrameEvent(QEvent*)

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

See QGraphicsWidget::windowFrameSectionAt(QPointF)const

*/ @io.qt.QtUninvokable protected io.qt.core.Qt.WindowFrameSection windowFrameSectionAt(io.qt.core.QPointF pos){ return io.qt.core.Qt.WindowFrameSection.resolve(windowFrameSectionAt_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos))); } @io.qt.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.QGraphicsWidget first, io.qt.widgets.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. */ @io.qt.NativeAccess protected QGraphicsWidget(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. */ @io.qt.NativeAccess protected QGraphicsWidget(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QGraphicsWidget instance, QDeclarativeConstructor constructor); /** * @see #getWindowFrameMargins(double[]) */ @io.qt.QtUninvokable public final io.qt.core.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]); } }