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

io.qt.sensors.QTiltReading Maven / Gradle / Ivy

There is a newer version: 6.7.2
Show newest version
package io.qt.sensors;

import io.qt.*;


/**
 * 

Holds readings from the tilt sensor

*

Java wrapper for Qt class QTiltReading

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

See QTiltReading::QTiltReading(QObject*)

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

See QTiltReading::setXRotation(qreal)

*/ @QtUninvokable public final void setXRotation(double x){ setXRotation_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), x); } @QtUninvokable private native void setXRotation_native_qreal(long __this__nativeId, double x); /** *

See QTiltReading::setYRotation(qreal)

*/ @QtUninvokable public final void setYRotation(double y){ setYRotation_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), y); } @QtUninvokable private native void setYRotation_native_qreal(long __this__nativeId, double y); /** *

See QTiltReading::xRotation()const

*/ @QtPropertyReader(name="xRotation") @QtUninvokable public final double xRotation(){ return xRotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double xRotation_native_constfct(long __this__nativeId); /** *

See QTiltReading::yRotation()const

*/ @QtPropertyReader(name="yRotation") @QtUninvokable public final double yRotation(){ return yRotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double yRotation_native_constfct(long __this__nativeId); /** *

See QSensorReading::copyValuesFrom(QSensorReading*)

*/ @QtUninvokable @Override protected void copyValuesFrom(io.qt.sensors.@Nullable QSensorReading other){ copyValuesFrom_native_QSensorReading_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void copyValuesFrom_native_QSensorReading_ptr(long __this__nativeId, long other); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTiltReading(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QTiltReading(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QTiltReading instance, QDeclarativeConstructor constructor); /** *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getXRotation() { return xRotation(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getYRotation() { return yRotation(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy