io.qt.widgets.QGraphicsSceneHoverEvent Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Hover events in the graphics view framework
* Java wrapper for Qt class QGraphicsSceneHoverEvent
*/
public class QGraphicsSceneHoverEvent extends io.qt.widgets.QGraphicsSceneEvent
{
/**
* See QGraphicsSceneHoverEvent:: QGraphicsSceneHoverEvent(QEvent::Type)
*/
public QGraphicsSceneHoverEvent(io.qt.core.QEvent.@NonNull Type type){
super((QPrivateConstructor)null);
initialize_native(this, type);
}
private native static void initialize_native(QGraphicsSceneHoverEvent instance, io.qt.core.QEvent.Type type);
/**
* See QGraphicsSceneHoverEvent:: lastPos()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPointF lastPos(){
return lastPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF lastPos_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneHoverEvent:: lastScenePos()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPointF lastScenePos(){
return lastScenePos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF lastScenePos_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneHoverEvent:: lastScreenPos()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint lastScreenPos(){
return lastScreenPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint lastScreenPos_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneHoverEvent:: modifiers()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull KeyboardModifiers modifiers(){
return new io.qt.core.Qt.KeyboardModifiers(modifiers_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int modifiers_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneHoverEvent:: pos()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPointF pos(){
return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF pos_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneHoverEvent:: scenePos()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPointF scenePos(){
return scenePos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF scenePos_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneHoverEvent:: screenPos()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint screenPos(){
return screenPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint screenPos_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneHoverEvent:: setLastPos(QPointF)
*/
@QtUninvokable
public final void setLastPos(io.qt.core.@NonNull QPointF pos){
setLastPos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native void setLastPos_native_cref_QPointF(long __this__nativeId, long pos);
/**
* See QGraphicsSceneHoverEvent:: setLastScenePos(QPointF)
*/
@QtUninvokable
public final void setLastScenePos(io.qt.core.@NonNull QPointF pos){
setLastScenePos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native void setLastScenePos_native_cref_QPointF(long __this__nativeId, long pos);
/**
* See QGraphicsSceneHoverEvent:: setLastScreenPos(QPoint)
*/
@QtUninvokable
public final void setLastScreenPos(io.qt.core.@NonNull QPoint pos){
setLastScreenPos_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native void setLastScreenPos_native_cref_QPoint(long __this__nativeId, long pos);
/**
* See QGraphicsSceneHoverEvent:: setModifiers(Qt::KeyboardModifiers)
*/
@QtUninvokable
public final void setModifiers(io.qt.core.Qt.@NonNull KeyboardModifiers modifiers){
setModifiers_native_Qt_KeyboardModifiers(QtJambi_LibraryUtilities.internal.nativeId(this), modifiers.value());
}
@QtUninvokable
private native void setModifiers_native_Qt_KeyboardModifiers(long __this__nativeId, int modifiers);
/**
* See QGraphicsSceneHoverEvent:: setPos(QPointF)
*/
@QtUninvokable
public final void setPos(io.qt.core.@NonNull QPointF pos){
setPos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native void setPos_native_cref_QPointF(long __this__nativeId, long pos);
/**
* See QGraphicsSceneHoverEvent:: setScenePos(QPointF)
*/
@QtUninvokable
public final void setScenePos(io.qt.core.@NonNull QPointF pos){
setScenePos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native void setScenePos_native_cref_QPointF(long __this__nativeId, long pos);
/**
* See QGraphicsSceneHoverEvent:: setScreenPos(QPoint)
*/
@QtUninvokable
public final void setScreenPos(io.qt.core.@NonNull QPoint pos){
setScreenPos_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native void setScreenPos_native_cref_QPoint(long __this__nativeId, long pos);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGraphicsSceneHoverEvent(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QGraphicsSceneHoverEvent(io.qt.core.QEvent.Type)}
* with type = io.qt.core.QEvent.Type.None
.
*/
public QGraphicsSceneHoverEvent() {
this(io.qt.core.QEvent.Type.None);
}
/**
* Overloaded function for {@link #setLastPos(io.qt.core.QPointF)}.
*/
@QtUninvokable
public final void setLastPos(io.qt.core.@NonNull QPoint pos) {
setLastPos(new io.qt.core.QPointF(pos));
}
/**
* Overloaded function for {@link #setLastScenePos(io.qt.core.QPointF)}.
*/
@QtUninvokable
public final void setLastScenePos(io.qt.core.@NonNull QPoint pos) {
setLastScenePos(new io.qt.core.QPointF(pos));
}
/**
* Overloaded function for {@link #setModifiers(io.qt.core.Qt.KeyboardModifiers)}.
*/
@QtUninvokable
public final void setModifiers(io.qt.core.Qt.@NonNull KeyboardModifier @NonNull... modifiers) {
setModifiers(new io.qt.core.Qt.KeyboardModifiers(modifiers));
}
/**
* Overloaded function for {@link #setPos(io.qt.core.QPointF)}.
*/
@QtUninvokable
public final void setPos(io.qt.core.@NonNull QPoint pos) {
setPos(new io.qt.core.QPointF(pos));
}
/**
* Overloaded function for {@link #setScenePos(io.qt.core.QPointF)}.
*/
@QtUninvokable
public final void setScenePos(io.qt.core.@NonNull QPoint pos) {
setScenePos(new io.qt.core.QPointF(pos));
}
}