io.qt.gui.QMouseEvent Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Contains parameters that describe a mouse event
* Java wrapper for Qt class QMouseEvent
*/
public class QMouseEvent extends io.qt.gui.QSinglePointEvent
{
/**
* See QMouseEvent:: QMouseEvent(QEvent::Type, QPointF, QPointF, QPointF, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, Qt::MouseEventSource, const QPointingDevice*)
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, io.qt.gui.@Nullable QPointingDevice device){
super((QPrivateConstructor)null);
initialize_native(this, type, localPos, scenePos, globalPos, button, buttons, modifiers, source, device);
}
private native static void initialize_native(QMouseEvent instance, io.qt.core.QEvent.Type type, 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, io.qt.gui.QPointingDevice device);
/**
*
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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.gui.@Nullable QPointingDevice device){
super((QPrivateConstructor)null);
initialize_native(this, type, localPos, scenePos, globalPos, button, buttons, modifiers, device);
}
private native static void initialize_native(QMouseEvent instance, io.qt.core.QEvent.Type type, 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.gui.QPointingDevice device);
/**
*
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPointF localPos, 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.gui.@Nullable QPointingDevice device){
super((QPrivateConstructor)null);
initialize_native(this, type, localPos, globalPos, button, buttons, modifiers, device);
}
private native static void initialize_native(QMouseEvent instance, io.qt.core.QEvent.Type type, io.qt.core.QPointF localPos, 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.gui.QPointingDevice device);
/**
* See QMouseEvent:: QMouseEvent(QEvent::Type, QPointF, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPointF localPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.gui.@Nullable QPointingDevice device){
super((QPrivateConstructor)null);
initialize_native(this, type, localPos, button, buttons, modifiers, device);
}
private native static void initialize_native(QMouseEvent instance, io.qt.core.QEvent.Type type, io.qt.core.QPointF localPos, io.qt.core.Qt.MouseButton button, io.qt.core.Qt.MouseButtons buttons, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.gui.QPointingDevice device);
/**
* See QMouseEvent:: QMouseEvent(QMouseEvent)
*/
protected QMouseEvent(io.qt.gui.@StrictNonNull QMouseEvent 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(QMouseEvent instance, io.qt.gui.QMouseEvent arg__1);
/**
*
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull MouseEventFlags flags(){
return new io.qt.core.Qt.MouseEventFlags(flags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int flags_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: globalPos()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@QtUninvokable
public final io.qt.core.@NonNull QPoint globalPos(){
return globalPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.core.QPoint globalPos_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: globalX()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@QtUninvokable
public final int globalX(){
return globalX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native int globalX_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: globalY()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@QtUninvokable
public final int globalY(){
return globalY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native int globalY_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: localPos()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead
*/
@Deprecated
@QtUninvokable
public final io.qt.core.@NonNull QPointF localPos(){
return localPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.core.QPointF localPos_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: operator=(QMouseEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QMouseEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QMouseEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QMouseEvent(long __this__nativeId, long other);
/**
* See QMouseEvent:: pos()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint pos(){
return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint pos_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: screenPos()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@QtUninvokable
public final io.qt.core.@NonNull QPointF screenPos(){
return screenPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.core.QPointF screenPos_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: source()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull MouseEventSource source(){
return io.qt.core.Qt.MouseEventSource.resolve(source_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int source_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: windowPos()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#scenePosition()} instead
*/
@Deprecated
@QtUninvokable
public final io.qt.core.@NonNull QPointF windowPos(){
return windowPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.core.QPointF windowPos_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: x()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead
*/
@Deprecated
@QtUninvokable
public final int x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native int x_native_constfct(long __this__nativeId);
/**
* See QMouseEvent:: y()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead
*/
@Deprecated
@QtUninvokable
public final int y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native int y_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QMouseEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QMouseEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QMouseEvent(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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) {
this(type, localPos, scenePos, globalPos, button, buttons, modifiers, source, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, source, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, io.qt.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), scenePos, globalPos, button, buttons, modifiers, source, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, source, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, io.qt.gui.@Nullable QPointingDevice device) {
this(type, localPos, new io.qt.core.QPointF(scenePos), globalPos, button, buttons, modifiers, source, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, source, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, io.qt.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), new io.qt.core.QPointF(scenePos), globalPos, button, buttons, modifiers, source, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, source, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, io.qt.gui.@Nullable QPointingDevice device) {
this(type, localPos, scenePos, new io.qt.core.QPointF(globalPos), button, buttons, modifiers, source, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, source, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, io.qt.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), scenePos, new io.qt.core.QPointF(globalPos), button, buttons, modifiers, source, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, source, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, io.qt.gui.@Nullable QPointingDevice device) {
this(type, localPos, new io.qt.core.QPointF(scenePos), new io.qt.core.QPointF(globalPos), button, buttons, modifiers, source, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, source, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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, io.qt.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, io.qt.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), new io.qt.core.QPointF(scenePos), new io.qt.core.QPointF(globalPos), button, buttons, modifiers, source, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), scenePos, globalPos, button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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.gui.@Nullable QPointingDevice device) {
this(type, localPos, new io.qt.core.QPointF(scenePos), globalPos, button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), new io.qt.core.QPointF(scenePos), globalPos, button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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.gui.@Nullable QPointingDevice device) {
this(type, localPos, scenePos, new io.qt.core.QPointF(globalPos), button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), scenePos, new io.qt.core.QPointF(globalPos), button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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.gui.@Nullable QPointingDevice device) {
this(type, localPos, new io.qt.core.QPointF(scenePos), new io.qt.core.QPointF(globalPos), button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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, localPos, scenePos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, 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.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), new io.qt.core.QPointF(scenePos), new io.qt.core.QPointF(globalPos), button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPointF localPos, 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, localPos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPoint localPos, 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, localPos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPoint localPos, 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.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), globalPos, button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPointF localPos, 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, localPos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPointF localPos, 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.gui.@Nullable QPointingDevice device) {
this(type, localPos, new io.qt.core.QPointF(globalPos), button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPoint localPos, 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, localPos, globalPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, 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.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPoint localPos, 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.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), new io.qt.core.QPointF(globalPos), button, buttons, modifiers, device);
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPointF localPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) {
this(type, localPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPoint, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPoint localPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) {
this(type, localPos, button, buttons, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QMouseEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)}.
*/
public QMouseEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPoint localPos, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.gui.@Nullable QPointingDevice device) {
this(type, new io.qt.core.QPointF(localPos), button, buttons, modifiers, device);
}
/**
* @deprecated Use {@link #assign(io.qt.gui.QMouseEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QMouseEvent other) {
assign(other);
}
}