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

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

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

import io.qt.*;


/**
 * 

Used to hold parameters that are common to all complex controls

*

Java wrapper for Qt class QStyleOptionComplex

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

See QStyleOptionComplex::QStyleOptionComplex(QStyleOptionComplex)

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

See QStyleOptionComplex::QStyleOptionComplex(int,int)

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

See QStyleOptionComplex::operator=(QStyleOptionComplex)

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

See QStyleOptionComplex::activeSubControls

*/ @QtUninvokable public final void setActiveSubControls(io.qt.widgets.QStyle.@NonNull SubControls activeSubControls){ setActiveSubControls_native_cref_QStyle_SubControls(QtJambi_LibraryUtilities.internal.nativeId(this), activeSubControls.value()); } @QtUninvokable private native void setActiveSubControls_native_cref_QStyle_SubControls(long __this__nativeId, int activeSubControls); /** *

See QStyleOptionComplex::activeSubControls

*/ @QtUninvokable public final io.qt.widgets.QStyle.@NonNull SubControls activeSubControls(){ return new io.qt.widgets.QStyle.SubControls(activeSubControls_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int activeSubControls_native(long __this__nativeId); /** *

See QStyleOptionComplex::subControls

*/ @QtUninvokable public final void setSubControls(io.qt.widgets.QStyle.@NonNull SubControls subControls){ setSubControls_native_cref_QStyle_SubControls(QtJambi_LibraryUtilities.internal.nativeId(this), subControls.value()); } @QtUninvokable private native void setSubControls_native_cref_QStyle_SubControls(long __this__nativeId, int subControls); /** *

See QStyleOptionComplex::subControls

*/ @QtUninvokable public final io.qt.widgets.QStyle.@NonNull SubControls subControls(){ return new io.qt.widgets.QStyle.SubControls(subControls_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int subControls_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QStyleOptionComplex(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QStyleOptionComplex::QStyleOptionComplex(QStyleOptionComplex)

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

Overloaded function for {@link #setActiveSubControls(io.qt.widgets.QStyle.SubControls)}.

*/ @QtUninvokable public final void setActiveSubControls(io.qt.widgets.QStyle.@NonNull SubControl @NonNull... activeSubControls) { setActiveSubControls(new io.qt.widgets.QStyle.SubControls(activeSubControls)); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.widgets.QStyle.@NonNull SubControls getActiveSubControls() { return activeSubControls(); } /** *

Overloaded function for {@link #setSubControls(io.qt.widgets.QStyle.SubControls)}.

*/ @QtUninvokable public final void setSubControls(io.qt.widgets.QStyle.@NonNull SubControl @NonNull... subControls) { setSubControls(new io.qt.widgets.QStyle.SubControls(subControls)); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.widgets.QStyle.@NonNull SubControls getSubControls() { return subControls(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy