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.1
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; @QtPropertyMember(enabled=false) private Object __rcWidget; /** *

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

* @param gestures */ 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*)

* @param arg__1 */ @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)

* @param arg__1 */ @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

* @return */ @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

* @return */ @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

* @param type * @return */ @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

* @return */ @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*)

* @param arg__1 */ @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)

* @param arg__1 */ @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

* @param arg__1 * @return */ @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

* @param arg__1 * @return */ @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

* @param gesturePoint * @return */ @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)

* @param arg__1 * @param arg__2 */ @QtUninvokable public final void setAccepted(io.qt.widgets.@Nullable QGesture arg__1, boolean arg__2){ InternalAccess.NativeIdInfo __arg__1__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(arg__1); setAccepted_native_QGesture_ptr_bool(QtJambi_LibraryUtilities.internal.nativeId(this), __arg__1__NativeIdInfo.nativeId(), arg__2); if (__arg__1__NativeIdInfo.needsReferenceCounting()) { __rcGesture = arg__1; }else{ __rcGesture = null; } } @QtUninvokable private native void setAccepted_native_QGesture_ptr_bool(long __this__nativeId, long arg__1, boolean arg__2); /** *

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

* @param arg__1 * @param arg__2 */ @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*)

* @param widget */ @QtUninvokable public final void setWidget(io.qt.widgets.@Nullable QWidget widget){ InternalAccess.NativeIdInfo __widget__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(widget); setWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __widget__NativeIdInfo.nativeId()); if (__widget__NativeIdInfo.needsReferenceCounting()) { __rcWidget = widget; }else{ __rcWidget = null; } } @QtUninvokable private native void setWidget_native_QWidget_ptr(long __this__nativeId, long widget); /** *

See QGestureEvent::widget()const

* @return */ @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 - 2025 Weber Informatics LLC | Privacy Policy