io.qt.widgets.QStyleHintReturnMask 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.*;
/**
* Style hints that return a QRegion
* Java wrapper for Qt class QStyleHintReturnMask
*/
public class QStyleHintReturnMask extends io.qt.widgets.QStyleHintReturn
implements java.lang.Cloneable
{
/**
* See QStyleHintReturnMask:: QStyleHintReturnMask()
*/
public QStyleHintReturnMask(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QStyleHintReturnMask instance);
/**
* See QStyleHintReturnMask:: QStyleHintReturnMask(QStyleHintReturnMask)
*/
public QStyleHintReturnMask(io.qt.widgets.@StrictNonNull QStyleHintReturnMask other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(QStyleHintReturnMask instance, io.qt.widgets.QStyleHintReturnMask other);
/**
* The region for style hints that return a QRegion
* See QStyleHintReturnMask:: region
*/
@QtUninvokable
public final void setRegion(io.qt.gui.@NonNull QRegion region){
setRegion_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(region));
}
@QtUninvokable
private native void setRegion_native_cref_QRegion(long __this__nativeId, long region);
/**
* The region for style hints that return a QRegion
* See QStyleHintReturnMask:: region
*/
@QtUninvokable
public final io.qt.gui.@NonNull QRegion region(){
return region_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QRegion region_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QStyleHintReturnMask(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QStyleHintReturnMask:: QStyleHintReturnMask(QStyleHintReturnMask)
*/
@QtUninvokable
@Override
public QStyleHintReturnMask clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QStyleHintReturnMask clone_native(long __this_nativeId);
/**
* Overloaded function for {@link #setRegion(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void setRegion(io.qt.core.@NonNull QRect region) {
setRegion(new io.qt.gui.QRegion(region));
}
/**
* Overloaded function for {@link #setRegion(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void setRegion(io.qt.gui.@NonNull QPolygon region) {
setRegion(new io.qt.gui.QRegion(region));
}
/**
* Overloaded function for {@link #setRegion(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void setRegion(io.qt.gui.@NonNull QBitmap region) {
setRegion(new io.qt.gui.QRegion(region));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #region()} instead.
*/
@QtUninvokable
public final io.qt.gui.@NonNull QRegion getRegion() {
return region();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy