io.qt.widgets.QStyleOptionComplex Maven / Gradle / Ivy
The newest version!
package io.qt.widgets;
/**
* 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.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);
@io.qt.QtUninvokable
public final void set(io.qt.widgets.QStyleOptionComplex arg__1){
set_native_cref_QStyleOptionComplex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void set_native_cref_QStyleOptionComplex(long __this__nativeId, long arg__1);
/**
* Overloaded function for {@link #setActiveSubControls(io.qt.widgets.QStyle.SubControls)}.
*/
@io.qt.QtUninvokable
public final void setActiveSubControls(io.qt.widgets.QStyle.SubControl ... activeSubControls){
setActiveSubControls(new io.qt.widgets.QStyle.SubControls(activeSubControls));
}
/**
* See QStyleOptionComplex::activeSubControls
*/
@io.qt.QtUninvokable
public final void setActiveSubControls(io.qt.widgets.QStyle.SubControls activeSubControls){
setActiveSubControls_native_cref_QFlags_QStyle_SubControl_(QtJambi_LibraryUtilities.internal.nativeId(this), activeSubControls.value());
}
@io.qt.QtUninvokable
private native void setActiveSubControls_native_cref_QFlags_QStyle_SubControl_(long __this__nativeId, int activeSubControls);
/**
* See QStyleOptionComplex::activeSubControls
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QStyle.SubControls activeSubControls(){
return new io.qt.widgets.QStyle.SubControls(activeSubControls_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int activeSubControls_native(long __this__nativeId);
/**
* Overloaded function for {@link #setSubControls(io.qt.widgets.QStyle.SubControls)}.
*/
@io.qt.QtUninvokable
public final void setSubControls(io.qt.widgets.QStyle.SubControl ... subControls){
setSubControls(new io.qt.widgets.QStyle.SubControls(subControls));
}
/**
* See QStyleOptionComplex::subControls
*/
@io.qt.QtUninvokable
public final void setSubControls(io.qt.widgets.QStyle.SubControls subControls){
setSubControls_native_cref_QFlags_QStyle_SubControl_(QtJambi_LibraryUtilities.internal.nativeId(this), subControls.value());
}
@io.qt.QtUninvokable
private native void setSubControls_native_cref_QFlags_QStyle_SubControl_(long __this__nativeId, int subControls);
/**
* See QStyleOptionComplex::subControls
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QStyle.SubControls subControls(){
return new io.qt.widgets.QStyle.SubControls(subControls_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int subControls_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QStyleOptionComplex(QPrivateConstructor p) { super(p); }
@Override
public QStyleOptionComplex clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QStyleOptionComplex clone_native(long __this_nativeId);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy