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

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

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

import io.qt.*;


/**
 * 

Represents an anchor between two items in a QGraphicsAnchorLayout

*

Java wrapper for Qt class QGraphicsAnchor

*/ public final class QGraphicsAnchor extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsAnchor.class); /** *

See QGraphicsAnchor::setSizePolicy(QSizePolicy::Policy)

*/ @QtPropertyWriter(name="sizePolicy") @QtUninvokable public final void setSizePolicy(io.qt.widgets.QSizePolicy.@NonNull Policy policy){ setSizePolicy_native_QSizePolicy_Policy(QtJambi_LibraryUtilities.internal.nativeId(this), policy.value()); } @QtUninvokable private native void setSizePolicy_native_QSizePolicy_Policy(long __this__nativeId, int policy); /** *

See QGraphicsAnchor::setSpacing(qreal)

*/ @QtPropertyWriter(name="spacing") @QtUninvokable public final void setSpacing(double spacing){ setSpacing_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), spacing); } @QtUninvokable private native void setSpacing_native_qreal(long __this__nativeId, double spacing); /** *

See QGraphicsAnchor::sizePolicy()const

*/ @QtPropertyReader(name="sizePolicy") @QtUninvokable public final io.qt.widgets.QSizePolicy.@NonNull Policy sizePolicy(){ return io.qt.widgets.QSizePolicy.Policy.resolve(sizePolicy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int sizePolicy_native_constfct(long __this__nativeId); /** *

See QGraphicsAnchor::spacing()const

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

See QGraphicsAnchor::unsetSpacing()

*/ @QtPropertyResetter(name="spacing") @QtUninvokable public final void unsetSpacing(){ unsetSpacing_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void unsetSpacing_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGraphicsAnchor(QPrivateConstructor p) { super(p); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QSizePolicy.@NonNull Policy getSizePolicy() { return sizePolicy(); } /** * @hidden *

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy