io.qt.gui.QHelpEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
import io.qt.*;
/**
* Event that is used to request helpful information about a particular point in a widget
* Java wrapper for Qt class QHelpEvent
*/
public class QHelpEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QHelpEvent:: QHelpEvent(QEvent::Type, QPoint, QPoint)
*/
public QHelpEvent(io.qt.core.QEvent.@NonNull Type type, io.qt.core.@NonNull QPoint pos, io.qt.core.@NonNull QPoint globalPos){
super((QPrivateConstructor)null);
initialize_native(this, type, pos, globalPos);
}
private native static void initialize_native(QHelpEvent instance, io.qt.core.QEvent.Type type, io.qt.core.QPoint pos, io.qt.core.QPoint globalPos);
/**
* See QHelpEvent:: QHelpEvent(QHelpEvent)
*/
protected QHelpEvent(io.qt.gui.@StrictNonNull QHelpEvent 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(QHelpEvent instance, io.qt.gui.QHelpEvent arg__1);
/**
* See QHelpEvent:: globalPos()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint globalPos(){
return globalPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint globalPos_native_constfct(long __this__nativeId);
/**
* See QHelpEvent:: globalX()const
*/
@QtUninvokable
public final int globalX(){
return globalX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int globalX_native_constfct(long __this__nativeId);
/**
* See QHelpEvent:: globalY()const
*/
@QtUninvokable
public final int globalY(){
return globalY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int globalY_native_constfct(long __this__nativeId);
/**
* See QHelpEvent:: operator=(QHelpEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QHelpEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QHelpEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QHelpEvent(long __this__nativeId, long other);
/**
*
*/
@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);
/**
*
*/
@QtUninvokable
public final int x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int x_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final int y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int y_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QHelpEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QHelpEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QHelpEvent(QPrivateConstructor p) { super(p); }
/**
* @deprecated Use {@link #assign(io.qt.gui.QHelpEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QHelpEvent other) {
assign(other);
}
}