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

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

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

import io.qt.*;


/**
 * 

The description of triggered gestures

*

Java wrapper for Qt class QGestureEvent

*/ public class QGestureEvent extends io.qt.core.QEvent { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private Object __rcGesture = null; @QtPropertyMember(enabled=false) private Object __rcWidget = null; /** *

See QGestureEvent::QGestureEvent(QList<QGesture*>)

*/ public QGestureEvent(java.util.@NonNull Collection gestures){ super((QPrivateConstructor)null); initialize_native(this, gestures); } private native static void initialize_native(QGestureEvent instance, java.util.Collection gestures); /** *

See QGestureEvent::accept(QGesture*)

*/ @QtUninvokable public final void accept(io.qt.widgets.@Nullable QGesture arg__1){ accept_native_QGesture_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void accept_native_QGesture_ptr(long __this__nativeId, long arg__1); /** *

See QGestureEvent::accept(Qt::GestureType)

*/ @QtUninvokable public final void accept(io.qt.core.Qt.@NonNull GestureType arg__1){ accept_native_Qt_GestureType(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @QtUninvokable private native void accept_native_Qt_GestureType(long __this__nativeId, int arg__1); /** *

See QGestureEvent::activeGestures()const

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

See QGestureEvent::canceledGestures()const

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

See QGestureEvent::gesture(Qt::GestureType)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QGesture gesture(io.qt.core.Qt.@NonNull GestureType type){ return gesture_native_Qt_GestureType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), type.value()); } @QtUninvokable private native io.qt.widgets.QGesture gesture_native_Qt_GestureType_constfct(long __this__nativeId, int type); /** *

See QGestureEvent::gestures()const

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

See QGestureEvent::ignore(QGesture*)

*/ @QtUninvokable public final void ignore(io.qt.widgets.@Nullable QGesture arg__1){ ignore_native_QGesture_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void ignore_native_QGesture_ptr(long __this__nativeId, long arg__1); /** *

See QGestureEvent::ignore(Qt::GestureType)

*/ @QtUninvokable public final void ignore(io.qt.core.Qt.@NonNull GestureType arg__1){ ignore_native_Qt_GestureType(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @QtUninvokable private native void ignore_native_Qt_GestureType(long __this__nativeId, int arg__1); /** *

See QGestureEvent::isAccepted(QGesture*)const

*/ @QtUninvokable public final boolean isAccepted(io.qt.widgets.@Nullable QGesture arg__1){ return isAccepted_native_QGesture_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native boolean isAccepted_native_QGesture_ptr_constfct(long __this__nativeId, long arg__1); /** *

See QGestureEvent::isAccepted(Qt::GestureType)const

*/ @QtUninvokable public final boolean isAccepted(io.qt.core.Qt.@NonNull GestureType arg__1){ return isAccepted_native_Qt_GestureType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @QtUninvokable private native boolean isAccepted_native_Qt_GestureType_constfct(long __this__nativeId, int arg__1); /** *

See QGestureEvent::mapToGraphicsScene(QPointF)const

*/ @QtUninvokable public final io.qt.core.@NonNull QPointF mapToGraphicsScene(io.qt.core.@NonNull QPointF gesturePoint){ return mapToGraphicsScene_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(gesturePoint)); } @QtUninvokable private native io.qt.core.QPointF mapToGraphicsScene_native_cref_QPointF_constfct(long __this__nativeId, long gesturePoint); /** *

See QGestureEvent::setAccepted(QGesture*,bool)

*/ @QtUninvokable public final void setAccepted(io.qt.widgets.@Nullable QGesture arg__1, boolean arg__2){ setAccepted_native_QGesture_ptr_bool(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1), arg__2); __rcGesture = arg__1; } @QtUninvokable private native void setAccepted_native_QGesture_ptr_bool(long __this__nativeId, long arg__1, boolean arg__2); /** *

See QGestureEvent::setAccepted(Qt::GestureType,bool)

*/ @QtUninvokable public final void setAccepted(io.qt.core.Qt.@NonNull GestureType arg__1, boolean arg__2){ setAccepted_native_Qt_GestureType_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value(), arg__2); } @QtUninvokable private native void setAccepted_native_Qt_GestureType_bool(long __this__nativeId, int arg__1, boolean arg__2); /** *

See QGestureEvent::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 QGestureEvent::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 QGestureEvent(QPrivateConstructor p) { super(p); } /** *

See operator<<(QDebug,const QGestureEvent*)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

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

*/ @QtUninvokable public final io.qt.core.@NonNull QPointF mapToGraphicsScene(io.qt.core.@NonNull QPoint gesturePoint) { return mapToGraphicsScene(new io.qt.core.QPointF(gesturePoint)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy