All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QStyleOptionRubberBand Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

Used to describe the parameters needed for drawing a rubber band

*

Java wrapper for Qt class QStyleOptionRubberBand

*/ public class QStyleOptionRubberBand extends io.qt.widgets.QStyleOption implements java.lang.Cloneable { /** *

See QStyleOptionRubberBand::QStyleOptionRubberBand()

*/ public QStyleOptionRubberBand(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QStyleOptionRubberBand instance); /** *

See QStyleOptionRubberBand::QStyleOptionRubberBand(QStyleOptionRubberBand)

*/ public QStyleOptionRubberBand(io.qt.widgets.@NonNull QStyleOptionRubberBand other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStyleOptionRubberBand instance, io.qt.widgets.QStyleOptionRubberBand other); /** *

See QStyleOptionRubberBand::operator=(QStyleOptionRubberBand)

*/ @QtUninvokable public final void assign(io.qt.widgets.@NonNull QStyleOptionRubberBand arg__1){ assign_native_cref_QStyleOptionRubberBand(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QStyleOptionRubberBand(long __this__nativeId, long arg__1); /** *

Whether the rubber band is required to be drawn in an opaque style

*

See QStyleOptionRubberBand::opaque

*/ @QtUninvokable public final void setOpaque(boolean opaque){ setOpaque_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), opaque); } @QtUninvokable private native void setOpaque_native_bool(long __this__nativeId, boolean opaque); /** *

Whether the rubber band is required to be drawn in an opaque style

*

See QStyleOptionRubberBand::opaque

*/ @QtUninvokable public final boolean opaque(){ return opaque_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean opaque_native(long __this__nativeId); /** *

The shape of the rubber band

*

See QStyleOptionRubberBand::shape

*/ @QtUninvokable public final void setShape(io.qt.widgets.QRubberBand.@NonNull Shape shape){ setShape_native_cref_QRubberBand_Shape(QtJambi_LibraryUtilities.internal.nativeId(this), shape.value()); } @QtUninvokable private native void setShape_native_cref_QRubberBand_Shape(long __this__nativeId, int shape); /** *

The shape of the rubber band

*

See QStyleOptionRubberBand::shape

*/ @QtUninvokable public final io.qt.widgets.QRubberBand.@NonNull Shape shape(){ return io.qt.widgets.QRubberBand.Shape.resolve(shape_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int shape_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QStyleOptionRubberBand(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QStyleOptionRubberBand::QStyleOptionRubberBand(QStyleOptionRubberBand)

*/ @QtUninvokable @Override public QStyleOptionRubberBand clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QStyleOptionRubberBand clone_native(long __this_nativeId); /** * @deprecated Use {@link #assign(io.qt.widgets.QStyleOptionRubberBand)} instead. */ @Deprecated @QtUninvokable public final void set(io.qt.widgets.@NonNull QStyleOptionRubberBand arg__1) { assign(arg__1); } /** * @hidden *

Kotlin property getter. In Java use {@link #opaque()} instead.

*/ @QtUninvokable public final boolean getOpaque() { return opaque(); } /** * @hidden *

Kotlin property getter. In Java use {@link #shape()} instead.

*/ @QtUninvokable public final io.qt.widgets.QRubberBand.@NonNull Shape getShape() { return shape(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy