
io.qt.widgets.QGraphicsDropShadowEffect Maven / Gradle / Ivy
package io.qt.widgets;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsDropShadowEffect.class);
/**
* See QGraphicsDropShadowEffect::blurRadiusChanged(qreal)
*/
@io.qt.QtPropertyNotify(name="blurRadius")
public final Signal1<@io.qt.QtPrimitiveType Double> blurRadiusChanged = new Signal1<>();
/**
* See QGraphicsDropShadowEffect::colorChanged(QColor)
*/
@io.qt.QtPropertyNotify(name="color")
public final Signal1 colorChanged = new Signal1<>();
/**
* See QGraphicsDropShadowEffect::offsetChanged(QPointF)
*/
@io.qt.QtPropertyNotify(name="offset")
public final Signal1 offsetChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QGraphicsDropShadowEffect(io.qt.core.QObject)}
* with parent = null
.
*/
public QGraphicsDropShadowEffect() {
this((io.qt.core.QObject)null);
}
/**
* See QGraphicsDropShadowEffect::QGraphicsDropShadowEffect(QObject*)
*/
public QGraphicsDropShadowEffect(io.qt.core.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
*/
@io.qt.QtPropertyReader(name="blurRadius")
@io.qt.QtUninvokable
public final double blurRadius(){
return blurRadius_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double blurRadius_native_constfct(long __this__nativeId);
/**
* See QGraphicsDropShadowEffect::color()const
*/
@io.qt.QtPropertyReader(name="color")
@io.qt.QtUninvokable
public final io.qt.gui.QColor color(){
return color_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QColor color_native_constfct(long __this__nativeId);
/**
* See QGraphicsDropShadowEffect::offset()const
*/
@io.qt.QtPropertyReader(name="offset")
@io.qt.QtUninvokable
public final io.qt.core.QPointF offset(){
return offset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF offset_native_constfct(long __this__nativeId);
/**
* See QGraphicsDropShadowEffect::setBlurRadius(qreal)
*/
@io.qt.QtPropertyWriter(name="blurRadius")
public final void setBlurRadius(double blurRadius){
setBlurRadius_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), blurRadius);
}
private native void setBlurRadius_native_qtjambireal(long __this__nativeId, double blurRadius);
/**
* See QGraphicsDropShadowEffect::setColor(QColor)
*/
@io.qt.QtPropertyWriter(name="color")
public final void setColor(io.qt.gui.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)
*/
@io.qt.QtPropertyWriter(name="offset")
public final void setOffset(io.qt.core.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)
*/
@io.qt.QtPropertyWriter(name="offset")
public final void setOffset(double d){
setOffset_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), d);
}
private native void setOffset_native_qtjambireal(long __this__nativeId, double d);
/**
* See QGraphicsDropShadowEffect::setOffset(qreal,qreal)
*/
@io.qt.QtPropertyWriter(name="offset")
public final void setOffset(double dx, double dy){
setOffset_native_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy);
}
private native void setOffset_native_qtjambireal_qtjambireal(long __this__nativeId, double dx, double dy);
/**
* See QGraphicsDropShadowEffect::setXOffset(qreal)
*/
@io.qt.QtPropertyWriter(name="xOffset")
public final void setXOffset(double dx){
setXOffset_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), dx);
}
private native void setXOffset_native_qtjambireal(long __this__nativeId, double dx);
/**
* See QGraphicsDropShadowEffect::setYOffset(qreal)
*/
@io.qt.QtPropertyWriter(name="yOffset")
public final void setYOffset(double dy){
setYOffset_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), dy);
}
private native void setYOffset_native_qtjambireal(long __this__nativeId, double dy);
/**
* See QGraphicsDropShadowEffect::xOffset()const
*/
@io.qt.QtPropertyReader(name="xOffset")
@io.qt.QtUninvokable
public final double xOffset(){
return xOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double xOffset_native_constfct(long __this__nativeId);
/**
* See QGraphicsDropShadowEffect::yOffset()const
*/
@io.qt.QtPropertyReader(name="yOffset")
@io.qt.QtUninvokable
public final double yOffset(){
return yOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double yOffset_native_constfct(long __this__nativeId);
/**
* See QGraphicsEffect::boundingRectFor(QRectF)const
*/
@io.qt.QtUninvokable
public io.qt.core.QRectF boundingRectFor(io.qt.core.QRectF rect){
return boundingRectFor_native_cref_QRectF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@io.qt.QtUninvokable
private native io.qt.core.QRectF boundingRectFor_native_cref_QRectF_constfct(long __this__nativeId, long rect);
/**
* See QGraphicsEffect::draw(QPainter*)
*/
@io.qt.QtUninvokable
protected void draw(io.qt.gui.QPainter painter){
draw_native_QPainter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter));
}
@io.qt.QtUninvokable
private native void draw_native_QPainter_ptr(long __this__nativeId, long painter);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QGraphicsDropShadowEffect(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QGraphicsDropShadowEffect(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QGraphicsDropShadowEffect instance, QDeclarativeConstructor constructor);
}