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

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

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

import io.qt.*;


/**
 * 

Describes a tap-and-hold (aka LongTap) gesture made by the user

*

Java wrapper for Qt class QTapAndHoldGesture

*/ public class QTapAndHoldGesture extends io.qt.widgets.QGesture { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTapAndHoldGesture.class); /** *

See QTapAndHoldGesture::QTapAndHoldGesture(QObject*)

*/ public QTapAndHoldGesture(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QTapAndHoldGesture instance, io.qt.core.QObject parent); /** *

See QTapAndHoldGesture::position()const

*/ @QtPropertyReader(name="position") @QtUninvokable public final io.qt.core.@NonNull QPointF position(){ return position_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPointF position_native_constfct(long __this__nativeId); /** *

See QTapAndHoldGesture::setPosition(QPointF)

*/ @QtPropertyWriter(name="position") @QtUninvokable public final void setPosition(io.qt.core.@NonNull QPointF pos){ setPosition_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @QtUninvokable private native void setPosition_native_cref_QPointF(long __this__nativeId, long pos); /** *

See QTapAndHoldGesture::setTimeout(int)

*/ public native static void setTimeout(int msecs); /** *

See QTapAndHoldGesture::timeout()

*/ public native static int timeout(); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTapAndHoldGesture(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QTapAndHoldGesture(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QTapAndHoldGesture instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QTapAndHoldGesture(io.qt.core.QObject)} * with parent = null.

*/ public QTapAndHoldGesture() { this((io.qt.core.QObject)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #position()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QPointF getPosition() { return position(); } /** *

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

*/ @QtUninvokable public final void setPosition(io.qt.core.@NonNull QPoint pos) { setPosition(new io.qt.core.QPointF(pos)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy