io.qt.widgets.QGraphicsOpacityEffect 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;
/**
* Opacity effect
* Java wrapper for Qt class QGraphicsOpacityEffect
*/
public class QGraphicsOpacityEffect 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(QGraphicsOpacityEffect.class);
/**
* See QGraphicsOpacityEffect::opacityChanged(qreal)
*/
@io.qt.QtPropertyNotify(name="opacity")
public final Signal1<@io.qt.QtPrimitiveType Double> opacityChanged = new Signal1<>();
/**
* See QGraphicsOpacityEffect::opacityMaskChanged(QBrush)
*/
@io.qt.QtPropertyNotify(name="opacityMask")
public final Signal1 opacityMaskChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QGraphicsOpacityEffect(io.qt.core.QObject)}
* with parent = null
.
*/
public QGraphicsOpacityEffect() {
this((io.qt.core.QObject)null);
}
/**
* See QGraphicsOpacityEffect::QGraphicsOpacityEffect(QObject*)
*/
public QGraphicsOpacityEffect(io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QGraphicsOpacityEffect instance, io.qt.core.QObject parent);
/**
* See QGraphicsOpacityEffect::opacity()const
*/
@io.qt.QtPropertyReader(name="opacity")
@io.qt.QtUninvokable
public final double opacity(){
return opacity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double opacity_native_constfct(long __this__nativeId);
/**
* See QGraphicsOpacityEffect::opacityMask()const
*/
@io.qt.QtPropertyReader(name="opacityMask")
@io.qt.QtUninvokable
public final io.qt.gui.QBrush opacityMask(){
return opacityMask_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QBrush opacityMask_native_constfct(long __this__nativeId);
/**
* See QGraphicsOpacityEffect::setOpacity(qreal)
*/
@io.qt.QtPropertyWriter(name="opacity")
public final void setOpacity(double opacity){
setOpacity_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), opacity);
}
private native void setOpacity_native_qtjambireal(long __this__nativeId, double opacity);
/**
* See QGraphicsOpacityEffect::setOpacityMask(QBrush)
*/
@io.qt.QtPropertyWriter(name="opacityMask")
public final void setOpacityMask(io.qt.gui.QBrush mask){
setOpacityMask_native_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(mask));
}
private native void setOpacityMask_native_cref_QBrush(long __this__nativeId, long mask);
/**
* 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 QGraphicsOpacityEffect(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 QGraphicsOpacityEffect(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QGraphicsOpacityEffect instance, QDeclarativeConstructor constructor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy