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

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

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

import io.qt.*;


/**
 * 

Events for widget moving in the graphics view framework

*

Java wrapper for Qt class QGraphicsSceneMoveEvent

*/ public class QGraphicsSceneMoveEvent extends io.qt.widgets.QGraphicsSceneEvent { /** *

See QGraphicsSceneMoveEvent::QGraphicsSceneMoveEvent()

*/ public QGraphicsSceneMoveEvent(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QGraphicsSceneMoveEvent instance); /** *

See QGraphicsSceneMoveEvent::newPos()const

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

See QGraphicsSceneMoveEvent::oldPos()const

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

See QGraphicsSceneMoveEvent::setNewPos(QPointF)

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

See QGraphicsSceneMoveEvent::setOldPos(QPointF)

*/ @QtUninvokable public final void setOldPos(io.qt.core.@NonNull QPointF pos){ setOldPos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @QtUninvokable private native void setOldPos_native_cref_QPointF(long __this__nativeId, long pos); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGraphicsSceneMoveEvent(QPrivateConstructor p) { super(p); } /** *

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy