io.qt.widgets.QGraphicsSceneHelpEvent Maven / Gradle / Ivy
package io.qt.widgets;
/**
* Events when a tooltip is requested
* Java wrapper for Qt class QGraphicsSceneHelpEvent
*/
public class QGraphicsSceneHelpEvent extends io.qt.widgets.QGraphicsSceneEvent
{
/**
* 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);
}
public QGraphicsSceneHelpEvent(io.qt.core.QEvent.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
*/
@io.qt.QtUninvokable
public final io.qt.core.QPointF scenePos(){
return scenePos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF scenePos_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneHelpEvent::screenPos()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPoint screenPos(){
return screenPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPoint screenPos_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public final void setScenePos(io.qt.core.QPointF pos){
setScenePos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@io.qt.QtUninvokable
private native void setScenePos_native_cref_QPointF(long __this__nativeId, long pos);
@io.qt.QtUninvokable
public final void setScreenPos(io.qt.core.QPoint pos){
setScreenPos_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@io.qt.QtUninvokable
private native void setScreenPos_native_cref_QPoint(long __this__nativeId, long pos);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QGraphicsSceneHelpEvent(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy