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

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

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

import io.qt.*;


/**
 * 

Convenience wrapper around QSensor

*

Java wrapper for Qt class QLightSensor

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

See QLightSensor::fieldOfViewChanged(qreal)

*/ @QtPropertyNotify(name="fieldOfView") public final @NonNull Signal1 fieldOfViewChanged = new Signal1<>(); /** *

See QLightSensor::QLightSensor(QObject*)

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

See QLightSensor::fieldOfView()const

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

See QSensor::reading()const

*/ @QtUninvokable public final io.qt.sensors.@Nullable QLightReading reading(){ return reading_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.sensors.QLightReading reading_native_constfct(long __this__nativeId); /** *

See QLightSensor::setFieldOfView(qreal)

*/ @QtUninvokable public final void setFieldOfView(double fieldOfView){ setFieldOfView_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), fieldOfView); } @QtUninvokable private native void setFieldOfView_native_qreal(long __this__nativeId, double fieldOfView); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QLightSensor(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QLightSensor(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QLightSensor instance, QDeclarativeConstructor constructor); /** *

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy