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

io.qt.gui.QSinglePointEvent Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

A base class for pointer events containing a single point, such as mouse events

*

Java wrapper for Qt class QSinglePointEvent

*/ public class QSinglePointEvent extends io.qt.gui.QPointerEvent { @QtPropertyMember(enabled=false) private Object __rcExclusiveGrabber = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QSinglePointEvent.class); /** *

See QSinglePointEvent::QSinglePointEvent(QEvent::Type,const QPointingDevice*,QEventPoint,Qt::MouseButton,Qt::MouseButtons,Qt::KeyboardModifiers,Qt::MouseEventSource)

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.gui.@NonNull QEventPoint point, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.Qt.@NonNull MouseEventSource source){ super((QPrivateConstructor)null); initialize_native(this, type, dev, point, button, buttons, modifiers, source); } private native static void initialize_native(QSinglePointEvent instance, io.qt.core.QEvent.Type type, io.qt.gui.QPointingDevice dev, io.qt.gui.QEventPoint point, io.qt.core.Qt.MouseButton button, io.qt.core.Qt.MouseButtons buttons, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.core.Qt.MouseEventSource source); /** *

See QSinglePointEvent::QSinglePointEvent(QEvent::Type,const QPointingDevice*,QPointF,QPointF,QPointF,Qt::MouseButton,Qt::MouseButtons,Qt::KeyboardModifiers,Qt::MouseEventSource)

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.Qt.@NonNull MouseEventSource source){ super((QPrivateConstructor)null); initialize_native(this, type, dev, localPos, scenePos, globalPos, button, buttons, modifiers, source); } private native static void initialize_native(QSinglePointEvent instance, io.qt.core.QEvent.Type type, io.qt.gui.QPointingDevice dev, io.qt.core.QPointF localPos, io.qt.core.QPointF scenePos, io.qt.core.QPointF globalPos, io.qt.core.Qt.MouseButton button, io.qt.core.Qt.MouseButtons buttons, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.core.Qt.MouseEventSource source); /** *

See QSinglePointEvent::QSinglePointEvent(QSinglePointEvent)

*/ protected QSinglePointEvent(io.qt.gui.@StrictNonNull QSinglePointEvent arg__1){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); initialize_native(this, arg__1); } private native static void initialize_native(QSinglePointEvent instance, io.qt.gui.QSinglePointEvent arg__1); /** *

See QSinglePointEvent::button()const

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull MouseButton button(){ return io.qt.core.Qt.MouseButton.resolve(button_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int button_native_constfct(long __this__nativeId); /** *

See QSinglePointEvent::buttons()const

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull MouseButtons buttons(){ return new io.qt.core.Qt.MouseButtons(buttons_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int buttons_native_constfct(long __this__nativeId); /** *

See QSinglePointEvent::exclusivePointGrabber()const

*/ @QtPropertyReader(name="exclusivePointGrabber") @QtUninvokable public final io.qt.core.@Nullable QObject exclusivePointGrabber(){ return exclusivePointGrabber_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QObject exclusivePointGrabber_native_constfct(long __this__nativeId); /** *

See QSinglePointEvent::globalPosition()const

*/ @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 QSinglePointEvent::operator=(QSinglePointEvent)

*/ @QtUninvokable protected final void assign(io.qt.gui.@StrictNonNull QSinglePointEvent other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); assign_native_cref_QSinglePointEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QSinglePointEvent(long __this__nativeId, long other); /** *

See QSinglePointEvent::position()const

*/ @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 QSinglePointEvent::scenePosition()const

*/ @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 QSinglePointEvent::setExclusivePointGrabber(QObject*)

*/ @QtPropertyWriter(name="exclusivePointGrabber") @QtUninvokable public final void setExclusivePointGrabber(io.qt.core.@Nullable QObject exclusiveGrabber){ setExclusivePointGrabber_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exclusiveGrabber)); __rcExclusiveGrabber = exclusiveGrabber; } @QtUninvokable private native void setExclusivePointGrabber_native_QObject_ptr(long __this__nativeId, long exclusiveGrabber); /** *

See QEvent::clone()const

*/ @QtUninvokable @Override public io.qt.gui.@Nullable QSinglePointEvent clone(){ return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QSinglePointEvent clone_native_constfct(long __this__nativeId); /** *

See QPointerEvent::isBeginEvent()const

*/ @QtUninvokable @Override public boolean isBeginEvent(){ return isBeginEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isBeginEvent_native_constfct(long __this__nativeId); /** *

See QPointerEvent::isEndEvent()const

*/ @QtUninvokable @Override public boolean isEndEvent(){ return isEndEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isEndEvent_native_constfct(long __this__nativeId); /** *

See QPointerEvent::isUpdateEvent()const

*/ @QtUninvokable @Override public boolean isUpdateEvent(){ return isUpdateEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isUpdateEvent_native_constfct(long __this__nativeId); /** *

See QSinglePointEvent::m_button

*/ @QtUninvokable protected final void setButton(io.qt.core.Qt.@NonNull MouseButton button){ setButton_native_cref_Qt_MouseButton(QtJambi_LibraryUtilities.internal.nativeId(this), button.value()); } @QtUninvokable private native void setButton_native_cref_Qt_MouseButton(long __this__nativeId, int button); /** *

See QSinglePointEvent::m_doubleClick

*/ @QtUninvokable protected final void setDoubleClick(boolean doubleClick){ setDoubleClick_native_quint16(QtJambi_LibraryUtilities.internal.nativeId(this), doubleClick); } @QtUninvokable private native void setDoubleClick_native_quint16(long __this__nativeId, boolean doubleClick); /** *

See QSinglePointEvent::m_doubleClick

*/ @QtUninvokable protected final boolean doubleClick(){ return doubleClick_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean doubleClick_native(long __this__nativeId); /** *

See QSinglePointEvent::m_invertedScrolling

*/ @QtUninvokable protected final void setInvertedScrolling(boolean invertedScrolling){ setInvertedScrolling_native_quint16(QtJambi_LibraryUtilities.internal.nativeId(this), invertedScrolling); } @QtUninvokable private native void setInvertedScrolling_native_quint16(long __this__nativeId, boolean invertedScrolling); /** *

See QSinglePointEvent::m_invertedScrolling

*/ @QtUninvokable protected final boolean invertedScrolling(){ return invertedScrolling_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean invertedScrolling_native(long __this__nativeId); /** *

See QSinglePointEvent::m_mouseState

*/ @QtUninvokable protected final void setButtons(io.qt.core.Qt.@NonNull MouseButtons buttons){ setButtons_native_cref_Qt_MouseButtons(QtJambi_LibraryUtilities.internal.nativeId(this), buttons.value()); } @QtUninvokable private native void setButtons_native_cref_Qt_MouseButtons(long __this__nativeId, int buttons); /** *

See QSinglePointEvent::m_phase

*/ @QtUninvokable protected final void setPhaseFlag(short phaseFlag){ setPhaseFlag_native_quint16(QtJambi_LibraryUtilities.internal.nativeId(this), phaseFlag); } @QtUninvokable private native void setPhaseFlag_native_quint16(long __this__nativeId, short phaseFlag); /** *

See QSinglePointEvent::m_phase

*/ @QtUninvokable protected final short phaseFlag(){ return phaseFlag_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short phaseFlag_native(long __this__nativeId); /** *

See QSinglePointEvent::m_source

*/ @QtUninvokable protected final void setSourceFlag(io.qt.core.Qt.@NonNull MouseEventSource sourceFlag){ setSourceFlag_native_cref_Qt_MouseEventSource(QtJambi_LibraryUtilities.internal.nativeId(this), sourceFlag.value()); } @QtUninvokable private native void setSourceFlag_native_cref_Qt_MouseEventSource(long __this__nativeId, int sourceFlag); /** *

See QSinglePointEvent::m_source

*/ @QtUninvokable protected final io.qt.core.Qt.@NonNull MouseEventSource sourceFlag(){ return io.qt.core.Qt.MouseEventSource.resolve(sourceFlag_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int sourceFlag_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QSinglePointEvent(QPrivateConstructor p) { super(p); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)} * with source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) { this(type, dev, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)} * with source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) { this(type, dev, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)}.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.Qt.@NonNull MouseEventSource source) { this(type, dev, new io.qt.core.QPointF(localPos), scenePos, globalPos, button, buttons, modifiers, source); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)} * with source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) { this(type, dev, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)}.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.Qt.@NonNull MouseEventSource source) { this(type, dev, localPos, new io.qt.core.QPointF(scenePos), globalPos, button, buttons, modifiers, source); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)} * with source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) { this(type, dev, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)}.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.Qt.@NonNull MouseEventSource source) { this(type, dev, new io.qt.core.QPointF(localPos), new io.qt.core.QPointF(scenePos), globalPos, button, buttons, modifiers, source); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)} * with source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) { this(type, dev, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)}.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.Qt.@NonNull MouseEventSource source) { this(type, dev, localPos, scenePos, new io.qt.core.QPointF(globalPos), button, buttons, modifiers, source); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)} * with source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) { this(type, dev, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)}.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.Qt.@NonNull MouseEventSource source) { this(type, dev, new io.qt.core.QPointF(localPos), scenePos, new io.qt.core.QPointF(globalPos), button, buttons, modifiers, source); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)} * with source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) { this(type, dev, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)}.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.Qt.@NonNull MouseEventSource source) { this(type, dev, localPos, new io.qt.core.QPointF(scenePos), new io.qt.core.QPointF(globalPos), button, buttons, modifiers, source); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)} * with source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) { this(type, dev, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized); } /** *

Overloaded constructor for {@link #QSinglePointEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseEventSource)}.

*/ protected QSinglePointEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.gui.@Nullable QPointingDevice dev, io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.Qt.@NonNull MouseEventSource source) { this(type, dev, new io.qt.core.QPointF(localPos), new io.qt.core.QPointF(scenePos), new io.qt.core.QPointF(globalPos), button, buttons, modifiers, source); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@Nullable QObject getExclusivePointGrabber() { return exclusivePointGrabber(); } /** * @hidden *

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

*/ @QtUninvokable protected final boolean getDoubleClick() { return doubleClick(); } /** * @hidden *

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

*/ @QtUninvokable protected final boolean getInvertedScrolling() { return invertedScrolling(); } /** *

Overloaded function for {@link #setButtons(io.qt.core.Qt.MouseButtons)}.

*/ @QtUninvokable protected final void setButtons(io.qt.core.Qt.@NonNull MouseButton @NonNull... buttons) { setButtons(new io.qt.core.Qt.MouseButtons(buttons)); } /** * @hidden *

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

*/ @QtUninvokable protected final short getPhaseFlag() { return phaseFlag(); } /** * @hidden *

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

*/ @QtUninvokable protected final io.qt.core.Qt.@NonNull MouseEventSource getSourceFlag() { return sourceFlag(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy