io.qt.widgets.QStyleOptionDockWidget Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* 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.@NonNull QStyleOptionDockWidget other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QStyleOptionDockWidget instance, io.qt.widgets.QStyleOptionDockWidget other);
/**
* See QStyleOptionDockWidget:: operator=(QStyleOptionDockWidget)
*/
@QtUninvokable
public final void assign(io.qt.widgets.@NonNull QStyleOptionDockWidget arg__1){
assign_native_cref_QStyleOptionDockWidget(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_QStyleOptionDockWidget(long __this__nativeId, long arg__1);
/**
* Whether the dock window is closable
* See QStyleOptionDockWidget:: closable
*/
@QtUninvokable
public final void setClosable(boolean closable){
setClosable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), closable);
}
@QtUninvokable
private native void setClosable_native_bool(long __this__nativeId, boolean closable);
/**
* Whether the dock window is closable
* See QStyleOptionDockWidget:: closable
*/
@QtUninvokable
public final boolean closable(){
return closable_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean closable_native(long __this__nativeId);
/**
* Whether the dock window is floatable
* See QStyleOptionDockWidget:: floatable
*/
@QtUninvokable
public final void setFloatable(boolean floatable){
setFloatable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), floatable);
}
@QtUninvokable
private native void setFloatable_native_bool(long __this__nativeId, boolean floatable);
/**
* Whether the dock window is floatable
* See QStyleOptionDockWidget:: floatable
*/
@QtUninvokable
public final boolean floatable(){
return floatable_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean floatable_native(long __this__nativeId);
/**
* Whether the dock window is movable
* See QStyleOptionDockWidget:: movable
*/
@QtUninvokable
public final void setMovable(boolean movable){
setMovable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), movable);
}
@QtUninvokable
private native void setMovable_native_bool(long __this__nativeId, boolean movable);
/**
* Whether the dock window is movable
* See QStyleOptionDockWidget:: movable
*/
@QtUninvokable
public final boolean movable(){
return movable_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean movable_native(long __this__nativeId);
/**
* The title of the dock window
* See QStyleOptionDockWidget:: title
*/
@QtUninvokable
public final void setTitle(java.lang.@NonNull String title){
setTitle_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), title);
}
@QtUninvokable
private native void setTitle_native_cref_QString(long __this__nativeId, java.lang.String title);
/**
* The title of the dock window
* See QStyleOptionDockWidget:: title
*/
@QtUninvokable
public final java.lang.@NonNull String title(){
return title_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String title_native(long __this__nativeId);
/**
* See QStyleOptionDockWidget:: verticalTitleBar
*/
@QtUninvokable
public final void setVerticalTitleBar(boolean verticalTitleBar){
setVerticalTitleBar_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), verticalTitleBar);
}
@QtUninvokable
private native void setVerticalTitleBar_native_bool(long __this__nativeId, boolean verticalTitleBar);
/**
* See QStyleOptionDockWidget:: verticalTitleBar
*/
@QtUninvokable
public final boolean verticalTitleBar(){
return verticalTitleBar_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean verticalTitleBar_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QStyleOptionDockWidget(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QStyleOptionDockWidget:: QStyleOptionDockWidget(QStyleOptionDockWidget)
*/
@QtUninvokable
@Override
public QStyleOptionDockWidget clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QStyleOptionDockWidget clone_native(long __this_nativeId);
/**
* @deprecated Use {@link #assign(io.qt.widgets.QStyleOptionDockWidget)} instead.
*/
@Deprecated
@QtUninvokable
public final void set(io.qt.widgets.@NonNull QStyleOptionDockWidget arg__1) {
assign(arg__1);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #closable()} instead.
*/
@QtUninvokable
public final boolean getClosable() {
return closable();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #floatable()} instead.
*/
@QtUninvokable
public final boolean getFloatable() {
return floatable();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #movable()} instead.
*/
@QtUninvokable
public final boolean getMovable() {
return movable();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #title()} instead.
*/
@QtUninvokable
public final java.lang.@NonNull String getTitle() {
return title();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #verticalTitleBar()} instead.
*/
@QtUninvokable
public final boolean getVerticalTitleBar() {
return verticalTitleBar();
}
}