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

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

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

import io.qt.*;


/**
 * 

Widget for displaying the contents of a QGraphicsScene

*

Java wrapper for Qt class QGraphicsView

*/ public class QGraphicsView extends io.qt.widgets.QAbstractScrollArea { @QtPropertyMember(enabled=false) private Object __rcScene = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsView.class); /** *

Java wrapper for Qt enum QGraphicsView::CacheModeFlag

* * @see CacheMode */ public enum CacheModeFlag implements QtFlagEnumerator { /** *

Representing QGraphicsView::CacheNone

*/ CacheNone(0), /** *

Representing QGraphicsView::CacheBackground

*/ CacheBackground(1); static { QtJambi_LibraryUtilities.initialize(); } private CacheModeFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull CacheMode asFlags() { return new CacheMode(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull CacheMode combined(@NonNull CacheModeFlag 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 CacheMode cleared(@NonNull CacheModeFlag e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link CacheMode} from the entries. * @param values entries * @return new flag */ public static @NonNull CacheMode flags(@Nullable CacheModeFlag @NonNull... values) { return new CacheMode(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull CacheModeFlag resolve(int value) { switch (value) { case 0: return CacheNone; case 1: return CacheBackground; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link CacheModeFlag} */ public static final class CacheMode extends QFlags implements Comparable { private static final long serialVersionUID = 0x7ba3f09c85d8f4cdL; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new CacheMode where the flags in args are set. * @param args enum entries */ public CacheMode(@Nullable CacheModeFlag @NonNull... args){ super(args); } /** * Creates a new CacheMode with given value. * @param value */ public CacheMode(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new CacheMode */ @Override public final @NonNull CacheMode combined(@StrictNonNull CacheModeFlag e){ return new CacheMode(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull CacheMode setFlag(@Nullable CacheModeFlag 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 CacheMode setFlag(@Nullable CacheModeFlag 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 CacheMode. * @return array of enum entries */ @Override public final @NonNull CacheModeFlag @NonNull[] flags(){ return super.flags(CacheModeFlag.values()); } /** * {@inheritDoc} */ @Override public final @NonNull CacheMode clone(){ return new CacheMode(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull CacheMode other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QGraphicsView::DragMode

*/ public enum DragMode implements QtEnumerator { /** *

Representing QGraphicsView::NoDrag

*/ NoDrag(0), /** *

Representing QGraphicsView::ScrollHandDrag

*/ ScrollHandDrag(1), /** *

Representing QGraphicsView::RubberBandDrag

*/ RubberBandDrag(2); static { QtJambi_LibraryUtilities.initialize(); } private DragMode(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 DragMode resolve(int value) { switch (value) { case 0: return NoDrag; case 1: return ScrollHandDrag; case 2: return RubberBandDrag; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QGraphicsView::OptimizationFlag

* * @see OptimizationFlags */ public enum OptimizationFlag implements QtFlagEnumerator { /** *

Representing QGraphicsView::DontSavePainterState

*/ DontSavePainterState(1), /** *

Representing QGraphicsView::DontAdjustForAntialiasing

*/ DontAdjustForAntialiasing(2), /** *

Representing QGraphicsView::IndirectPainting

*/ IndirectPainting(4); static { QtJambi_LibraryUtilities.initialize(); } private OptimizationFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull OptimizationFlags asFlags() { return new OptimizationFlags(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull OptimizationFlags combined(@NonNull OptimizationFlag 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 OptimizationFlags cleared(@NonNull OptimizationFlag e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link OptimizationFlags} from the entries. * @param values entries * @return new flag */ public static @NonNull OptimizationFlags flags(@Nullable OptimizationFlag @NonNull... values) { return new OptimizationFlags(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull OptimizationFlag resolve(int value) { switch (value) { case 1: return DontSavePainterState; case 2: return DontAdjustForAntialiasing; case 4: return IndirectPainting; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link OptimizationFlag} */ public static final class OptimizationFlags extends QFlags implements Comparable { private static final long serialVersionUID = 0x442ad1da5b21d528L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new OptimizationFlags where the flags in args are set. * @param args enum entries */ public OptimizationFlags(@Nullable OptimizationFlag @NonNull... args){ super(args); } /** * Creates a new OptimizationFlags with given value. * @param value */ public OptimizationFlags(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new OptimizationFlags */ @Override public final @NonNull OptimizationFlags combined(@StrictNonNull OptimizationFlag e){ return new OptimizationFlags(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull OptimizationFlags setFlag(@Nullable OptimizationFlag 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 OptimizationFlags setFlag(@Nullable OptimizationFlag 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 OptimizationFlags. * @return array of enum entries */ @Override public final @NonNull OptimizationFlag @NonNull[] flags(){ return super.flags(OptimizationFlag.values()); } /** * {@inheritDoc} */ @Override public final @NonNull OptimizationFlags clone(){ return new OptimizationFlags(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull OptimizationFlags other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QGraphicsView::ViewportAnchor

*/ public enum ViewportAnchor implements QtEnumerator { /** *

Representing QGraphicsView::NoAnchor

*/ NoAnchor(0), /** *

Representing QGraphicsView::AnchorViewCenter

*/ AnchorViewCenter(1), /** *

Representing QGraphicsView::AnchorUnderMouse

*/ AnchorUnderMouse(2); static { QtJambi_LibraryUtilities.initialize(); } private ViewportAnchor(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 ViewportAnchor resolve(int value) { switch (value) { case 0: return NoAnchor; case 1: return AnchorViewCenter; case 2: return AnchorUnderMouse; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QGraphicsView::ViewportUpdateMode

*/ public enum ViewportUpdateMode implements QtEnumerator { /** *

Representing QGraphicsView::FullViewportUpdate

*/ FullViewportUpdate(0), /** *

Representing QGraphicsView::MinimalViewportUpdate

*/ MinimalViewportUpdate(1), /** *

Representing QGraphicsView::SmartViewportUpdate

*/ SmartViewportUpdate(2), /** *

Representing QGraphicsView::NoViewportUpdate

*/ NoViewportUpdate(3), /** *

Representing QGraphicsView::BoundingRectViewportUpdate

*/ BoundingRectViewportUpdate(4); static { QtJambi_LibraryUtilities.initialize(); } private ViewportUpdateMode(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 ViewportUpdateMode resolve(int value) { switch (value) { case 0: return FullViewportUpdate; case 1: return MinimalViewportUpdate; case 2: return SmartViewportUpdate; case 3: return NoViewportUpdate; case 4: return BoundingRectViewportUpdate; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QGraphicsView::rubberBandChanged(QRect,QPointF,QPointF)

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

See QGraphicsView::QGraphicsView(QGraphicsScene*,QWidget*)

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

See QGraphicsView::QGraphicsView(QWidget*)

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

See QGraphicsView::alignment()const

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

See QGraphicsView::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 QGraphicsView::cacheMode()const

*/ @QtPropertyReader(name="cacheMode") @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull CacheMode cacheMode(){ return new io.qt.widgets.QGraphicsView.CacheMode(cacheMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int cacheMode_native_constfct(long __this__nativeId); /** *

See QGraphicsView::centerOn(QPointF)

*/ @QtUninvokable public final void centerOn(io.qt.core.@NonNull QPointF pos){ centerOn_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @QtUninvokable private native void centerOn_native_cref_QPointF(long __this__nativeId, long pos); /** *

See QGraphicsView::centerOn(const QGraphicsItem*)

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

See QGraphicsView::centerOn(qreal,qreal)

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

See QGraphicsView::dragMode()const

*/ @QtPropertyReader(name="dragMode") @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull DragMode dragMode(){ return io.qt.widgets.QGraphicsView.DragMode.resolve(dragMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int dragMode_native_constfct(long __this__nativeId); /** *

See QGraphicsView::ensureVisible(QRectF,int,int)

*/ @QtUninvokable public final void ensureVisible(io.qt.core.@NonNull QRectF rect, int xmargin, int ymargin){ ensureVisible_native_cref_QRectF_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), xmargin, ymargin); } @QtUninvokable private native void ensureVisible_native_cref_QRectF_int_int(long __this__nativeId, long rect, int xmargin, int ymargin); /** *

See QGraphicsView::ensureVisible(const QGraphicsItem*,int,int)

*/ @QtUninvokable public final void ensureVisible(io.qt.widgets.@Nullable QGraphicsItem item, int xmargin, int ymargin){ ensureVisible_native_const_QGraphicsItem_ptr_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), xmargin, ymargin); } @QtUninvokable private native void ensureVisible_native_const_QGraphicsItem_ptr_int_int(long __this__nativeId, long item, int xmargin, int ymargin); /** *

See QGraphicsView::ensureVisible(qreal,qreal,qreal,qreal,int,int)

*/ @QtUninvokable public final void ensureVisible(double x, double y, double w, double h, int xmargin, int ymargin){ ensureVisible_native_qreal_qreal_qreal_qreal_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h, xmargin, ymargin); } @QtUninvokable private native void ensureVisible_native_qreal_qreal_qreal_qreal_int_int(long __this__nativeId, double x, double y, double w, double h, int xmargin, int ymargin); /** *

See QGraphicsView::fitInView(QRectF,Qt::AspectRatioMode)

*/ @QtUninvokable public final void fitInView(io.qt.core.@NonNull QRectF rect, io.qt.core.Qt.@NonNull AspectRatioMode aspectRadioMode){ fitInView_native_cref_QRectF_Qt_AspectRatioMode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), aspectRadioMode.value()); } @QtUninvokable private native void fitInView_native_cref_QRectF_Qt_AspectRatioMode(long __this__nativeId, long rect, int aspectRadioMode); /** *

See QGraphicsView::fitInView(const QGraphicsItem*,Qt::AspectRatioMode)

*/ @QtUninvokable public final void fitInView(io.qt.widgets.@StrictNonNull QGraphicsItem item, io.qt.core.Qt.@NonNull AspectRatioMode aspectRadioMode){ java.util.Objects.requireNonNull(item, "Argument 'item': null not expected."); fitInView_native_const_QGraphicsItem_ptr_Qt_AspectRatioMode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item), aspectRadioMode.value()); } @QtUninvokable private native void fitInView_native_const_QGraphicsItem_ptr_Qt_AspectRatioMode(long __this__nativeId, long item, int aspectRadioMode); /** *

See QGraphicsView::fitInView(qreal,qreal,qreal,qreal,Qt::AspectRatioMode)

*/ @QtUninvokable public final void fitInView(double x, double y, double w, double h, io.qt.core.Qt.@NonNull AspectRatioMode aspectRadioMode){ fitInView_native_qreal_qreal_qreal_qreal_Qt_AspectRatioMode(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h, aspectRadioMode.value()); } @QtUninvokable private native void fitInView_native_qreal_qreal_qreal_qreal_Qt_AspectRatioMode(long __this__nativeId, double x, double y, double w, double h, int aspectRadioMode); /** *

See QGraphicsView::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 QGraphicsView::invalidateScene(QRectF,QGraphicsScene::SceneLayers)

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

See QGraphicsView::isInteractive()const

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

See QGraphicsView::isTransformed()const

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

See QGraphicsView::itemAt(QPoint)const

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

See QGraphicsView::itemAt(int,int)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGraphicsItem itemAt(int x, int y){ return itemAt_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @QtUninvokable private native io.qt.widgets.QGraphicsItem itemAt_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QGraphicsView::items()const

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

See QGraphicsView::items(QPainterPath,Qt::ItemSelectionMode)const

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

See QGraphicsView::items(QPoint)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QPoint pos){ return items_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @QtUninvokable private native io.qt.core.QList items_native_cref_QPoint_constfct(long __this__nativeId, long pos); /** *

See QGraphicsView::items(QPolygon,Qt::ItemSelectionMode)const

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

See QGraphicsView::items(QRect,Qt::ItemSelectionMode)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRect rect, io.qt.core.Qt.@NonNull ItemSelectionMode mode){ return items_native_cref_QRect_Qt_ItemSelectionMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), mode.value()); } @QtUninvokable private native io.qt.core.QList items_native_cref_QRect_Qt_ItemSelectionMode_constfct(long __this__nativeId, long rect, int mode); /** *

See QGraphicsView::items(int,int)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(int x, int y){ return items_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @QtUninvokable private native io.qt.core.QList items_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QGraphicsView::items(int,int,int,int,Qt::ItemSelectionMode)const

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

See QGraphicsView::mapFromScene(QPainterPath)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPainterPath mapFromScene(io.qt.gui.@NonNull QPainterPath path){ return mapFromScene_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path)); } @QtUninvokable private native io.qt.gui.QPainterPath mapFromScene_native_cref_QPainterPath_constfct(long __this__nativeId, long path); /** *

See QGraphicsView::mapFromScene(QPointF)const

*/ @QtUninvokable public final io.qt.core.@NonNull QPoint mapFromScene(io.qt.core.@NonNull QPointF point){ return mapFromScene_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point)); } @QtUninvokable private native io.qt.core.QPoint mapFromScene_native_cref_QPointF_constfct(long __this__nativeId, long point); /** *

See QGraphicsView::mapFromScene(QPolygonF)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygon mapFromScene(io.qt.gui.@NonNull QPolygonF polygon){ return mapFromScene_native_cref_QPolygonF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(polygon)); } @QtUninvokable private native io.qt.gui.QPolygon mapFromScene_native_cref_QPolygonF_constfct(long __this__nativeId, long polygon); /** *

See QGraphicsView::mapFromScene(QRectF)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygon mapFromScene(io.qt.core.@NonNull QRectF rect){ return mapFromScene_native_cref_QRectF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @QtUninvokable private native io.qt.gui.QPolygon mapFromScene_native_cref_QRectF_constfct(long __this__nativeId, long rect); /** *

See QGraphicsView::mapFromScene(qreal,qreal)const

*/ @QtUninvokable public final io.qt.core.@NonNull QPoint mapFromScene(double x, double y){ return mapFromScene_native_qreal_qreal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @QtUninvokable private native io.qt.core.QPoint mapFromScene_native_qreal_qreal_constfct(long __this__nativeId, double x, double y); /** *

See QGraphicsView::mapFromScene(qreal,qreal,qreal,qreal)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygon mapFromScene(double x, double y, double w, double h){ return mapFromScene_native_qreal_qreal_qreal_qreal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h); } @QtUninvokable private native io.qt.gui.QPolygon mapFromScene_native_qreal_qreal_qreal_qreal_constfct(long __this__nativeId, double x, double y, double w, double h); /** *

See QGraphicsView::mapToScene(QPainterPath)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPainterPath mapToScene(io.qt.gui.@NonNull QPainterPath path){ return mapToScene_native_cref_QPainterPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path)); } @QtUninvokable private native io.qt.gui.QPainterPath mapToScene_native_cref_QPainterPath_constfct(long __this__nativeId, long path); /** *

See QGraphicsView::mapToScene(QPoint)const

*/ @QtUninvokable public final io.qt.core.@NonNull QPointF mapToScene(io.qt.core.@NonNull QPoint point){ return mapToScene_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point)); } @QtUninvokable private native io.qt.core.QPointF mapToScene_native_cref_QPoint_constfct(long __this__nativeId, long point); /** *

See QGraphicsView::mapToScene(QPolygon)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygonF mapToScene(io.qt.gui.@NonNull QPolygon polygon){ return mapToScene_native_cref_QPolygon_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(polygon)); } @QtUninvokable private native io.qt.gui.QPolygonF mapToScene_native_cref_QPolygon_constfct(long __this__nativeId, long polygon); /** *

See QGraphicsView::mapToScene(QRect)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygonF mapToScene(io.qt.core.@NonNull QRect rect){ return mapToScene_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @QtUninvokable private native io.qt.gui.QPolygonF mapToScene_native_cref_QRect_constfct(long __this__nativeId, long rect); /** *

See QGraphicsView::mapToScene(int,int)const

*/ @QtUninvokable public final io.qt.core.@NonNull QPointF mapToScene(int x, int y){ return mapToScene_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @QtUninvokable private native io.qt.core.QPointF mapToScene_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QGraphicsView::mapToScene(int,int,int,int)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygonF mapToScene(int x, int y, int w, int h){ return mapToScene_native_int_int_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h); } @QtUninvokable private native io.qt.gui.QPolygonF mapToScene_native_int_int_int_int_constfct(long __this__nativeId, int x, int y, int w, int h); /** *

See QGraphicsView::optimizationFlags()const

*/ @QtPropertyReader(name="optimizationFlags") @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull OptimizationFlags optimizationFlags(){ return new io.qt.widgets.QGraphicsView.OptimizationFlags(optimizationFlags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int optimizationFlags_native_constfct(long __this__nativeId); /** *

See QGraphicsView::render(QPainter*,QRectF,QRect,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_native_QPainter_ptr_cref_QRectF_cref_QRect_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_QRect_Qt_AspectRatioMode(long __this__nativeId, long painter, long target, long source, int aspectRatioMode); /** *

See QGraphicsView::renderHints()const

*/ @QtPropertyReader(name="renderHints") @QtUninvokable public final io.qt.gui.QPainter.@NonNull RenderHints renderHints(){ return new io.qt.gui.QPainter.RenderHints(renderHints_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int renderHints_native_constfct(long __this__nativeId); /** *

See QGraphicsView::resetCachedContent()

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

See QGraphicsView::resetTransform()

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

See QGraphicsView::resizeAnchor()const

*/ @QtPropertyReader(name="resizeAnchor") @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull ViewportAnchor resizeAnchor(){ return io.qt.widgets.QGraphicsView.ViewportAnchor.resolve(resizeAnchor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int resizeAnchor_native_constfct(long __this__nativeId); /** *

See QGraphicsView::rotate(qreal)

*/ @QtUninvokable public final void rotate(double angle){ rotate_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), angle); } @QtUninvokable private native void rotate_native_qreal(long __this__nativeId, double angle); /** *

See QGraphicsView::rubberBandRect()const

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

See QGraphicsView::rubberBandSelectionMode()const

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

See QGraphicsView::scale(qreal,qreal)

*/ @QtUninvokable public final void scale(double sx, double sy){ scale_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), sx, sy); } @QtUninvokable private native void scale_native_qreal_qreal(long __this__nativeId, double sx, double sy); /** *

See QGraphicsView::scene()const

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

See QGraphicsView::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 QGraphicsView::setAlignment(Qt::Alignment)

*/ @QtPropertyWriter(name="alignment") @QtUninvokable public final void setAlignment(io.qt.core.Qt.@NonNull Alignment alignment){ setAlignment_native_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), alignment.value()); } @QtUninvokable private native void setAlignment_native_Qt_Alignment(long __this__nativeId, int alignment); /** *

See QGraphicsView::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 QGraphicsView::setCacheMode(QGraphicsView::CacheMode)

*/ @QtPropertyWriter(name="cacheMode") @QtUninvokable public final void setCacheMode(io.qt.widgets.QGraphicsView.@NonNull CacheMode mode){ setCacheMode_native_QGraphicsView_CacheMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setCacheMode_native_QGraphicsView_CacheMode(long __this__nativeId, int mode); /** *

See QGraphicsView::setDragMode(QGraphicsView::DragMode)

*/ @QtPropertyWriter(name="dragMode") @QtUninvokable public final void setDragMode(io.qt.widgets.QGraphicsView.@NonNull DragMode mode){ setDragMode_native_QGraphicsView_DragMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setDragMode_native_QGraphicsView_DragMode(long __this__nativeId, int mode); /** *

See QGraphicsView::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 QGraphicsView::setInteractive(bool)

*/ @QtPropertyWriter(name="interactive") @QtUninvokable public final void setInteractive(boolean allowed){ setInteractive_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), allowed); } @QtUninvokable private native void setInteractive_native_bool(long __this__nativeId, boolean allowed); /** *

See QGraphicsView::setOptimizationFlag(QGraphicsView::OptimizationFlag,bool)

*/ @QtUninvokable public final void setOptimizationFlag(io.qt.widgets.QGraphicsView.@NonNull OptimizationFlag flag, boolean enabled){ setOptimizationFlag_native_QGraphicsView_OptimizationFlag_bool(QtJambi_LibraryUtilities.internal.nativeId(this), flag.value(), enabled); } @QtUninvokable private native void setOptimizationFlag_native_QGraphicsView_OptimizationFlag_bool(long __this__nativeId, int flag, boolean enabled); /** *

See QGraphicsView::setOptimizationFlags(QGraphicsView::OptimizationFlags)

*/ @QtPropertyWriter(name="optimizationFlags") @QtUninvokable public final void setOptimizationFlags(io.qt.widgets.QGraphicsView.@NonNull OptimizationFlags flags){ setOptimizationFlags_native_QGraphicsView_OptimizationFlags(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value()); } @QtUninvokable private native void setOptimizationFlags_native_QGraphicsView_OptimizationFlags(long __this__nativeId, int flags); /** *

See QGraphicsView::setRenderHint(QPainter::RenderHint,bool)

*/ @QtUninvokable public final void setRenderHint(io.qt.gui.QPainter.@NonNull RenderHint hint, boolean enabled){ setRenderHint_native_QPainter_RenderHint_bool(QtJambi_LibraryUtilities.internal.nativeId(this), hint.value(), enabled); } @QtUninvokable private native void setRenderHint_native_QPainter_RenderHint_bool(long __this__nativeId, int hint, boolean enabled); /** *

See QGraphicsView::setRenderHints(QPainter::RenderHints)

*/ @QtPropertyWriter(name="renderHints") @QtUninvokable public final void setRenderHints(io.qt.gui.QPainter.@NonNull RenderHints hints){ setRenderHints_native_QPainter_RenderHints(QtJambi_LibraryUtilities.internal.nativeId(this), hints.value()); } @QtUninvokable private native void setRenderHints_native_QPainter_RenderHints(long __this__nativeId, int hints); /** *

See QGraphicsView::setResizeAnchor(QGraphicsView::ViewportAnchor)

*/ @QtPropertyWriter(name="resizeAnchor") @QtUninvokable public final void setResizeAnchor(io.qt.widgets.QGraphicsView.@NonNull ViewportAnchor anchor){ setResizeAnchor_native_QGraphicsView_ViewportAnchor(QtJambi_LibraryUtilities.internal.nativeId(this), anchor.value()); } @QtUninvokable private native void setResizeAnchor_native_QGraphicsView_ViewportAnchor(long __this__nativeId, int anchor); /** *

See QGraphicsView::setRubberBandSelectionMode(Qt::ItemSelectionMode)

*/ @QtPropertyWriter(name="rubberBandSelectionMode") @QtUninvokable public final void setRubberBandSelectionMode(io.qt.core.Qt.@NonNull ItemSelectionMode mode){ setRubberBandSelectionMode_native_Qt_ItemSelectionMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setRubberBandSelectionMode_native_Qt_ItemSelectionMode(long __this__nativeId, int mode); /** *

See QGraphicsView::setScene(QGraphicsScene*)

*/ @QtUninvokable public final void setScene(io.qt.widgets.@Nullable QGraphicsScene scene){ setScene_native_QGraphicsScene_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(scene)); __rcScene = scene; } @QtUninvokable private native void setScene_native_QGraphicsScene_ptr(long __this__nativeId, long scene); /** *

See QGraphicsView::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 QGraphicsView::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 QGraphicsView::setTransform(QTransform,bool)

*/ @QtUninvokable public final void setTransform(io.qt.gui.@NonNull QTransform matrix, boolean combine){ setTransform_native_cref_QTransform_bool(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(matrix), combine); } @QtUninvokable private native void setTransform_native_cref_QTransform_bool(long __this__nativeId, long matrix, boolean combine); /** *

See QGraphicsView::setTransformationAnchor(QGraphicsView::ViewportAnchor)

*/ @QtPropertyWriter(name="transformationAnchor") @QtUninvokable public final void setTransformationAnchor(io.qt.widgets.QGraphicsView.@NonNull ViewportAnchor anchor){ setTransformationAnchor_native_QGraphicsView_ViewportAnchor(QtJambi_LibraryUtilities.internal.nativeId(this), anchor.value()); } @QtUninvokable private native void setTransformationAnchor_native_QGraphicsView_ViewportAnchor(long __this__nativeId, int anchor); /** *

See QGraphicsView::setViewportUpdateMode(QGraphicsView::ViewportUpdateMode)

*/ @QtPropertyWriter(name="viewportUpdateMode") @QtUninvokable public final void setViewportUpdateMode(io.qt.widgets.QGraphicsView.@NonNull ViewportUpdateMode mode){ setViewportUpdateMode_native_QGraphicsView_ViewportUpdateMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setViewportUpdateMode_native_QGraphicsView_ViewportUpdateMode(long __this__nativeId, int mode); /** *

See QGraphicsView::shear(qreal,qreal)

*/ @QtUninvokable public final void shear(double sh, double sv){ shear_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), sh, sv); } @QtUninvokable private native void shear_native_qreal_qreal(long __this__nativeId, double sh, double sv); /** *

See QGraphicsView::transform()const

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

See QGraphicsView::transformationAnchor()const

*/ @QtPropertyReader(name="transformationAnchor") @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull ViewportAnchor transformationAnchor(){ return io.qt.widgets.QGraphicsView.ViewportAnchor.resolve(transformationAnchor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int transformationAnchor_native_constfct(long __this__nativeId); /** *

See QGraphicsView::translate(qreal,qreal)

*/ @QtUninvokable public final void translate(double dx, double dy){ translate_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @QtUninvokable private native void translate_native_qreal_qreal(long __this__nativeId, double dx, double dy); /** *

See QGraphicsView::updateScene(QList<QRectF>)

*/ public final void updateScene(java.util.@NonNull Collection rects){ updateScene_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), rects); } private native void updateScene_native_cref_QList(long __this__nativeId, java.util.Collection rects); /** *

See QGraphicsView::updateSceneRect(QRectF)

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

See QGraphicsView::viewportTransform()const

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

See QGraphicsView::viewportUpdateMode()const

*/ @QtPropertyReader(name="viewportUpdateMode") @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull ViewportUpdateMode viewportUpdateMode(){ return io.qt.widgets.QGraphicsView.ViewportUpdateMode.resolve(viewportUpdateMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int viewportUpdateMode_native_constfct(long __this__nativeId); /** *

See QWidget::contextMenuEvent(QContextMenuEvent*)

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

See QWidget::dragEnterEvent(QDragEnterEvent*)

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

See QWidget::dragLeaveEvent(QDragLeaveEvent*)

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

See QWidget::dragMoveEvent(QDragMoveEvent*)

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

See QGraphicsView::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 QGraphicsView::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 QGraphicsView::drawItems(QPainter*,int,QGraphicsItem*[],const QStyleOptionGraphicsItem[])

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

See QWidget::dropEvent(QDropEvent*)

*/ @QtUninvokable @Override protected void dropEvent(io.qt.gui.@Nullable QDropEvent event){ dropEvent_native_QDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void dropEvent_native_QDropEvent_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 QWidget::focusInEvent(QFocusEvent*)

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

See QWidget::focusNextPrevChild(bool)

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

See QWidget::focusOutEvent(QFocusEvent*)

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

See QWidget::inputMethodEvent(QInputMethodEvent*)

*/ @QtUninvokable @Override 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 QWidget::inputMethodQuery(Qt::InputMethodQuery)const

*/ @QtUninvokable @Override 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 QWidget::keyPressEvent(QKeyEvent*)

*/ @QtUninvokable @Override 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 QWidget::keyReleaseEvent(QKeyEvent*)

*/ @QtUninvokable @Override 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 QWidget::mouseDoubleClickEvent(QMouseEvent*)

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

See QWidget::mouseMoveEvent(QMouseEvent*)

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

See QWidget::mousePressEvent(QMouseEvent*)

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

See QWidget::mouseReleaseEvent(QMouseEvent*)

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

See QWidget::paintEvent(QPaintEvent*)

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

See QWidget::resizeEvent(QResizeEvent*)

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

See QAbstractScrollArea::scrollContentsBy(int,int)

*/ @QtUninvokable @Override protected void scrollContentsBy(int dx, int dy){ scrollContentsBy_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @QtUninvokable private native void scrollContentsBy_native_int_int(long __this__nativeId, int dx, int dy); /** *

See QAbstractScrollArea::setupViewport(QWidget*)

*/ @Override public void setupViewport(io.qt.widgets.@Nullable QWidget widget){ setupViewport_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } private native void setupViewport_native_QWidget_ptr(long __this__nativeId, long widget); /** *

See QWidget::showEvent(QShowEvent*)

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

See QWidget::sizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize sizeHint(){ return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId); /** *

See QAbstractScrollArea::viewportEvent(QEvent*)

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

See QWidget::wheelEvent(QWheelEvent*)

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

Overloaded constructor for {@link #QGraphicsView(io.qt.widgets.QGraphicsScene, io.qt.widgets.QWidget)} * with parent = null.

*/ public QGraphicsView(io.qt.widgets.@Nullable QGraphicsScene scene) { this(scene, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QGraphicsView(io.qt.widgets.QWidget)} * with parent = null.

*/ public QGraphicsView() { this((io.qt.widgets.QWidget)null); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment getAlignment() { return alignment(); } /** * @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 #cacheMode()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull CacheMode getCacheMode() { return cacheMode(); } /** *

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

*/ @QtUninvokable public final void centerOn(io.qt.core.@NonNull QPoint pos) { centerOn(new io.qt.core.QPointF(pos)); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull DragMode getDragMode() { return dragMode(); } /** *

Overloaded function for {@link #ensureVisible(io.qt.core.QRectF, int, int)} * with ymargin = 50.

*/ @QtUninvokable public final void ensureVisible(io.qt.core.@NonNull QRectF rect, int xmargin) { ensureVisible(rect, xmargin, (int)50); } /** *

Overloaded function for {@link #ensureVisible(io.qt.core.QRectF, int, int)}

*

with:

    *
  • xmargin = 50
  • *
  • ymargin = 50
  • *
*/ @QtUninvokable public final void ensureVisible(io.qt.core.@NonNull QRectF rect) { ensureVisible(rect, (int)50, (int)50); } /** *

Overloaded function for {@link #ensureVisible(io.qt.core.QRect, int, int)} * with ymargin = 50.

*/ @QtUninvokable public final void ensureVisible(io.qt.core.@NonNull QRect rect, int xmargin) { ensureVisible(rect, xmargin, (int)50); } /** *

Overloaded function for {@link #ensureVisible(io.qt.core.QRect, int, int)}

*

with:

    *
  • xmargin = 50
  • *
  • ymargin = 50
  • *
*/ @QtUninvokable public final void ensureVisible(io.qt.core.@NonNull QRect rect) { ensureVisible(rect, (int)50, (int)50); } /** *

Overloaded function for {@link #ensureVisible(io.qt.core.QRectF, int, int)}.

*/ @QtUninvokable public final void ensureVisible(io.qt.core.@NonNull QRect rect, int xmargin, int ymargin) { ensureVisible(new io.qt.core.QRectF(rect), xmargin, ymargin); } /** *

Overloaded function for {@link #ensureVisible(io.qt.widgets.QGraphicsItem, int, int)} * with ymargin = 50.

*/ @QtUninvokable public final void ensureVisible(io.qt.widgets.@Nullable QGraphicsItem item, int xmargin) { ensureVisible(item, xmargin, (int)50); } /** *

Overloaded function for {@link #ensureVisible(io.qt.widgets.QGraphicsItem, int, int)}

*

with:

    *
  • xmargin = 50
  • *
  • ymargin = 50
  • *
*/ @QtUninvokable public final void ensureVisible(io.qt.widgets.@Nullable QGraphicsItem item) { ensureVisible(item, (int)50, (int)50); } /** *

Overloaded function for {@link #ensureVisible(double, double, double, double, int, int)} * with ymargin = 50.

*/ @QtUninvokable public final void ensureVisible(double x, double y, double w, double h, int xmargin) { ensureVisible(x, y, w, h, xmargin, (int)50); } /** *

Overloaded function for {@link #ensureVisible(double, double, double, double, int, int)}

*

with:

    *
  • xmargin = 50
  • *
  • ymargin = 50
  • *
*/ @QtUninvokable public final void ensureVisible(double x, double y, double w, double h) { ensureVisible(x, y, w, h, (int)50, (int)50); } /** *

Overloaded function for {@link #fitInView(io.qt.core.QRectF, io.qt.core.Qt.AspectRatioMode)} * with aspectRadioMode = io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio.

*/ @QtUninvokable public final void fitInView(io.qt.core.@NonNull QRectF rect) { fitInView(rect, io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio); } /** *

Overloaded function for {@link #fitInView(io.qt.core.QRect, io.qt.core.Qt.AspectRatioMode)} * with aspectRadioMode = io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio.

*/ @QtUninvokable public final void fitInView(io.qt.core.@NonNull QRect rect) { fitInView(rect, io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio); } /** *

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

*/ @QtUninvokable public final void fitInView(io.qt.core.@NonNull QRect rect, io.qt.core.Qt.@NonNull AspectRatioMode aspectRadioMode) { fitInView(new io.qt.core.QRectF(rect), aspectRadioMode); } /** *

Overloaded function for {@link #fitInView(io.qt.widgets.QGraphicsItem, io.qt.core.Qt.AspectRatioMode)} * with aspectRadioMode = io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio.

*/ @QtUninvokable public final void fitInView(io.qt.widgets.@StrictNonNull QGraphicsItem item) { fitInView(item, io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio); } /** *

Overloaded function for {@link #fitInView(double, double, double, double, io.qt.core.Qt.AspectRatioMode)} * with aspectRadioMode = io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio.

*/ @QtUninvokable public final void fitInView(double x, double y, double w, double h) { fitInView(x, y, w, h, io.qt.core.Qt.AspectRatioMode.IgnoreAspectRatio); } /** * @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 #invalidateScene(io.qt.core.QRectF, io.qt.widgets.QGraphicsScene.SceneLayers)} * with layers = new io.qt.widgets.QGraphicsScene.SceneLayers(65535).

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

Overloaded function for {@link #invalidateScene(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 invalidateScene() { invalidateScene(new io.qt.core.QRectF(), new io.qt.widgets.QGraphicsScene.SceneLayers(65535)); } /** *

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

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

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

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

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

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

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

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

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

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

Overloaded function for {@link #items(io.qt.gui.QPainterPath, io.qt.core.Qt.ItemSelectionMode)} * with mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape.

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

Overloaded function for {@link #items(io.qt.gui.QPolygon, io.qt.core.Qt.ItemSelectionMode)} * with mode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape.

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.gui.@NonNull QPolygon polygon) { return items(polygon, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape); } /** *

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

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(io.qt.core.@NonNull QRect rect) { return items(rect, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape); } /** *

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

*/ @QtUninvokable public final io.qt.core.@NonNull QList items(int x, int y, int w, int h) { return items(x, y, w, h, io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape); } /** *

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

*/ @QtUninvokable public final io.qt.core.@NonNull QPoint mapFromScene(io.qt.core.@NonNull QPoint point) { return mapFromScene(new io.qt.core.QPointF(point)); } /** *

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

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygon mapFromScene(io.qt.core.@NonNull QRect rect) { return mapFromScene(new io.qt.core.QRectF(rect)); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull OptimizationFlags getOptimizationFlags() { return optimizationFlags(); } /** *

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.QRect, io.qt.core.Qt.AspectRatioMode)}

*

with:

    *
  • source = new io.qt.core.QRect()
  • *
  • 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.QRect(), io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

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

*

with:

    *
  • target = new io.qt.core.QRectF()
  • *
  • source = new io.qt.core.QRect()
  • *
  • 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.QRect(), io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

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.QRect, io.qt.core.QRect, io.qt.core.Qt.AspectRatioMode)}

*

with:

    *
  • source = new io.qt.core.QRect()
  • *
  • 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.QRect(), io.qt.core.Qt.AspectRatioMode.KeepAspectRatio); } /** *

Overloaded function for {@link #render(io.qt.gui.QPainter, io.qt.core.QRectF, io.qt.core.QRect, 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), source, aspectRatioMode); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.QPainter.@NonNull RenderHints getRenderHints() { return renderHints(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull ViewportAnchor getResizeAnchor() { return resizeAnchor(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull ItemSelectionMode getRubberBandSelectionMode() { return rubberBandSelectionMode(); } /** * @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 #setAlignment(io.qt.core.Qt.Alignment)}.

*/ @QtUninvokable public final void setAlignment(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... alignment) { setAlignment(new io.qt.core.Qt.Alignment(alignment)); } /** *

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 #setCacheMode(io.qt.widgets.QGraphicsView.CacheMode)}.

*/ @QtUninvokable public final void setCacheMode(io.qt.widgets.QGraphicsView.@NonNull CacheModeFlag @NonNull... mode) { setCacheMode(new io.qt.widgets.QGraphicsView.CacheMode(mode)); } /** *

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 #setOptimizationFlag(io.qt.widgets.QGraphicsView.OptimizationFlag, boolean)} * with enabled = true.

*/ @QtUninvokable public final void setOptimizationFlag(io.qt.widgets.QGraphicsView.@NonNull OptimizationFlag flag) { setOptimizationFlag(flag, (boolean)true); } /** *

Overloaded function for {@link #setOptimizationFlags(io.qt.widgets.QGraphicsView.OptimizationFlags)}.

*/ @QtUninvokable public final void setOptimizationFlags(io.qt.widgets.QGraphicsView.@NonNull OptimizationFlag @NonNull... flags) { setOptimizationFlags(new io.qt.widgets.QGraphicsView.OptimizationFlags(flags)); } /** *

Overloaded function for {@link #setRenderHint(io.qt.gui.QPainter.RenderHint, boolean)} * with enabled = true.

*/ @QtUninvokable public final void setRenderHint(io.qt.gui.QPainter.@NonNull RenderHint hint) { setRenderHint(hint, (boolean)true); } /** *

Overloaded function for {@link #setRenderHints(io.qt.gui.QPainter.RenderHints)}.

*/ @QtUninvokable public final void setRenderHints(io.qt.gui.QPainter.@NonNull RenderHint @NonNull... hints) { setRenderHints(new io.qt.gui.QPainter.RenderHints(hints)); } /** *

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 #setTransform(io.qt.gui.QTransform, boolean)} * with combine = false.

*/ @QtUninvokable public final void setTransform(io.qt.gui.@NonNull QTransform matrix) { setTransform(matrix, (boolean)false); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull ViewportAnchor getTransformationAnchor() { return transformationAnchor(); } /** *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QGraphicsView.@NonNull ViewportUpdateMode getViewportUpdateMode() { return viewportUpdateMode(); } /** *

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy