io.qt.widgets.QGraphicsSceneEvent 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.*;
/**
* Base class for all graphics view related events
* Java wrapper for Qt class QGraphicsSceneEvent
*/
public class QGraphicsSceneEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
@QtPropertyMember(enabled=false)
private Object __rcWidget = null;
/**
* See QGraphicsSceneEvent:: QGraphicsSceneEvent(QEvent::Type)
*/
public QGraphicsSceneEvent(io.qt.core.QEvent.@NonNull Type type){
super((QPrivateConstructor)null);
initialize_native(this, type);
}
private native static void initialize_native(QGraphicsSceneEvent instance, io.qt.core.QEvent.Type type);
/**
* See QGraphicsSceneEvent:: setTimestamp(quint64)
*/
@QtUninvokable
public final void setTimestamp(long ts){
setTimestamp_native_quint64(QtJambi_LibraryUtilities.internal.nativeId(this), ts);
}
@QtUninvokable
private native void setTimestamp_native_quint64(long __this__nativeId, long ts);
/**
* See QGraphicsSceneEvent:: setWidget(QWidget*)
*/
@QtUninvokable
public final void setWidget(io.qt.widgets.@Nullable QWidget widget){
setWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
__rcWidget = widget;
}
@QtUninvokable
private native void setWidget_native_QWidget_ptr(long __this__nativeId, long widget);
/**
* See QGraphicsSceneEvent:: timestamp()const
* This function was introduced in Qt 6.2.
*/
@QtUninvokable
public final long timestamp(){
return timestamp_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long timestamp_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneEvent:: widget()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QWidget widget(){
return widget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QWidget widget_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGraphicsSceneEvent(QPrivateConstructor p) { super(p); }
/**
* See operator<<(QDebug, const QGraphicsSceneEvent*)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
}