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

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

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

import io.qt.*;


/**
 * 

Describes a tap gesture made by the user

*

Java wrapper for Qt class QTapGesture

*/ public class QTapGesture 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(QTapGesture.class); /** *

See QTapGesture::QTapGesture(QObject*)

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

See QTapGesture::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 QTapGesture::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); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTapGesture(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QTapGesture(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QTapGesture instance, QDeclarativeConstructor constructor); /** *

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

*/ public QTapGesture() { 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