io.qt.widgets.QStyleOptionSizeGrip 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.*;
/**
* Used to describe the parameter for drawing a size grip
* Java wrapper for Qt class QStyleOptionSizeGrip
*/
public class QStyleOptionSizeGrip extends io.qt.widgets.QStyleOptionComplex
implements java.lang.Cloneable
{
/**
* See QStyleOptionSizeGrip:: QStyleOptionSizeGrip()
*/
public QStyleOptionSizeGrip(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QStyleOptionSizeGrip instance);
/**
* See QStyleOptionSizeGrip:: QStyleOptionSizeGrip(QStyleOptionSizeGrip)
*/
public QStyleOptionSizeGrip(io.qt.widgets.@NonNull QStyleOptionSizeGrip other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QStyleOptionSizeGrip instance, io.qt.widgets.QStyleOptionSizeGrip other);
/**
* See QStyleOptionSizeGrip:: operator=(QStyleOptionSizeGrip)
*/
@QtUninvokable
public final void assign(io.qt.widgets.@NonNull QStyleOptionSizeGrip arg__1){
assign_native_cref_QStyleOptionSizeGrip(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_QStyleOptionSizeGrip(long __this__nativeId, long arg__1);
/**
* See QStyleOptionSizeGrip:: corner
*/
@QtUninvokable
public final void setCorner(io.qt.core.Qt.@NonNull Corner corner){
setCorner_native_cref_Qt_Corner(QtJambi_LibraryUtilities.internal.nativeId(this), corner.value());
}
@QtUninvokable
private native void setCorner_native_cref_Qt_Corner(long __this__nativeId, int corner);
/**
* See QStyleOptionSizeGrip:: corner
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull Corner corner(){
return io.qt.core.Qt.Corner.resolve(corner_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int corner_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QStyleOptionSizeGrip(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QStyleOptionSizeGrip:: QStyleOptionSizeGrip(QStyleOptionSizeGrip)
*/
@QtUninvokable
@Override
public QStyleOptionSizeGrip clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QStyleOptionSizeGrip clone_native(long __this_nativeId);
/**
* @deprecated Use {@link #assign(io.qt.widgets.QStyleOptionSizeGrip)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.widgets.@NonNull QStyleOptionSizeGrip arg__1) {
assign(arg__1);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #corner()} instead.
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull Corner getCorner() {
return corner();
}
}