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

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

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

import io.qt.*;


/**
 * 

Surface for managing a large number of 2D graphical items

*

Java wrapper for Qt class QGraphicsScene

*/ public class QGraphicsScene extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private Object __rcFocusItem = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsScene.class); /** *

Java wrapper for Qt enum QGraphicsScene::ItemIndexMethod

*/ public enum ItemIndexMethod implements QtEnumerator { /** *

Representing QGraphicsScene::BspTreeIndex

*/ BspTreeIndex(0), /** *

Representing QGraphicsScene::NoIndex

*/ NoIndex(-1); static { QtJambi_LibraryUtilities.initialize(); } private ItemIndexMethod(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ItemIndexMethod resolve(int value) { switch (value) { case 0: return BspTreeIndex; case -1: return NoIndex; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QGraphicsScene::SceneLayer

* * @see SceneLayers */ public enum SceneLayer implements QtFlagEnumerator { /** *

Representing QGraphicsScene::ItemLayer

*/ ItemLayer(1), /** *

Representing QGraphicsScene::BackgroundLayer

*/ BackgroundLayer(2), /** *

Representing QGraphicsScene::ForegroundLayer

*/ ForegroundLayer(4), /** *

Representing QGraphicsScene::AllLayers

*/ AllLayers(65535); static { QtJambi_LibraryUtilities.initialize(); } private SceneLayer(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull SceneLayers asFlags() { return new SceneLayers(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull SceneLayers combined(@NonNull SceneLayer e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull SceneLayers cleared(@NonNull SceneLayer e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link SceneLayers} from the entries. * @param values entries * @return new flag */ public static @NonNull SceneLayers flags(@Nullable SceneLayer @NonNull... values) { return new SceneLayers(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull SceneLayer resolve(int value) { switch (value) { case 1: return ItemLayer; case 2: return BackgroundLayer; case 4: return ForegroundLayer; case 65535: return AllLayers; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link SceneLayer} */ public static final class SceneLayers extends QFlags implements Comparable { private static final long serialVersionUID = 0x5176f5639c8a5e4fL; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new SceneLayers where the flags in args are set. * @param args enum entries */ public SceneLayers(@Nullable SceneLayer @NonNull... args){ super(args); } /** * Creates a new SceneLayers with given value. * @param value */ public SceneLayers(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new SceneLayers */ @Override public final @NonNull SceneLayers combined(@StrictNonNull SceneLayer e){ return new SceneLayers(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull SceneLayers setFlag(@Nullable SceneLayer e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull SceneLayers setFlag(@Nullable SceneLayer e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this SceneLayers. * @return array of enum entries */ @Override public final @NonNull SceneLayer @NonNull[] flags(){ return super.flags(SceneLayer.values()); } /** * {@inheritDoc} */ @Override public final @NonNull SceneLayers clone(){ return new SceneLayers(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull SceneLayers other){ return Integer.compare(value(), other.value()); } } /** *

See QGraphicsScene::changed(QList<QRectF>)

*/ public final @NonNull Signal1> changed = new Signal1<>(); /** *

See QGraphicsScene::focusItemChanged(QGraphicsItem*,QGraphicsItem*,Qt::FocusReason)

*/ public final @NonNull Signal3 focusItemChanged = new Signal3<>(); /** *

See QGraphicsScene::sceneRectChanged(QRectF)

*/ public final @NonNull Signal1 sceneRectChanged = new Signal1<>(); /** *

See QGraphicsScene::selectionChanged()

*/ public final @NonNull Signal0 selectionChanged = new Signal0(); /** *

See QGraphicsScene::QGraphicsScene(QObject*)

*/ public QGraphicsScene(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QGraphicsScene instance, io.qt.core.QObject parent); /** *

See QGraphicsScene::QGraphicsScene(QRectF,QObject*)

*/ public QGraphicsScene(io.qt.core.@NonNull QRectF sceneRect, io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, sceneRect, parent); } private native static void initialize_native(QGraphicsScene instance, io.qt.core.QRectF sceneRect, io.qt.core.QObject parent); /** *

See QGraphicsScene::QGraphicsScene(qreal,qreal,qreal,qreal,QObject*)

*/ public QGraphicsScene(double x, double y, double width, double height, io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, x, y, width, height, parent); } private native static void initialize_native(QGraphicsScene instance, double x, double y, double width, double height, io.qt.core.QObject parent); /** *

See QGraphicsScene::activePanel()const

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

See QGraphicsScene::activeWindow()const

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

See QGraphicsScene::addEllipse(QRectF,QPen,QBrush)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsEllipseItem addEllipse(io.qt.core.@NonNull QRectF rect, io.qt.gui.@NonNull QPen pen, io.qt.gui.@NonNull QBrush brush){ io.qt.widgets.@Nullable QGraphicsEllipseItem __qt_return_value = addEllipse_native_cref_QRectF_cref_QPen_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), QtJambi_LibraryUtilities.internal.checkedNativeId(pen), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsEllipseItem addEllipse_native_cref_QRectF_cref_QPen_cref_QBrush(long __this__nativeId, long rect, long pen, long brush); /** *

See QGraphicsScene::addEllipse(qreal,qreal,qreal,qreal,QPen,QBrush)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsEllipseItem addEllipse(double x, double y, double w, double h, io.qt.gui.@NonNull QPen pen, io.qt.gui.@NonNull QBrush brush){ io.qt.widgets.@Nullable QGraphicsEllipseItem __qt_return_value = addEllipse_native_qreal_qreal_qreal_qreal_cref_QPen_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h, QtJambi_LibraryUtilities.internal.checkedNativeId(pen), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsEllipseItem addEllipse_native_qreal_qreal_qreal_qreal_cref_QPen_cref_QBrush(long __this__nativeId, double x, double y, double w, double h, long pen, long brush); /** *

See QGraphicsScene::addItem(QGraphicsItem*)

*/ @QtUninvokable public final void addItem(io.qt.widgets.@Nullable QGraphicsItem item){ addItem_native_QGraphicsItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item)); QtJambi_LibraryUtilities.internal.setCppOwnership(item); } @QtUninvokable private native void addItem_native_QGraphicsItem_ptr(long __this__nativeId, long item); /** *

See QGraphicsScene::addLine(QLineF,QPen)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLineItem addLine(io.qt.core.@NonNull QLineF line, io.qt.gui.@NonNull QPen pen){ io.qt.widgets.@Nullable QGraphicsLineItem __qt_return_value = addLine_native_cref_QLineF_cref_QPen(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(line), QtJambi_LibraryUtilities.internal.checkedNativeId(pen)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsLineItem addLine_native_cref_QLineF_cref_QPen(long __this__nativeId, long line, long pen); /** *

See QGraphicsScene::addLine(qreal,qreal,qreal,qreal,QPen)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLineItem addLine(double x1, double y1, double x2, double y2, io.qt.gui.@NonNull QPen pen){ io.qt.widgets.@Nullable QGraphicsLineItem __qt_return_value = addLine_native_qreal_qreal_qreal_qreal_cref_QPen(QtJambi_LibraryUtilities.internal.nativeId(this), x1, y1, x2, y2, QtJambi_LibraryUtilities.internal.checkedNativeId(pen)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsLineItem addLine_native_qreal_qreal_qreal_qreal_cref_QPen(long __this__nativeId, double x1, double y1, double x2, double y2, long pen); /** *

See QGraphicsScene::addPath(QPainterPath,QPen,QBrush)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsPathItem addPath(io.qt.gui.@NonNull QPainterPath path, io.qt.gui.@NonNull QPen pen, io.qt.gui.@NonNull QBrush brush){ io.qt.widgets.@Nullable QGraphicsPathItem __qt_return_value = addPath_native_cref_QPainterPath_cref_QPen_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path), QtJambi_LibraryUtilities.internal.checkedNativeId(pen), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsPathItem addPath_native_cref_QPainterPath_cref_QPen_cref_QBrush(long __this__nativeId, long path, long pen, long brush); /** *

See QGraphicsScene::addPixmap(QPixmap)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsPixmapItem addPixmap(io.qt.gui.@NonNull QPixmap pixmap){ io.qt.widgets.@Nullable QGraphicsPixmapItem __qt_return_value = addPixmap_native_cref_QPixmap(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsPixmapItem addPixmap_native_cref_QPixmap(long __this__nativeId, long pixmap); /** *

See QGraphicsScene::addPolygon(QPolygonF,QPen,QBrush)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsPolygonItem addPolygon(io.qt.gui.@NonNull QPolygonF polygon, io.qt.gui.@NonNull QPen pen, io.qt.gui.@NonNull QBrush brush){ io.qt.widgets.@Nullable QGraphicsPolygonItem __qt_return_value = addPolygon_native_cref_QPolygonF_cref_QPen_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(polygon), QtJambi_LibraryUtilities.internal.checkedNativeId(pen), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsPolygonItem addPolygon_native_cref_QPolygonF_cref_QPen_cref_QBrush(long __this__nativeId, long polygon, long pen, long brush); /** *

See QGraphicsScene::addRect(QRectF,QPen,QBrush)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsRectItem addRect(io.qt.core.@NonNull QRectF rect, io.qt.gui.@NonNull QPen pen, io.qt.gui.@NonNull QBrush brush){ io.qt.widgets.@Nullable QGraphicsRectItem __qt_return_value = addRect_native_cref_QRectF_cref_QPen_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), QtJambi_LibraryUtilities.internal.checkedNativeId(pen), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsRectItem addRect_native_cref_QRectF_cref_QPen_cref_QBrush(long __this__nativeId, long rect, long pen, long brush); /** *

See QGraphicsScene::addRect(qreal,qreal,qreal,qreal,QPen,QBrush)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsRectItem addRect(double x, double y, double w, double h, io.qt.gui.@NonNull QPen pen, io.qt.gui.@NonNull QBrush brush){ io.qt.widgets.@Nullable QGraphicsRectItem __qt_return_value = addRect_native_qreal_qreal_qreal_qreal_cref_QPen_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h, QtJambi_LibraryUtilities.internal.checkedNativeId(pen), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsRectItem addRect_native_qreal_qreal_qreal_qreal_cref_QPen_cref_QBrush(long __this__nativeId, double x, double y, double w, double h, long pen, long brush); /** *

See QGraphicsScene::addSimpleText(QString,QFont)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsSimpleTextItem addSimpleText(java.lang.@NonNull String text, io.qt.gui.@NonNull QFont font){ io.qt.widgets.@Nullable QGraphicsSimpleTextItem __qt_return_value = addSimpleText_native_cref_QString_cref_QFont(QtJambi_LibraryUtilities.internal.nativeId(this), text, QtJambi_LibraryUtilities.internal.checkedNativeId(font)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsSimpleTextItem addSimpleText_native_cref_QString_cref_QFont(long __this__nativeId, java.lang.String text, long font); /** *

See QGraphicsScene::addText(QString,QFont)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsTextItem addText(java.lang.@NonNull String text, io.qt.gui.@NonNull QFont font){ io.qt.widgets.@Nullable QGraphicsTextItem __qt_return_value = addText_native_cref_QString_cref_QFont(QtJambi_LibraryUtilities.internal.nativeId(this), text, QtJambi_LibraryUtilities.internal.checkedNativeId(font)); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsTextItem addText_native_cref_QString_cref_QFont(long __this__nativeId, java.lang.String text, long font); /** *

See QGraphicsScene::addWidget(QWidget*,Qt::WindowFlags)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsProxyWidget addWidget(io.qt.widgets.@Nullable QWidget widget, io.qt.core.Qt.@NonNull WindowFlags wFlags){ io.qt.widgets.@Nullable QGraphicsProxyWidget __qt_return_value = addWidget_native_QWidget_ptr_Qt_WindowFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget), wFlags.value()); QtJambi_LibraryUtilities.internal.setCppOwnership(widget); QtJambi_LibraryUtilities.internal.setCppOwnership(__qt_return_value); return __qt_return_value; } @QtUninvokable private native io.qt.widgets.QGraphicsProxyWidget addWidget_native_QWidget_ptr_Qt_WindowFlags(long __this__nativeId, long widget, int wFlags); /** *

See QGraphicsScene::advance()

*/ public final void advance(){ advance_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void advance_native(long __this__nativeId); /** *

See QGraphicsScene::backgroundBrush()const

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

See QGraphicsScene::bspTreeDepth()const

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

See QGraphicsScene::clear()

*/ public final void clear(){ clear_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void clear_native(long __this__nativeId); /** *

See QGraphicsScene::clearFocus()

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

See QGraphicsScene::clearSelection()

*/ public final void clearSelection(){ clearSelection_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void clearSelection_native(long __this__nativeId); /** *

See QGraphicsScene::collidingItems(const QGraphicsItem*,Qt::ItemSelectionMode)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList collidingItems(io.qt.widgets.@Nullable QGraphicsItem item, io.qt.core.Qt.@NonNull ItemSelectionMode mode){ return collidingItems_native_const_QGraphicsItem_ptr_Qt_ItemSelectionMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), mode.value()); } @QtUninvokable private native io.qt.core.QList collidingItems_native_const_QGraphicsItem_ptr_Qt_ItemSelectionMode_constfct(long __this__nativeId, long item, int mode); /** *

See QGraphicsScene::createItemGroup(QList<QGraphicsItem*>)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsItemGroup createItemGroup(java.util.@NonNull Collection items){ return createItemGroup_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), items); } @QtUninvokable private native io.qt.widgets.QGraphicsItemGroup createItemGroup_native_cref_QList(long __this__nativeId, java.util.Collection items); /** *

See QGraphicsScene::destroyItemGroup(QGraphicsItemGroup*)

*/ @QtUninvokable public final void destroyItemGroup(io.qt.widgets.@Nullable QGraphicsItemGroup group){ destroyItemGroup_native_QGraphicsItemGroup_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(group)); } @QtUninvokable private native void destroyItemGroup_native_QGraphicsItemGroup_ptr(long __this__nativeId, long group); /** *

See QGraphicsScene::focusItem()const

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

See QGraphicsScene::focusOnTouch()const

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

See QGraphicsScene::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 QGraphicsScene::foregroundBrush()const

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

See QGraphicsScene::hasFocus()const

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

See QGraphicsScene::height()const

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

See QGraphicsScene::invalidate(QRectF,QGraphicsScene::SceneLayers)

*/ public final void invalidate(io.qt.core.@NonNull QRectF rect, io.qt.widgets.QGraphicsScene.@NonNull SceneLayers layers){ invalidate_native_cref_QRectF_QGraphicsScene_SceneLayers(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), layers.value()); } private native void invalidate_native_cref_QRectF_QGraphicsScene_SceneLayers(long __this__nativeId, long rect, int layers); /** *

See QGraphicsScene::invalidate(qreal,qreal,qreal,qreal,QGraphicsScene::SceneLayers)

*/ @QtUninvokable public final void invalidate(double x, double y, double w, double h, io.qt.widgets.QGraphicsScene.@NonNull SceneLayers layers){ invalidate_native_qreal_qreal_qreal_qreal_QGraphicsScene_SceneLayers(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h, layers.value()); } @QtUninvokable private native void invalidate_native_qreal_qreal_qreal_qreal_QGraphicsScene_SceneLayers(long __this__nativeId, double x, double y, double w, double h, int layers); /** *

See QGraphicsScene::isActive()const

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

See QGraphicsScene::itemAt(QPointF,QTransform)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsItem itemAt(io.qt.core.@NonNull QPointF pos, io.qt.gui.@NonNull QTransform deviceTransform){ return itemAt_native_cref_QPointF_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos), QtJambi_LibraryUtilities.internal.checkedNativeId(deviceTransform)); } @QtUninvokable private native io.qt.widgets.QGraphicsItem itemAt_native_cref_QPointF_cref_QTransform_constfct(long __this__nativeId, long pos, long deviceTransform); /** *

See QGraphicsScene::itemAt(qreal,qreal,QTransform)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsItem itemAt(double x, double y, io.qt.gui.@NonNull QTransform deviceTransform){ return itemAt_native_qreal_qreal_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, QtJambi_LibraryUtilities.internal.checkedNativeId(deviceTransform)); } @QtUninvokable private native io.qt.widgets.QGraphicsItem itemAt_native_qreal_qreal_cref_QTransform_constfct(long __this__nativeId, double x, double y, long deviceTransform); /** *

See QGraphicsScene::itemIndexMethod()const

*/ @QtPropertyReader(name="itemIndexMethod") @QtUninvokable public final io.qt.widgets.QGraphicsScene.@NonNull ItemIndexMethod itemIndexMethod(){ return io.qt.widgets.QGraphicsScene.ItemIndexMethod.resolve(itemIndexMethod_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int itemIndexMethod_native_constfct(long __this__nativeId); /** *

Returns all visible items that, depending on mode, are either inside or intersect with the specified path, in a list sorted using order. In this case, "visible" defines items for which: isVisible() returns true, effectiveOpacity() returns a value greater than 0.0 (which is fully transparent) and the parent item does not clip it

*

See QGraphicsScene::items(QPainterPath,Qt::ItemSelectionMode,Qt::SortOrder,QTransform)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.gui.@NonNull QPainterPath path, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order, io.qt.gui.@NonNull QTransform deviceTransform){ return items_native_cref_QPainterPath_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path), mode.value(), order.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(deviceTransform)); } @QtUninvokable private native io.qt.core.QList items_native_cref_QPainterPath_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(long __this__nativeId, long path, int mode, int order, long deviceTransform); /** *

Returns all visible items that, depending on mode, are at the specified pos in a list sorted using order. In this case, "visible" defines items for which: isVisible() returns true, effectiveOpacity() returns a value greater than 0.0 (which is fully transparent) and the parent item does not clip it

*

See QGraphicsScene::items(QPointF,Qt::ItemSelectionMode,Qt::SortOrder,QTransform)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QPointF pos, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order, io.qt.gui.@NonNull QTransform deviceTransform){ return items_native_cref_QPointF_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos), mode.value(), order.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(deviceTransform)); } @QtUninvokable private native io.qt.core.QList items_native_cref_QPointF_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(long __this__nativeId, long pos, int mode, int order, long deviceTransform); /** *

Returns all visible items that, depending on mode, are either inside or intersect with the specified polygon, in a list sorted using order. In this case, "visible" defines items for which: isVisible() returns true, effectiveOpacity() returns a value greater than 0.0 (which is fully transparent) and the parent item does not clip it

*

See QGraphicsScene::items(QPolygonF,Qt::ItemSelectionMode,Qt::SortOrder,QTransform)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.gui.@NonNull QPolygonF polygon, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order, io.qt.gui.@NonNull QTransform deviceTransform){ return items_native_cref_QPolygonF_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(polygon), mode.value(), order.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(deviceTransform)); } @QtUninvokable private native io.qt.core.QList items_native_cref_QPolygonF_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(long __this__nativeId, long polygon, int mode, int order, long deviceTransform); /** *

Returns all visible items that, depending on mode, are either inside or intersect with the specified rect, in a list sorted using order. In this case, "visible" defines items for which: isVisible() returns true, effectiveOpacity() returns a value greater than 0.0 (which is fully transparent) and the parent item does not clip it

*

See QGraphicsScene::items(QRectF,Qt::ItemSelectionMode,Qt::SortOrder,QTransform)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRectF rect, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order, io.qt.gui.@NonNull QTransform deviceTransform){ return items_native_cref_QRectF_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), mode.value(), order.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(deviceTransform)); } @QtUninvokable private native io.qt.core.QList items_native_cref_QRectF_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(long __this__nativeId, long rect, int mode, int order, long deviceTransform); /** *

See QGraphicsScene::items(Qt::SortOrder)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.Qt.@NonNull SortOrder order){ return items_native_Qt_SortOrder_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), order.value()); } @QtUninvokable private native io.qt.core.QList items_native_Qt_SortOrder_constfct(long __this__nativeId, int order); /** *

Returns all visible items that, depending on mode, are either inside or intersect with the rectangle defined by x, y, w and h, in a list sorted using order. In this case, "visible" defines items for which: isVisible() returns true, effectiveOpacity() returns a value greater than 0.0 (which is fully transparent) and the parent item does not clip it

*

See QGraphicsScene::items(qreal,qreal,qreal,qreal,Qt::ItemSelectionMode,Qt::SortOrder,QTransform)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(double x, double y, double w, double h, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order, io.qt.gui.@NonNull QTransform deviceTransform){ return items_native_qreal_qreal_qreal_qreal_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h, mode.value(), order.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(deviceTransform)); } @QtUninvokable private native io.qt.core.QList items_native_qreal_qreal_qreal_qreal_Qt_ItemSelectionMode_Qt_SortOrder_cref_QTransform_constfct(long __this__nativeId, double x, double y, double w, double h, int mode, int order, long deviceTransform); /** *

See QGraphicsScene::itemsBoundingRect()const

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

See QGraphicsScene::minimumRenderSize()const

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

See QGraphicsScene::mouseGrabberItem()const

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

See QGraphicsScene::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 QGraphicsScene::removeItem(QGraphicsItem*)

*/ @QtUninvokable public final void removeItem(io.qt.widgets.@Nullable QGraphicsItem item){ removeItem_native_QGraphicsItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item)); QtJambi_LibraryUtilities.internal.setDefaultOwnership(item); } @QtUninvokable private native void removeItem_native_QGraphicsItem_ptr(long __this__nativeId, long item); /** *

See QGraphicsScene::render(QPainter*,QRectF,QRectF,Qt::AspectRatioMode)

*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRectF target, io.qt.core.@NonNull QRectF source, io.qt.core.Qt.@NonNull AspectRatioMode aspectRatioMode){ render_native_QPainter_ptr_cref_QRectF_cref_QRectF_Qt_AspectRatioMode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(target), QtJambi_LibraryUtilities.internal.checkedNativeId(source), aspectRatioMode.value()); } @QtUninvokable private native void render_native_QPainter_ptr_cref_QRectF_cref_QRectF_Qt_AspectRatioMode(long __this__nativeId, long painter, long target, long source, int aspectRatioMode); /** *

See QGraphicsScene::sceneRect()const

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

See QGraphicsScene::selectedItems()const

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

See QGraphicsScene::selectionArea()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPainterPath selectionArea(){ return selectionArea_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QPainterPath selectionArea_native_constfct(long __this__nativeId); /** *

See QGraphicsScene::sendEvent(QGraphicsItem*,QEvent*)

*/ @QtUninvokable public final boolean sendEvent(io.qt.widgets.@Nullable QGraphicsItem item, io.qt.core.@Nullable QEvent event){ return sendEvent_native_QGraphicsItem_ptr_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native boolean sendEvent_native_QGraphicsItem_ptr_QEvent_ptr(long __this__nativeId, long item, long event); /** *

See QGraphicsScene::setActivePanel(QGraphicsItem*)

*/ @QtUninvokable public final void setActivePanel(io.qt.widgets.@Nullable QGraphicsItem item){ setActivePanel_native_QGraphicsItem_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item)); QtJambi_LibraryUtilities.internal.setCppOwnership(item); } @QtUninvokable private native void setActivePanel_native_QGraphicsItem_ptr(long __this__nativeId, long item); /** *

See QGraphicsScene::setActiveWindow(QGraphicsWidget*)

*/ @QtUninvokable public final void setActiveWindow(io.qt.widgets.@Nullable QGraphicsWidget widget){ setActiveWindow_native_QGraphicsWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @QtUninvokable private native void setActiveWindow_native_QGraphicsWidget_ptr(long __this__nativeId, long widget); /** *

See QGraphicsScene::setBackgroundBrush(QBrush)

*/ @QtPropertyWriter(name="backgroundBrush") @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QBrush brush){ setBackgroundBrush_native_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); } @QtUninvokable private native void setBackgroundBrush_native_cref_QBrush(long __this__nativeId, long brush); /** *

See QGraphicsScene::setBspTreeDepth(int)

*/ @QtPropertyWriter(name="bspTreeDepth") @QtUninvokable public final void setBspTreeDepth(int depth){ setBspTreeDepth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), depth); } @QtUninvokable private native void setBspTreeDepth_native_int(long __this__nativeId, int depth); /** *

See QGraphicsScene::setFocus(Qt::FocusReason)

*/ @QtUninvokable public final void setFocus(io.qt.core.Qt.@NonNull FocusReason focusReason){ setFocus_native_Qt_FocusReason(QtJambi_LibraryUtilities.internal.nativeId(this), focusReason.value()); } @QtUninvokable private native void setFocus_native_Qt_FocusReason(long __this__nativeId, int focusReason); /** *

See QGraphicsScene::setFocusItem(QGraphicsItem*,Qt::FocusReason)

*/ @QtUninvokable public final void setFocusItem(io.qt.widgets.@Nullable QGraphicsItem item, io.qt.core.Qt.@NonNull FocusReason focusReason){ setFocusItem_native_QGraphicsItem_ptr_Qt_FocusReason(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), focusReason.value()); __rcFocusItem = item; } @QtUninvokable private native void setFocusItem_native_QGraphicsItem_ptr_Qt_FocusReason(long __this__nativeId, long item, int focusReason); /** *

See QGraphicsScene::setFocusOnTouch(bool)

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

See QGraphicsScene::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 QGraphicsScene::setForegroundBrush(QBrush)

*/ @QtPropertyWriter(name="foregroundBrush") @QtUninvokable public final void setForegroundBrush(io.qt.gui.@NonNull QBrush brush){ setForegroundBrush_native_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); } @QtUninvokable private native void setForegroundBrush_native_cref_QBrush(long __this__nativeId, long brush); /** *

See QGraphicsScene::setItemIndexMethod(QGraphicsScene::ItemIndexMethod)

*/ @QtPropertyWriter(name="itemIndexMethod") @QtUninvokable public final void setItemIndexMethod(io.qt.widgets.QGraphicsScene.@NonNull ItemIndexMethod method){ setItemIndexMethod_native_QGraphicsScene_ItemIndexMethod(QtJambi_LibraryUtilities.internal.nativeId(this), method.value()); } @QtUninvokable private native void setItemIndexMethod_native_QGraphicsScene_ItemIndexMethod(long __this__nativeId, int method); /** *

See QGraphicsScene::setMinimumRenderSize(qreal)

*/ @QtPropertyWriter(name="minimumRenderSize") @QtUninvokable public final void setMinimumRenderSize(double minSize){ setMinimumRenderSize_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), minSize); } @QtUninvokable private native void setMinimumRenderSize_native_qreal(long __this__nativeId, double minSize); /** *

See QGraphicsScene::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 QGraphicsScene::setSceneRect(QRectF)

*/ @QtPropertyWriter(name="sceneRect") @QtUninvokable public final void setSceneRect(io.qt.core.@NonNull QRectF rect){ setSceneRect_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @QtUninvokable private native void setSceneRect_native_cref_QRectF(long __this__nativeId, long rect); /** *

See QGraphicsScene::setSceneRect(qreal,qreal,qreal,qreal)

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

See QGraphicsScene::setSelectionArea(QPainterPath,QTransform)

*/ @QtUninvokable public final void setSelectionArea(io.qt.gui.@NonNull QPainterPath path, io.qt.gui.@NonNull QTransform deviceTransform){ setSelectionArea_native_cref_QPainterPath_cref_QTransform(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path), QtJambi_LibraryUtilities.internal.checkedNativeId(deviceTransform)); } @QtUninvokable private native void setSelectionArea_native_cref_QPainterPath_cref_QTransform(long __this__nativeId, long path, long deviceTransform); /** *

See QGraphicsScene::setSelectionArea(QPainterPath,Qt::ItemSelectionOperation,Qt::ItemSelectionMode,QTransform)

*/ @QtUninvokable public final void setSelectionArea(io.qt.gui.@NonNull QPainterPath path, io.qt.core.Qt.@NonNull ItemSelectionOperation selectionOperation, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.gui.@NonNull QTransform deviceTransform){ setSelectionArea_native_cref_QPainterPath_Qt_ItemSelectionOperation_Qt_ItemSelectionMode_cref_QTransform(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path), selectionOperation.value(), mode.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(deviceTransform)); } @QtUninvokable private native void setSelectionArea_native_cref_QPainterPath_Qt_ItemSelectionOperation_Qt_ItemSelectionMode_cref_QTransform(long __this__nativeId, long path, int selectionOperation, int mode, long deviceTransform); /** *

See QGraphicsScene::setStickyFocus(bool)

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

See QGraphicsScene::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)); } @QtUninvokable private native void setStyle_native_QStyle_ptr(long __this__nativeId, long style); /** *

See QGraphicsScene::stickyFocus()const

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

See QGraphicsScene::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 QGraphicsScene::update(QRectF)

*/ public final void update(io.qt.core.@NonNull QRectF rect){ update_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } private native void update_native_cref_QRectF(long __this__nativeId, long rect); /** *

See QGraphicsScene::update(qreal,qreal,qreal,qreal)

*/ @QtUninvokable public final void update(double x, double y, double w, double h){ update_native_qreal_qreal_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h); } @QtUninvokable private native void update_native_qreal_qreal_qreal_qreal(long __this__nativeId, double x, double y, double w, double h); /** *

See QGraphicsScene::views()const

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

See QGraphicsScene::width()const

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

See QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent*)

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

See QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent*)

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

See QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent*)

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

See QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent*)

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

See QGraphicsScene::drawBackground(QPainter*,QRectF)

*/ @QtUninvokable protected void drawBackground(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRectF rect){ drawBackground_native_QPainter_ptr_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @QtUninvokable private native void drawBackground_native_QPainter_ptr_cref_QRectF(long __this__nativeId, long painter, long rect); /** *

See QGraphicsScene::drawForeground(QPainter*,QRectF)

*/ @QtUninvokable protected void drawForeground(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRectF rect){ drawForeground_native_QPainter_ptr_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @QtUninvokable private native void drawForeground_native_QPainter_ptr_cref_QRectF(long __this__nativeId, long painter, long rect); /** *

See QGraphicsScene::drawItems(QPainter*,int,QGraphicsItem*[],const QStyleOptionGraphicsItem[],QWidget*)

*/ @QtUninvokable protected void drawItems(io.qt.gui.@Nullable QPainter painter, io.qt.widgets.@Nullable QGraphicsItem[] items, io.qt.widgets.@NonNull QStyleOptionGraphicsItem[] options, io.qt.widgets.@Nullable QWidget widget){ drawItems_native_QPainter_ptr_int_QGraphicsItem_ptr_ptr_const_QStyleOptionGraphicsItem_ptr_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), items, options, QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @QtUninvokable private native void drawItems_native_QPainter_ptr_int_QGraphicsItem_ptr_ptr_const_QStyleOptionGraphicsItem_ptr_QWidget_ptr(long __this__nativeId, long painter, io.qt.widgets.QGraphicsItem[] items, io.qt.widgets.QStyleOptionGraphicsItem[] options, long widget); /** *

See QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent*)

*/ @QtUninvokable protected void dropEvent(io.qt.widgets.@Nullable QGraphicsSceneDragDropEvent event){ dropEvent_native_QGraphicsSceneDragDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void dropEvent_native_QGraphicsSceneDragDropEvent_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 QObject::eventFilter(QObject*,QEvent*)

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

See QGraphicsScene::focusInEvent(QFocusEvent*)

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

See QGraphicsScene::focusNextPrevChild(bool)

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

See QGraphicsScene::focusOutEvent(QFocusEvent*)

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

See QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent*)

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

See QGraphicsScene::inputMethodEvent(QInputMethodEvent*)

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

See QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery)const

*/ @QtUninvokable public java.lang.Object inputMethodQuery(io.qt.core.Qt.@NonNull InputMethodQuery query){ return inputMethodQuery_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), query.value()); } @QtUninvokable private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int query); /** *

See QGraphicsScene::keyPressEvent(QKeyEvent*)

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

See QGraphicsScene::keyReleaseEvent(QKeyEvent*)

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

See QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)

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

See QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent*)

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

See QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*)

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

See QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*)

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

See QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent*)

*/ @QtUninvokable protected void wheelEvent(io.qt.widgets.@Nullable QGraphicsSceneWheelEvent event){ wheelEvent_native_QGraphicsSceneWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void wheelEvent_native_QGraphicsSceneWheelEvent_ptr(long __this__nativeId, long event); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGraphicsScene(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QGraphicsScene(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QGraphicsScene instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QGraphicsScene(io.qt.core.QObject)} * with parent = null.

*/ public QGraphicsScene() { this((io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QGraphicsScene(io.qt.core.QRectF, io.qt.core.QObject)} * with parent = null.

*/ public QGraphicsScene(io.qt.core.@NonNull QRectF sceneRect) { this(sceneRect, (io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QGraphicsScene(io.qt.core.QRect, io.qt.core.QObject)} * with parent = null.

*/ public QGraphicsScene(io.qt.core.@NonNull QRect sceneRect) { this(sceneRect, (io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QGraphicsScene(io.qt.core.QRectF, io.qt.core.QObject)}.

*/ public QGraphicsScene(io.qt.core.@NonNull QRect sceneRect, io.qt.core.@Nullable QObject parent) { this(new io.qt.core.QRectF(sceneRect), parent); } /** *

Overloaded constructor for {@link #QGraphicsScene(double, double, double, double, io.qt.core.QObject)} * with parent = null.

*/ public QGraphicsScene(double x, double y, double width, double height) { this(x, y, width, height, (io.qt.core.QObject)null); } /** *

Overloaded function for {@link #addEllipse(io.qt.core.QRectF, io.qt.gui.QPen, io.qt.gui.QBrush)} * with brush = new io.qt.gui.QBrush().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsEllipseItem addEllipse(io.qt.core.@NonNull QRectF rect, io.qt.gui.@NonNull QPen pen) { return addEllipse(rect, pen, new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addEllipse(io.qt.core.QRectF, io.qt.gui.QPen, io.qt.gui.QBrush)}

*

with:

    *
  • pen = new io.qt.gui.QPen()
  • *
  • brush = new io.qt.gui.QBrush()
  • *
*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsEllipseItem addEllipse(io.qt.core.@NonNull QRectF rect) { return addEllipse(rect, new io.qt.gui.QPen(), new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addEllipse(io.qt.core.QRect, io.qt.gui.QPen, io.qt.gui.QBrush)} * with brush = new io.qt.gui.QBrush().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsEllipseItem addEllipse(io.qt.core.@NonNull QRect rect, io.qt.gui.@NonNull QPen pen) { return addEllipse(rect, pen, new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addEllipse(io.qt.core.QRect, io.qt.gui.QPen, io.qt.gui.QBrush)}

*

with:

    *
  • pen = new io.qt.gui.QPen()
  • *
  • brush = new io.qt.gui.QBrush()
  • *
*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsEllipseItem addEllipse(io.qt.core.@NonNull QRect rect) { return addEllipse(rect, new io.qt.gui.QPen(), new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addEllipse(io.qt.core.QRectF, io.qt.gui.QPen, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsEllipseItem addEllipse(io.qt.core.@NonNull QRect rect, io.qt.gui.@NonNull QPen pen, io.qt.gui.@NonNull QBrush brush) { return addEllipse(new io.qt.core.QRectF(rect), pen, brush); } /** *

Overloaded function for {@link #addEllipse(double, double, double, double, io.qt.gui.QPen, io.qt.gui.QBrush)} * with brush = new io.qt.gui.QBrush().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsEllipseItem addEllipse(double x, double y, double w, double h, io.qt.gui.@NonNull QPen pen) { return addEllipse(x, y, w, h, pen, new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addEllipse(double, double, double, double, io.qt.gui.QPen, io.qt.gui.QBrush)}

*

with:

    *
  • pen = new io.qt.gui.QPen()
  • *
  • brush = new io.qt.gui.QBrush()
  • *
*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsEllipseItem addEllipse(double x, double y, double w, double h) { return addEllipse(x, y, w, h, new io.qt.gui.QPen(), new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addLine(io.qt.core.QLineF, io.qt.gui.QPen)} * with pen = new io.qt.gui.QPen().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLineItem addLine(io.qt.core.@NonNull QLineF line) { return addLine(line, new io.qt.gui.QPen()); } /** *

Overloaded function for {@link #addLine(io.qt.core.QLine, io.qt.gui.QPen)} * with pen = new io.qt.gui.QPen().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLineItem addLine(io.qt.core.@NonNull QLine line) { return addLine(line, new io.qt.gui.QPen()); } /** *

Overloaded function for {@link #addLine(io.qt.core.QLineF, io.qt.gui.QPen)}.

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLineItem addLine(io.qt.core.@NonNull QLine line, io.qt.gui.@NonNull QPen pen) { return addLine(new io.qt.core.QLineF(line), pen); } /** *

Overloaded function for {@link #addLine(double, double, double, double, io.qt.gui.QPen)} * with pen = new io.qt.gui.QPen().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsLineItem addLine(double x1, double y1, double x2, double y2) { return addLine(x1, y1, x2, y2, new io.qt.gui.QPen()); } /** *

Overloaded function for {@link #addPath(io.qt.gui.QPainterPath, io.qt.gui.QPen, io.qt.gui.QBrush)} * with brush = new io.qt.gui.QBrush().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsPathItem addPath(io.qt.gui.@NonNull QPainterPath path, io.qt.gui.@NonNull QPen pen) { return addPath(path, pen, new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addPath(io.qt.gui.QPainterPath, io.qt.gui.QPen, io.qt.gui.QBrush)}

*

with:

    *
  • pen = new io.qt.gui.QPen()
  • *
  • brush = new io.qt.gui.QBrush()
  • *
*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsPathItem addPath(io.qt.gui.@NonNull QPainterPath path) { return addPath(path, new io.qt.gui.QPen(), new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addPolygon(io.qt.gui.QPolygonF, io.qt.gui.QPen, io.qt.gui.QBrush)} * with brush = new io.qt.gui.QBrush().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsPolygonItem addPolygon(io.qt.gui.@NonNull QPolygonF polygon, io.qt.gui.@NonNull QPen pen) { return addPolygon(polygon, pen, new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addPolygon(io.qt.gui.QPolygonF, io.qt.gui.QPen, io.qt.gui.QBrush)}

*

with:

    *
  • pen = new io.qt.gui.QPen()
  • *
  • brush = new io.qt.gui.QBrush()
  • *
*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsPolygonItem addPolygon(io.qt.gui.@NonNull QPolygonF polygon) { return addPolygon(polygon, new io.qt.gui.QPen(), new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addRect(io.qt.core.QRectF, io.qt.gui.QPen, io.qt.gui.QBrush)} * with brush = new io.qt.gui.QBrush().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsRectItem addRect(io.qt.core.@NonNull QRectF rect, io.qt.gui.@NonNull QPen pen) { return addRect(rect, pen, new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addRect(io.qt.core.QRectF, io.qt.gui.QPen, io.qt.gui.QBrush)}

*

with:

    *
  • pen = new io.qt.gui.QPen()
  • *
  • brush = new io.qt.gui.QBrush()
  • *
*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsRectItem addRect(io.qt.core.@NonNull QRectF rect) { return addRect(rect, new io.qt.gui.QPen(), new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addRect(io.qt.core.QRect, io.qt.gui.QPen, io.qt.gui.QBrush)} * with brush = new io.qt.gui.QBrush().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsRectItem addRect(io.qt.core.@NonNull QRect rect, io.qt.gui.@NonNull QPen pen) { return addRect(rect, pen, new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addRect(io.qt.core.QRect, io.qt.gui.QPen, io.qt.gui.QBrush)}

*

with:

    *
  • pen = new io.qt.gui.QPen()
  • *
  • brush = new io.qt.gui.QBrush()
  • *
*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsRectItem addRect(io.qt.core.@NonNull QRect rect) { return addRect(rect, new io.qt.gui.QPen(), new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addRect(io.qt.core.QRectF, io.qt.gui.QPen, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsRectItem addRect(io.qt.core.@NonNull QRect rect, io.qt.gui.@NonNull QPen pen, io.qt.gui.@NonNull QBrush brush) { return addRect(new io.qt.core.QRectF(rect), pen, brush); } /** *

Overloaded function for {@link #addRect(double, double, double, double, io.qt.gui.QPen, io.qt.gui.QBrush)} * with brush = new io.qt.gui.QBrush().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsRectItem addRect(double x, double y, double w, double h, io.qt.gui.@NonNull QPen pen) { return addRect(x, y, w, h, pen, new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addRect(double, double, double, double, io.qt.gui.QPen, io.qt.gui.QBrush)}

*

with:

    *
  • pen = new io.qt.gui.QPen()
  • *
  • brush = new io.qt.gui.QBrush()
  • *
*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsRectItem addRect(double x, double y, double w, double h) { return addRect(x, y, w, h, new io.qt.gui.QPen(), new io.qt.gui.QBrush()); } /** *

Overloaded function for {@link #addSimpleText(java.lang.String, io.qt.gui.QFont)} * with font = new io.qt.gui.QFont().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsSimpleTextItem addSimpleText(java.lang.@NonNull String text) { return addSimpleText(text, new io.qt.gui.QFont()); } /** *

Overloaded function for {@link #addText(java.lang.String, io.qt.gui.QFont)} * with font = new io.qt.gui.QFont().

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsTextItem addText(java.lang.@NonNull String text) { return addText(text, new io.qt.gui.QFont()); } /** *

Overloaded function for {@link #addWidget(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)} * with wFlags = new io.qt.core.Qt.WindowFlags(0).

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsProxyWidget addWidget(io.qt.widgets.@Nullable QWidget widget) { return addWidget(widget, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded function for {@link #addWidget(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsProxyWidget addWidget(io.qt.widgets.@Nullable QWidget widget, io.qt.core.Qt.@NonNull WindowType @NonNull... wFlags) { return addWidget(widget, new io.qt.core.Qt.WindowFlags(wFlags)); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.@NonNull QBrush getBackgroundBrush() { return backgroundBrush(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getBspTreeDepth() { return bspTreeDepth(); } /** *

Overloaded function for {@link #collidingItems(io.qt.widgets.QGraphicsItem, io.qt.core.Qt.ItemSelectionMode)} * with mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape.

*/ @QtUninvokable public final io.qt.core.@NonNull QList collidingItems(io.qt.widgets.@Nullable QGraphicsItem item) { return collidingItems(item, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getFocusOnTouch() { return focusOnTouch(); } /** * @hidden *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.@NonNull QBrush getForegroundBrush() { return foregroundBrush(); } /** *

Overloaded function for {@link #invalidate(io.qt.core.QRectF, io.qt.widgets.QGraphicsScene.SceneLayers)} * with layers = new io.qt.widgets.QGraphicsScene.SceneLayers(65535).

*/ public final void invalidate(io.qt.core.@NonNull QRectF rect) { invalidate(rect, new io.qt.widgets.QGraphicsScene.SceneLayers(65535)); } /** *

Overloaded function for {@link #invalidate(io.qt.core.QRectF, io.qt.widgets.QGraphicsScene.SceneLayers)}

*

with:

    *
  • rect = new io.qt.core.QRectF()
  • *
  • layers = new io.qt.widgets.QGraphicsScene.SceneLayers(65535)
  • *
*/ public final void invalidate() { invalidate(new io.qt.core.QRectF(), new io.qt.widgets.QGraphicsScene.SceneLayers(65535)); } /** *

Overloaded function for {@link #invalidate(io.qt.core.QRect, io.qt.widgets.QGraphicsScene.SceneLayers)} * with layers = new io.qt.widgets.QGraphicsScene.SceneLayers(65535).

*/ public final void invalidate(io.qt.core.@NonNull QRect rect) { invalidate(rect, new io.qt.widgets.QGraphicsScene.SceneLayers(65535)); } /** *

Overloaded function for {@link #invalidate(io.qt.core.QRectF, io.qt.widgets.QGraphicsScene.SceneLayers)}.

*/ public final void invalidate(io.qt.core.@NonNull QRect rect, io.qt.widgets.QGraphicsScene.@NonNull SceneLayers layers) { invalidate(new io.qt.core.QRectF(rect), layers); } /** *

Overloaded function for {@link #invalidate(io.qt.core.QRectF, io.qt.widgets.QGraphicsScene.SceneLayers)}.

*/ public final void invalidate(io.qt.core.@NonNull QRectF rect, io.qt.widgets.QGraphicsScene.@NonNull SceneLayer @NonNull... layers) { invalidate(rect, new io.qt.widgets.QGraphicsScene.SceneLayers(layers)); } /** *

Overloaded function for {@link #invalidate(io.qt.core.QRectF, io.qt.widgets.QGraphicsScene.SceneLayers)}.

*/ public final void invalidate(io.qt.core.@NonNull QRect rect, io.qt.widgets.QGraphicsScene.@NonNull SceneLayer @NonNull... layers) { invalidate(new io.qt.core.QRectF(rect), new io.qt.widgets.QGraphicsScene.SceneLayers(layers)); } /** *

Overloaded function for {@link #invalidate(double, double, double, double, io.qt.widgets.QGraphicsScene.SceneLayers)} * with layers = new io.qt.widgets.QGraphicsScene.SceneLayers(65535).

*/ @QtUninvokable public final void invalidate(double x, double y, double w, double h) { invalidate(x, y, w, h, new io.qt.widgets.QGraphicsScene.SceneLayers(65535)); } /** *

Overloaded function for {@link #invalidate(double, double, double, double, io.qt.widgets.QGraphicsScene.SceneLayers)}.

*/ @QtUninvokable public final void invalidate(double x, double y, double w, double h, io.qt.widgets.QGraphicsScene.@NonNull SceneLayer @NonNull... layers) { invalidate(x, y, w, h, new io.qt.widgets.QGraphicsScene.SceneLayers(layers)); } /** *

Overloaded function for {@link #itemAt(io.qt.core.QPointF, io.qt.gui.QTransform)}.

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsItem itemAt(io.qt.core.@NonNull QPoint pos, io.qt.gui.@NonNull QTransform deviceTransform) { return itemAt(new io.qt.core.QPointF(pos), deviceTransform); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QGraphicsScene.@NonNull ItemIndexMethod getItemIndexMethod() { return itemIndexMethod(); } /** *

Overloaded function for {@link #items(io.qt.gui.QPainterPath, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)} * with deviceTransform = new io.qt.gui.QTransform().

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.gui.@NonNull QPainterPath path, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order) { return items(path, mode, order, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.gui.QPainterPath, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.gui.@NonNull QPainterPath path, io.qt.core.Qt.@NonNull ItemSelectionMode mode) { return items(path, mode, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.gui.QPainterPath, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
  • *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.gui.@NonNull QPainterPath path) { return items(path, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QPointF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)} * with deviceTransform = new io.qt.gui.QTransform().

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QPointF pos, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order) { return items(pos, mode, order, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QPointF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QPointF pos, io.qt.core.Qt.@NonNull ItemSelectionMode mode) { return items(pos, mode, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QPointF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
  • *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QPointF pos) { return items(pos, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QPoint, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)} * with deviceTransform = new io.qt.gui.QTransform().

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QPoint pos, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order) { return items(pos, mode, order, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QPoint, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QPoint pos, io.qt.core.Qt.@NonNull ItemSelectionMode mode) { return items(pos, mode, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QPoint, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
  • *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QPoint pos) { return items(pos, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QPointF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QPoint pos, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order, io.qt.gui.@NonNull QTransform deviceTransform) { return items(new io.qt.core.QPointF(pos), mode, order, deviceTransform); } /** *

Overloaded function for {@link #items(io.qt.gui.QPolygonF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)} * with deviceTransform = new io.qt.gui.QTransform().

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.gui.@NonNull QPolygonF polygon, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order) { return items(polygon, mode, order, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.gui.QPolygonF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.gui.@NonNull QPolygonF polygon, io.qt.core.Qt.@NonNull ItemSelectionMode mode) { return items(polygon, mode, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.gui.QPolygonF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
  • *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.gui.@NonNull QPolygonF polygon) { return items(polygon, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QRectF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)} * with deviceTransform = new io.qt.gui.QTransform().

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRectF rect, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order) { return items(rect, mode, order, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QRectF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRectF rect, io.qt.core.Qt.@NonNull ItemSelectionMode mode) { return items(rect, mode, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QRectF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
  • *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRectF rect) { return items(rect, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QRect, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)} * with deviceTransform = new io.qt.gui.QTransform().

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRect rect, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order) { return items(rect, mode, order, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QRect, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRect rect, io.qt.core.Qt.@NonNull ItemSelectionMode mode) { return items(rect, mode, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QRect, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}

*

with:

    *
  • mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
  • *
  • order = io.qt.core.Qt.SortOrder.DescendingOrder
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRect rect) { return items(rect, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape, io.qt.core.Qt.SortOrder.DescendingOrder, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #items(io.qt.core.QRectF, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRect rect, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order, io.qt.gui.@NonNull QTransform deviceTransform) { return items(new io.qt.core.QRectF(rect), mode, order, deviceTransform); } /** *

Overloaded function for {@link #items(io.qt.core.Qt.SortOrder)} * with order = io.qt.core.Qt.SortOrder.DescendingOrder.

*/ @QtUninvokable public final io.qt.core.@NonNull QList items() { return items(io.qt.core.Qt.SortOrder.DescendingOrder); } /** *

Overloaded function for {@link #items(double, double, double, double, io.qt.core.Qt.ItemSelectionMode, io.qt.core.Qt.SortOrder, io.qt.gui.QTransform)} * with deviceTransform = new io.qt.gui.QTransform().

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(double x, double y, double w, double h, io.qt.core.Qt.@NonNull ItemSelectionMode mode, io.qt.core.Qt.@NonNull SortOrder order) { return items(x, y, w, h, mode, order, new io.qt.gui.QTransform()); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getMinimumRenderSize() { return minimumRenderSize(); } /** * @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 #render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)} * with aspectRatioMode = io.qt.core.Qt.AspectRatioMode.KeepAspectRatio.

*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRectF target, io.qt.core.@NonNull QRectF source) { render(painter, target, source, io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)}

*

with:

    *
  • source = new io.qt.core.QRectF()
  • *
  • aspectRatioMode = io.qt.core.Qt.AspectRatioMode.KeepAspectRatio
  • *
*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRectF target) { render(painter, target, new io.qt.core.QRectF(), io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)}

*

with:

    *
  • target = new io.qt.core.QRectF()
  • *
  • source = new io.qt.core.QRectF()
  • *
  • aspectRatioMode = io.qt.core.Qt.AspectRatioMode.KeepAspectRatio
  • *
*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter) { render(painter, new io.qt.core.QRectF(), new io.qt.core.QRectF(), io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)} * with aspectRatioMode = io.qt.core.Qt.AspectRatioMode.KeepAspectRatio.

*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect target, io.qt.core.@NonNull QRectF source) { render(painter, target, source, io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)}

*

with:

    *
  • source = new io.qt.core.QRectF()
  • *
  • aspectRatioMode = io.qt.core.Qt.AspectRatioMode.KeepAspectRatio
  • *
*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect target) { render(painter, target, new io.qt.core.QRectF(), io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)}.

*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect target, io.qt.core.@NonNull QRectF source, io.qt.core.Qt.@NonNull AspectRatioMode aspectRatioMode) { render(painter, new io.qt.core.QRectF(target), source, aspectRatioMode); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRect, io.qt.core.Qt.AspectRatioMode)} * with aspectRatioMode = io.qt.core.Qt.AspectRatioMode.KeepAspectRatio.

*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRectF target, io.qt.core.@NonNull QRect source) { render(painter, target, source, io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)}.

*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRectF target, io.qt.core.@NonNull QRect source, io.qt.core.Qt.@NonNull AspectRatioMode aspectRatioMode) { render(painter, target, new io.qt.core.QRectF(source), aspectRatioMode); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.QRect, io.qt.core.Qt.AspectRatioMode)} * with aspectRatioMode = io.qt.core.Qt.AspectRatioMode.KeepAspectRatio.

*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect target, io.qt.core.@NonNull QRect source) { render(painter, target, source, io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)}.

*/ @QtUninvokable public final void render(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect target, io.qt.core.@NonNull QRect source, io.qt.core.Qt.@NonNull AspectRatioMode aspectRatioMode) { render(painter, new io.qt.core.QRectF(target), new io.qt.core.QRectF(source), aspectRatioMode); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QRectF getSceneRect() { return sceneRect(); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.core.Qt.@NonNull BrushStyle brush) { setBackgroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QColor brush) { setBackgroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.core.Qt.@NonNull GlobalColor brush) { setBackgroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QPixmap brush) { setBackgroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QImage brush) { setBackgroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QGradient brush) { setBackgroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setFocus(io.qt.core.Qt.FocusReason)} * with focusReason = io.qt.core.Qt.FocusReason.OtherFocusReason.

*/ @QtUninvokable public final void setFocus() { setFocus(io.qt.core.Qt.FocusReason.OtherFocusReason); } /** *

Overloaded function for {@link #setFocusItem(io.qt.widgets.QGraphicsItem, io.qt.core.Qt.FocusReason)} * with focusReason = io.qt.core.Qt.FocusReason.OtherFocusReason.

*/ @QtUninvokable public final void setFocusItem(io.qt.widgets.@Nullable QGraphicsItem item) { setFocusItem(item, io.qt.core.Qt.FocusReason.OtherFocusReason); } /** *

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 #setForegroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setForegroundBrush(io.qt.core.Qt.@NonNull BrushStyle brush) { setForegroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setForegroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setForegroundBrush(io.qt.gui.@NonNull QColor brush) { setForegroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setForegroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setForegroundBrush(io.qt.core.Qt.@NonNull GlobalColor brush) { setForegroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setForegroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setForegroundBrush(io.qt.gui.@NonNull QPixmap brush) { setForegroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setForegroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setForegroundBrush(io.qt.gui.@NonNull QImage brush) { setForegroundBrush(new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setForegroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setForegroundBrush(io.qt.gui.@NonNull QGradient brush) { setForegroundBrush(new io.qt.gui.QBrush(brush)); } /** *

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

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

Overloaded function for {@link #setSelectionArea(io.qt.gui.QPainterPath, io.qt.core.Qt.ItemSelectionOperation, io.qt.core.Qt.ItemSelectionMode, io.qt.gui.QTransform)} * with deviceTransform = new io.qt.gui.QTransform().

*/ @QtUninvokable public final void setSelectionArea(io.qt.gui.@NonNull QPainterPath path, io.qt.core.Qt.@NonNull ItemSelectionOperation selectionOperation, io.qt.core.Qt.@NonNull ItemSelectionMode mode) { setSelectionArea(path, selectionOperation, mode, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #setSelectionArea(io.qt.gui.QPainterPath, io.qt.core.Qt.ItemSelectionOperation, io.qt.core.Qt.ItemSelectionMode, io.qt.gui.QTransform)}

*

with:

    *
  • mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final void setSelectionArea(io.qt.gui.@NonNull QPainterPath path, io.qt.core.Qt.@NonNull ItemSelectionOperation selectionOperation) { setSelectionArea(path, selectionOperation, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #setSelectionArea(io.qt.gui.QPainterPath, io.qt.core.Qt.ItemSelectionOperation, io.qt.core.Qt.ItemSelectionMode, io.qt.gui.QTransform)}

*

with:

    *
  • selectionOperation = io.qt.core.Qt.ItemSelectionOperation.ReplaceSelection
  • *
  • mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
  • *
  • deviceTransform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final void setSelectionArea(io.qt.gui.@NonNull QPainterPath path) { setSelectionArea(path, io.qt.core.Qt.ItemSelectionOperation.ReplaceSelection, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape, new io.qt.gui.QTransform()); } /** * @hidden *

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

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

Overloaded function for {@link #update(io.qt.core.QRectF)} * with rect = new io.qt.core.QRectF().

*/ public final void update() { update(new io.qt.core.QRectF()); } /** *

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

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

Overloaded function for {@link #drawBackground(io.qt.gui.QPainter, io.qt.core.QRectF)}.

*/ @QtUninvokable protected final void drawBackground(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect) { drawBackground(painter, new io.qt.core.QRectF(rect)); } /** *

Overloaded function for {@link #drawForeground(io.qt.gui.QPainter, io.qt.core.QRectF)}.

*/ @QtUninvokable protected final void drawForeground(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect) { drawForeground(painter, new io.qt.core.QRectF(rect)); } /** *

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

*/ @QtUninvokable protected final void drawItems(io.qt.gui.@Nullable QPainter painter, io.qt.widgets.@Nullable QGraphicsItem[] items, io.qt.widgets.@NonNull QStyleOptionGraphicsItem[] options) { drawItems(painter, items, options, (io.qt.widgets.QWidget)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy