io.qt.widgets.QStyleOptionHeaderV2 Maven / Gradle / Ivy
The newest version!
package io.qt.widgets;
/**
* Used to describe the parameters for drawing a header
* Java wrapper for Qt class QStyleOptionHeaderV2
*/
public class QStyleOptionHeaderV2 extends io.qt.widgets.QStyleOptionHeader
implements java.lang.Cloneable
{
/**
* See QStyleOptionHeaderV2::QStyleOptionHeaderV2()
*/
public QStyleOptionHeaderV2(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QStyleOptionHeaderV2 instance);
public QStyleOptionHeaderV2(io.qt.widgets.QStyleOptionHeaderV2 other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QStyleOptionHeaderV2 instance, io.qt.widgets.QStyleOptionHeaderV2 other);
protected QStyleOptionHeaderV2(int version){
super((QPrivateConstructor)null);
initialize_native(this, version);
}
private native static void initialize_native(QStyleOptionHeaderV2 instance, int version);
@io.qt.QtUninvokable
public final void set(io.qt.widgets.QStyleOptionHeaderV2 arg__1){
set_native_cref_QStyleOptionHeaderV2(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void set_native_cref_QStyleOptionHeaderV2(long __this__nativeId, long arg__1);
/**
* Whether the section is the location at which a dragged section will be inserted
* See QStyleOptionHeaderV2::isSectionDragTarget
*/
@io.qt.QtUninvokable
public final void setIsSectionDragTarget(boolean isSectionDragTarget){
setIsSectionDragTarget_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), isSectionDragTarget);
}
@io.qt.QtUninvokable
private native void setIsSectionDragTarget_native_bool(long __this__nativeId, boolean isSectionDragTarget);
/**
* Whether the section is the location at which a dragged section will be inserted
* See QStyleOptionHeaderV2::isSectionDragTarget
*/
@io.qt.QtUninvokable
public final boolean isSectionDragTarget(){
return isSectionDragTarget_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isSectionDragTarget_native(long __this__nativeId);
/**
* Where ellipsis should be added for text that is too long to fit into an item
* See QStyleOptionHeaderV2::textElideMode
*/
@io.qt.QtUninvokable
public final void setTextElideMode(io.qt.core.Qt.TextElideMode textElideMode){
setTextElideMode_native_cref_Qt_TextElideMode(QtJambi_LibraryUtilities.internal.nativeId(this), textElideMode.value());
}
@io.qt.QtUninvokable
private native void setTextElideMode_native_cref_Qt_TextElideMode(long __this__nativeId, int textElideMode);
/**
* Where ellipsis should be added for text that is too long to fit into an item
* See QStyleOptionHeaderV2::textElideMode
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.TextElideMode textElideMode(){
return io.qt.core.Qt.TextElideMode.resolve(textElideMode_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int textElideMode_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QStyleOptionHeaderV2(QPrivateConstructor p) { super(p); }
@Override
public QStyleOptionHeaderV2 clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QStyleOptionHeaderV2 clone_native(long __this_nativeId);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy