io.qt.widgets.QStyleOptionDockWidget Maven / Gradle / Ivy
package io.qt.widgets;
/**
* Used to describe the parameters for drawing a dock widget
* Java wrapper for Qt class QStyleOptionDockWidget
*/
public class QStyleOptionDockWidget extends io.qt.widgets.QStyleOption
implements java.lang.Cloneable
{
/**
* See QStyleOptionDockWidget::QStyleOptionDockWidget()
*/
public QStyleOptionDockWidget(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QStyleOptionDockWidget instance);
/**
* See QStyleOptionDockWidget::QStyleOptionDockWidget(QStyleOptionDockWidget)
*/
public QStyleOptionDockWidget(io.qt.widgets.QStyleOptionDockWidget other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QStyleOptionDockWidget instance, io.qt.widgets.QStyleOptionDockWidget other);
@io.qt.QtUninvokable
public final void set(io.qt.widgets.QStyleOptionDockWidget arg__1){
set_native_cref_QStyleOptionDockWidget(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void set_native_cref_QStyleOptionDockWidget(long __this__nativeId, long arg__1);
/**
* Whether the dock window is closable
* See QStyleOptionDockWidget::closable
*/
@io.qt.QtUninvokable
public final void setClosable(boolean closable){
setClosable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), closable);
}
@io.qt.QtUninvokable
private native void setClosable_native_bool(long __this__nativeId, boolean closable);
/**
* Whether the dock window is closable
* See QStyleOptionDockWidget::closable
*/
@io.qt.QtUninvokable
public final boolean closable(){
return closable_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean closable_native(long __this__nativeId);
/**
* Whether the dock window is floatable
* See QStyleOptionDockWidget::floatable
*/
@io.qt.QtUninvokable
public final void setFloatable(boolean floatable){
setFloatable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), floatable);
}
@io.qt.QtUninvokable
private native void setFloatable_native_bool(long __this__nativeId, boolean floatable);
/**
* Whether the dock window is floatable
* See QStyleOptionDockWidget::floatable
*/
@io.qt.QtUninvokable
public final boolean floatable(){
return floatable_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean floatable_native(long __this__nativeId);
/**
* Whether the dock window is movable
* See QStyleOptionDockWidget::movable
*/
@io.qt.QtUninvokable
public final void setMovable(boolean movable){
setMovable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), movable);
}
@io.qt.QtUninvokable
private native void setMovable_native_bool(long __this__nativeId, boolean movable);
/**
* Whether the dock window is movable
* See QStyleOptionDockWidget::movable
*/
@io.qt.QtUninvokable
public final boolean movable(){
return movable_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean movable_native(long __this__nativeId);
/**
* The title of the dock window
* See QStyleOptionDockWidget::title
*/
@io.qt.QtUninvokable
public final void setTitle(java.lang.String title){
setTitle_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), title);
}
@io.qt.QtUninvokable
private native void setTitle_native_cref_QString(long __this__nativeId, java.lang.String title);
/**
* The title of the dock window
* See QStyleOptionDockWidget::title
*/
@io.qt.QtUninvokable
public final java.lang.String title(){
return title_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String title_native(long __this__nativeId);
@io.qt.QtUninvokable
public final void setVerticalTitleBar(boolean verticalTitleBar){
setVerticalTitleBar_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), verticalTitleBar);
}
@io.qt.QtUninvokable
private native void setVerticalTitleBar_native_bool(long __this__nativeId, boolean verticalTitleBar);
@io.qt.QtUninvokable
public final boolean verticalTitleBar(){
return verticalTitleBar_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean verticalTitleBar_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QStyleOptionDockWidget(QPrivateConstructor p) { super(p); }
@Override
public QStyleOptionDockWidget clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QStyleOptionDockWidget clone_native(long __this_nativeId);
}