io.qt.widgets.QGraphicsSceneHelpEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.widgets;
import io.qt.*;
/**
* Events when a tooltip is requested
* Java wrapper for Qt class QGraphicsSceneHelpEvent
*/
public class QGraphicsSceneHelpEvent extends io.qt.widgets.QGraphicsSceneEvent
{
/**
* See QGraphicsSceneHelpEvent:: QGraphicsSceneHelpEvent(QEvent::Type)
*/
public QGraphicsSceneHelpEvent(io.qt.core.QEvent.@NonNull Type type){
super((QPrivateConstructor)null);
initialize_native(this, type);
}
private native static void initialize_native(QGraphicsSceneHelpEvent instance, io.qt.core.QEvent.Type type);
/**
* See QGraphicsSceneHelpEvent:: 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 QGraphicsSceneHelpEvent:: 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 QGraphicsSceneHelpEvent:: 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 QGraphicsSceneHelpEvent:: 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 QGraphicsSceneHelpEvent(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QGraphicsSceneHelpEvent(io.qt.core.QEvent.Type)}
* with type = io.qt.core.QEvent.Type.None
.
*/
public QGraphicsSceneHelpEvent() {
this(io.qt.core.QEvent.Type.None);
}
/**
* 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));
}
}