io.qt.widgets.QGraphicsSceneResizeEvent 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.widgets;
import io.qt.*;
/**
* Events for widget resizing in the graphics view framework
* Java wrapper for Qt class QGraphicsSceneResizeEvent
*/
public class QGraphicsSceneResizeEvent extends io.qt.widgets.QGraphicsSceneEvent
{
/**
* See QGraphicsSceneResizeEvent:: QGraphicsSceneResizeEvent()
*/
public QGraphicsSceneResizeEvent(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QGraphicsSceneResizeEvent instance);
/**
* See QGraphicsSceneResizeEvent:: newSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF newSize(){
return newSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSizeF newSize_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneResizeEvent:: oldSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF oldSize(){
return oldSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSizeF oldSize_native_constfct(long __this__nativeId);
/**
* See QGraphicsSceneResizeEvent:: setNewSize(QSizeF)
*/
@QtUninvokable
public final void setNewSize(io.qt.core.@NonNull QSizeF size){
setNewSize_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native void setNewSize_native_cref_QSizeF(long __this__nativeId, long size);
/**
* See QGraphicsSceneResizeEvent:: setOldSize(QSizeF)
*/
@QtUninvokable
public final void setOldSize(io.qt.core.@NonNull QSizeF size){
setOldSize_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native void setOldSize_native_cref_QSizeF(long __this__nativeId, long size);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGraphicsSceneResizeEvent(QPrivateConstructor p) { super(p); }
/**
* Overloaded function for {@link #setNewSize(io.qt.core.QSizeF)}.
*/
@QtUninvokable
public final void setNewSize(io.qt.core.@NonNull QSize size) {
setNewSize(new io.qt.core.QSizeF(size));
}
/**
* Overloaded function for {@link #setOldSize(io.qt.core.QSizeF)}.
*/
@QtUninvokable
public final void setOldSize(io.qt.core.@NonNull QSize size) {
setOldSize(new io.qt.core.QSizeF(size));
}
}