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

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

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

import io.qt.*;


/**
 * 

Drop shadow effect

*

Java wrapper for Qt class QGraphicsDropShadowEffect

*/ public class QGraphicsDropShadowEffect extends io.qt.widgets.QGraphicsEffect { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsDropShadowEffect.class); /** *

See QGraphicsDropShadowEffect::blurRadiusChanged(qreal)

*/ @QtPropertyNotify(name="blurRadius") public final @NonNull Signal1 blurRadiusChanged = new Signal1<>(); /** *

See QGraphicsDropShadowEffect::colorChanged(QColor)

*/ @QtPropertyNotify(name="color") public final @NonNull Signal1 colorChanged = new Signal1<>(); /** *

See QGraphicsDropShadowEffect::offsetChanged(QPointF)

*/ @QtPropertyNotify(name="offset") public final @NonNull Signal1 offsetChanged = new Signal1<>(); /** *

See QGraphicsDropShadowEffect::QGraphicsDropShadowEffect(QObject*)

*/ public QGraphicsDropShadowEffect(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QGraphicsDropShadowEffect instance, io.qt.core.QObject parent); /** *

See QGraphicsDropShadowEffect::blurRadius()const

*/ @QtPropertyReader(name="blurRadius") @QtUninvokable public final double blurRadius(){ return blurRadius_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double blurRadius_native_constfct(long __this__nativeId); /** *

See QGraphicsDropShadowEffect::color()const

*/ @QtPropertyReader(name="color") @QtUninvokable public final io.qt.gui.@NonNull QColor color(){ return color_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QColor color_native_constfct(long __this__nativeId); /** *

See QGraphicsDropShadowEffect::offset()const

*/ @QtPropertyReader(name="offset") @QtUninvokable public final io.qt.core.@NonNull QPointF offset(){ return offset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPointF offset_native_constfct(long __this__nativeId); /** *

See QGraphicsDropShadowEffect::setBlurRadius(qreal)

*/ @QtPropertyWriter(name="blurRadius") public final void setBlurRadius(double blurRadius){ setBlurRadius_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), blurRadius); } private native void setBlurRadius_native_qreal(long __this__nativeId, double blurRadius); /** *

See QGraphicsDropShadowEffect::setColor(QColor)

*/ @QtPropertyWriter(name="color") public final void setColor(io.qt.gui.@NonNull QColor color){ setColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(color)); } private native void setColor_native_cref_QColor(long __this__nativeId, long color); /** *

See QGraphicsDropShadowEffect::setOffset(QPointF)

*/ @QtPropertyWriter(name="offset") public final void setOffset(io.qt.core.@NonNull QPointF ofs){ setOffset_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ofs)); } private native void setOffset_native_cref_QPointF(long __this__nativeId, long ofs); /** *

See QGraphicsDropShadowEffect::setOffset(qreal)

*/ @QtPropertyWriter(name="offset") public final void setOffset(double d){ setOffset_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), d); } private native void setOffset_native_qreal(long __this__nativeId, double d); /** *

See QGraphicsDropShadowEffect::setOffset(qreal,qreal)

*/ @QtPropertyWriter(name="offset") public final void setOffset(double dx, double dy){ setOffset_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } private native void setOffset_native_qreal_qreal(long __this__nativeId, double dx, double dy); /** *

See QGraphicsDropShadowEffect::setXOffset(qreal)

*/ @QtPropertyWriter(name="xOffset") public final void setXOffset(double dx){ setXOffset_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), dx); } private native void setXOffset_native_qreal(long __this__nativeId, double dx); /** *

See QGraphicsDropShadowEffect::setYOffset(qreal)

*/ @QtPropertyWriter(name="yOffset") public final void setYOffset(double dy){ setYOffset_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), dy); } private native void setYOffset_native_qreal(long __this__nativeId, double dy); /** *

See QGraphicsDropShadowEffect::xOffset()const

*/ @QtPropertyReader(name="xOffset") @QtUninvokable public final double xOffset(){ return xOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double xOffset_native_constfct(long __this__nativeId); /** *

See QGraphicsDropShadowEffect::yOffset()const

*/ @QtPropertyReader(name="yOffset") @QtUninvokable public final double yOffset(){ return yOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double yOffset_native_constfct(long __this__nativeId); /** *

See QGraphicsEffect::boundingRectFor(QRectF)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QRectF boundingRectFor(io.qt.core.@NonNull QRectF rect){ return boundingRectFor_native_cref_QRectF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @QtUninvokable private native io.qt.core.QRectF boundingRectFor_native_cref_QRectF_constfct(long __this__nativeId, long rect); /** *

See QGraphicsEffect::draw(QPainter*)

*/ @QtUninvokable @Override protected void draw(io.qt.gui.@Nullable QPainter painter){ draw_native_QPainter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter)); } @QtUninvokable private native void draw_native_QPainter_ptr(long __this__nativeId, long painter); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGraphicsDropShadowEffect(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QGraphicsDropShadowEffect(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QGraphicsDropShadowEffect instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QGraphicsDropShadowEffect(io.qt.core.QObject)} * with parent = null.

*/ public QGraphicsDropShadowEffect() { this((io.qt.core.QObject)null); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getBlurRadius() { return blurRadius(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.@NonNull QColor getColor() { return color(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QPointF getOffset() { return offset(); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QColor)}.

*/ public final void setColor(io.qt.core.Qt.@NonNull GlobalColor color) { setColor(new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QColor)}.

*/ public final void setColor(io.qt.gui.@NonNull QRgba64 color) { setColor(new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QColor)}.

*/ public final void setColor(java.lang.@NonNull String color) { setColor(new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setOffset(io.qt.core.QPointF)}.

*/ public final void setOffset(io.qt.core.@NonNull QPoint ofs) { setOffset(new io.qt.core.QPointF(ofs)); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getXOffset() { return xOffset(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getYOffset() { return yOffset(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy