io.qt.gui.QEventPoint Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Information about a point in a QPointerEvent
* Java wrapper for Qt class QEventPoint
*/
public class QEventPoint extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QEventPoint.class);
/**
* Java wrapper for Qt enum QEventPoint::State
*
* @see States
*/
public enum State implements QtByteFlagEnumerator {
/**
* Representing QEventPoint:: Unknown
*/
Unknown((byte)0),
/**
* Representing QEventPoint:: Stationary
*/
Stationary((byte)4),
/**
* Representing QEventPoint:: Pressed
*/
Pressed((byte)1),
/**
* Representing QEventPoint:: Updated
*/
Updated((byte)2),
/**
* Representing QEventPoint:: Released
*/
Released((byte)8);
static {
QtJambi_LibraryUtilities.initialize();
}
private State(byte value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public byte value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull States asFlags() {
return new States(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull States combined(@NonNull State e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull States cleared(@NonNull State e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link States} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull States flags(@Nullable State @NonNull... values) {
return new States(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull State resolve(byte value) {
switch (value) {
case 0: return Unknown;
case 4: return Stationary;
case 1: return Pressed;
case 2: return Updated;
case 8: return Released;
default: throw new QNoSuchEnumValueException(value);
}
}
private final byte value;
}
/**
* {@link QFlags} type for enum {@link State}
*/
public static final class States extends QFlags implements Comparable {
private static final long serialVersionUID = 0x6fa3645dae1a9029L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new States where the flags in args
are set.
* @param args enum entries
*/
public States(@Nullable State @NonNull... args){
super(args);
}
/**
* Creates a new States with given value
.
* @param value
*/
public States(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new States
*/
@Override
public final @NonNull States combined(@StrictNonNull State e){
return new States(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull States setFlag(@Nullable State e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final @NonNull States setFlag(@Nullable State e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this States.
* @return array of enum entries
*/
@Override
public final @NonNull State @NonNull[] flags(){
return super.flags(State.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull States clone(){
return new States(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull States other){
return Integer.compare(value(), other.value());
}
}
/**
* See QEventPoint:: QEventPoint(QEventPoint)
*/
public QEventPoint(io.qt.gui.@NonNull QEventPoint other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QEventPoint instance, io.qt.gui.QEventPoint other);
/**
* See QEventPoint:: QEventPoint(int, QEventPoint::State, QPointF, QPointF)
*/
public QEventPoint(int pointId, io.qt.gui.QEventPoint.@NonNull State state, io.qt.core.@NonNull QPointF scenePosition, io.qt.core.@NonNull QPointF globalPosition){
super((QPrivateConstructor)null);
initialize_native(this, pointId, state, scenePosition, globalPosition);
}
private native static void initialize_native(QEventPoint instance, int pointId, io.qt.gui.QEventPoint.State state, io.qt.core.QPointF scenePosition, io.qt.core.QPointF globalPosition);
/**
* See QEventPoint:: QEventPoint(int, const QPointingDevice*)
*/
public QEventPoint(int id, io.qt.gui.@Nullable QPointingDevice device){
super((QPrivateConstructor)null);
initialize_native(this, id, device);
}
private native static void initialize_native(QEventPoint instance, int id, io.qt.gui.QPointingDevice device);
/**
* See QEventPoint:: device()const
*/
@QtPropertyReader(name="device")
@QtPropertyConstant
@QtUninvokable
public final io.qt.gui.@Nullable QPointingDevice device(){
return device_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QPointingDevice device_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: ellipseDiameters()const
*/
@QtPropertyReader(name="ellipseDiameters")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QSizeF ellipseDiameters(){
return ellipseDiameters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSizeF ellipseDiameters_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: globalGrabPosition()const
*/
@QtPropertyReader(name="globalGrabPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF globalGrabPosition(){
return globalGrabPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF globalGrabPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: globalLastPosition()const
*/
@QtPropertyReader(name="globalLastPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF globalLastPosition(){
return globalLastPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF globalLastPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: globalPosition()const
*/
@QtPropertyReader(name="globalPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF globalPosition(){
return globalPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF globalPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: globalPressPosition()const
*/
@QtPropertyReader(name="globalPressPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF globalPressPosition(){
return globalPressPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF globalPressPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: grabPosition()const
*/
@QtPropertyReader(name="grabPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF grabPosition(){
return grabPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF grabPosition_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="id")
@QtPropertyConstant
@QtUninvokable
public final int id(){
return id_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int id_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: isAccepted()const
*/
@QtPropertyReader(name="accepted")
@QtUninvokable
public final boolean isAccepted(){
return isAccepted_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isAccepted_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: lastPosition()const
*/
@QtPropertyReader(name="lastPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF lastPosition(){
return lastPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF lastPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: lastTimestamp()const
*/
@QtPropertyReader(name="lastTimestamp")
@QtPropertyConstant
@QtUninvokable
public final int lastTimestamp(){
return lastTimestamp_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int lastTimestamp_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: normalizedPosition()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPointF normalizedPosition(){
return normalizedPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF normalizedPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: operator=(QEventPoint)
*/
@QtUninvokable
public final void assign(io.qt.gui.@NonNull QEventPoint other){
assign_native_cref_QEventPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QEventPoint(long __this__nativeId, long other);
/**
* See QEventPoint:: operator==(QEventPoint)const
*/
@QtUninvokable
public final boolean equals(io.qt.gui.@NonNull QEventPoint other){
return equals_native_cref_QEventPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean equals_native_cref_QEventPoint_constfct(long __this__nativeId, long other);
/**
* See QEventPoint:: position()const
*/
@QtPropertyReader(name="position")
@QtPropertyConstant
@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 QEventPoint:: pressPosition()const
*/
@QtPropertyReader(name="pressPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF pressPosition(){
return pressPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF pressPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: pressTimestamp()const
*/
@QtPropertyReader(name="pressTimestamp")
@QtPropertyConstant
@QtUninvokable
public final int pressTimestamp(){
return pressTimestamp_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int pressTimestamp_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: pressure()const
*/
@QtPropertyReader(name="pressure")
@QtPropertyConstant
@QtUninvokable
public final double pressure(){
return pressure_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double pressure_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: rotation()const
*/
@QtPropertyReader(name="rotation")
@QtPropertyConstant
@QtUninvokable
public final double rotation(){
return rotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double rotation_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: sceneGrabPosition()const
*/
@QtPropertyReader(name="sceneGrabPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF sceneGrabPosition(){
return sceneGrabPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF sceneGrabPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: sceneLastPosition()const
*/
@QtPropertyReader(name="sceneLastPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF sceneLastPosition(){
return sceneLastPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF sceneLastPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: scenePosition()const
*/
@QtPropertyReader(name="scenePosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF scenePosition(){
return scenePosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF scenePosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: scenePressPosition()const
*/
@QtPropertyReader(name="scenePressPosition")
@QtPropertyConstant
@QtUninvokable
public final io.qt.core.@NonNull QPointF scenePressPosition(){
return scenePressPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF scenePressPosition_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: setAccepted(bool)
*/
@QtPropertyWriter(name="accepted")
@QtUninvokable
public final void setAccepted(boolean accepted){
setAccepted_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), accepted);
}
@QtUninvokable
private native void setAccepted_native_bool(long __this__nativeId, boolean accepted);
/**
*
*/
@QtPropertyReader(name="state")
@QtPropertyConstant
@QtUninvokable
public final io.qt.gui.QEventPoint.@NonNull State state(){
return io.qt.gui.QEventPoint.State.resolve(state_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native byte state_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: swap(QEventPoint&)
*/
@QtUninvokable
public final void swap(io.qt.gui.@StrictNonNull QEventPoint other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QEventPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QEventPoint(long __this__nativeId, long other);
/**
* See QEventPoint:: timeHeld()const
*/
@QtPropertyReader(name="timeHeld")
@QtPropertyConstant
@QtUninvokable
public final double timeHeld(){
return timeHeld_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double timeHeld_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: timestamp()const
*/
@QtPropertyReader(name="timestamp")
@QtPropertyConstant
@QtUninvokable
public final int timestamp(){
return timestamp_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int timestamp_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: uniqueId()const
*/
@QtPropertyReader(name="uniqueId")
@QtPropertyConstant
@QtUninvokable
public final io.qt.gui.@NonNull QPointingDeviceUniqueId uniqueId(){
return uniqueId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QPointingDeviceUniqueId uniqueId_native_constfct(long __this__nativeId);
/**
* See QEventPoint:: velocity()const
*/
@QtPropertyReader(name="velocity")
@QtPropertyConstant
@QtUninvokable
public final io.qt.gui.@NonNull QVector2D velocity(){
return velocity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector2D velocity_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QEventPoint(QPrivateConstructor p) { super(p); }
/**
* See QEventPoint:: operator==(QEventPoint)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QEventPoint) {
return equals((io.qt.gui.QEventPoint) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QEventPoint)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QEventPoint)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QEventPoint:: QEventPoint(QEventPoint)
*/
@QtUninvokable
@Override
public QEventPoint clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QEventPoint clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QEventPoint(int, io.qt.gui.QEventPoint.State, io.qt.core.QPointF, io.qt.core.QPointF)}.
*/
public QEventPoint(int pointId, io.qt.gui.QEventPoint.@NonNull State state, io.qt.core.@NonNull QPoint scenePosition, io.qt.core.@NonNull QPointF globalPosition) {
this(pointId, state, new io.qt.core.QPointF(scenePosition), globalPosition);
}
/**
* Overloaded constructor for {@link #QEventPoint(int, io.qt.gui.QEventPoint.State, io.qt.core.QPointF, io.qt.core.QPointF)}.
*/
public QEventPoint(int pointId, io.qt.gui.QEventPoint.@NonNull State state, io.qt.core.@NonNull QPointF scenePosition, io.qt.core.@NonNull QPoint globalPosition) {
this(pointId, state, scenePosition, new io.qt.core.QPointF(globalPosition));
}
/**
* Overloaded constructor for {@link #QEventPoint(int, io.qt.gui.QEventPoint.State, io.qt.core.QPointF, io.qt.core.QPointF)}.
*/
public QEventPoint(int pointId, io.qt.gui.QEventPoint.@NonNull State state, io.qt.core.@NonNull QPoint scenePosition, io.qt.core.@NonNull QPoint globalPosition) {
this(pointId, state, new io.qt.core.QPointF(scenePosition), new io.qt.core.QPointF(globalPosition));
}
/**
* Overloaded constructor for {@link #QEventPoint(int, io.qt.gui.QPointingDevice)}
* with device = null
.
*/
public QEventPoint(int id) {
this(id, (io.qt.gui.QPointingDevice)null);
}
/**
* Overloaded constructor for {@link #QEventPoint(int, io.qt.gui.QPointingDevice)}
* with:
* id = -1
* device = null
*
*/
public QEventPoint() {
this((int)-1, (io.qt.gui.QPointingDevice)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #device()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@Nullable QPointingDevice getDevice() {
return device();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #ellipseDiameters()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSizeF getEllipseDiameters() {
return ellipseDiameters();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #globalGrabPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getGlobalGrabPosition() {
return globalGrabPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #globalLastPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getGlobalLastPosition() {
return globalLastPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #globalPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getGlobalPosition() {
return globalPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #globalPressPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getGlobalPressPosition() {
return globalPressPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #grabPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getGrabPosition() {
return grabPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #id()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getId() {
return id();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isAccepted()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getAccepted() {
return isAccepted();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #lastPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getLastPosition() {
return lastPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #lastTimestamp()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getLastTimestamp() {
return lastTimestamp();
}
/**
* @deprecated Use {@link #assign(io.qt.gui.QEventPoint)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.gui.@NonNull QEventPoint other) {
assign(other);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #position()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getPosition() {
return position();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #pressPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getPressPosition() {
return pressPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #pressTimestamp()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getPressTimestamp() {
return pressTimestamp();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #pressure()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getPressure() {
return pressure();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #rotation()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getRotation() {
return rotation();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #sceneGrabPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getSceneGrabPosition() {
return sceneGrabPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #sceneLastPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getSceneLastPosition() {
return sceneLastPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #scenePosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getScenePosition() {
return scenePosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #scenePressPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QPointF getScenePressPosition() {
return scenePressPosition();
}
/**
* Overloaded function for {@link #setAccepted(boolean)}
* with accepted = true
.
*/
@QtUninvokable
public final void setAccepted() {
setAccepted((boolean)true);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #state()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.QEventPoint.@NonNull State getState() {
return state();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #timeHeld()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getTimeHeld() {
return timeHeld();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #timestamp()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getTimestamp() {
return timestamp();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #uniqueId()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QPointingDeviceUniqueId getUniqueId() {
return uniqueId();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #velocity()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector2D getVelocity() {
return velocity();
}
}