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

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

The newest version!
package io.qt.widgets;


/**
 * 

Used to describe the base of a tab bar, i.e. the part that the tab bar usually overlaps with

*

Java wrapper for Qt class QStyleOptionTabBarBase

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

See QStyleOptionTabBarBase::QStyleOptionTabBarBase()

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

See QStyleOptionTabBarBase::QStyleOptionTabBarBase(QStyleOptionTabBarBase)

*/ public QStyleOptionTabBarBase(io.qt.widgets.QStyleOptionTabBarBase other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStyleOptionTabBarBase instance, io.qt.widgets.QStyleOptionTabBarBase other); @io.qt.QtUninvokable public final void set(io.qt.widgets.QStyleOptionTabBarBase arg__1){ set_native_cref_QStyleOptionTabBarBase(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native void set_native_cref_QStyleOptionTabBarBase(long __this__nativeId, long arg__1); /** *

Whether the tabbar is in document mode

*

See QStyleOptionTabBarBase::documentMode

*/ @io.qt.QtUninvokable public final void setDocumentMode(boolean documentMode){ setDocumentMode_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), documentMode); } @io.qt.QtUninvokable private native void setDocumentMode_native_bool(long __this__nativeId, boolean documentMode); /** *

Whether the tabbar is in document mode

*

See QStyleOptionTabBarBase::documentMode

*/ @io.qt.QtUninvokable public final boolean documentMode(){ return documentMode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean documentMode_native(long __this__nativeId); /** *

The rectangle containing the selected tab

*

See QStyleOptionTabBarBase::selectedTabRect

*/ @io.qt.QtUninvokable public final void setSelectedTabRect(io.qt.core.QRect selectedTabRect){ setSelectedTabRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selectedTabRect)); } @io.qt.QtUninvokable private native void setSelectedTabRect_native_cref_QRect(long __this__nativeId, long selectedTabRect); /** *

The rectangle containing the selected tab

*

See QStyleOptionTabBarBase::selectedTabRect

*/ @io.qt.QtUninvokable public final io.qt.core.QRect selectedTabRect(){ return selectedTabRect_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRect selectedTabRect_native(long __this__nativeId); /** *

The shape of the tab bar

*

See QStyleOptionTabBarBase::shape

*/ @io.qt.QtUninvokable public final void setShape(io.qt.widgets.QTabBar.Shape shape){ setShape_native_cref_QTabBar_Shape(QtJambi_LibraryUtilities.internal.nativeId(this), shape.value()); } @io.qt.QtUninvokable private native void setShape_native_cref_QTabBar_Shape(long __this__nativeId, int shape); /** *

The shape of the tab bar

*

See QStyleOptionTabBarBase::shape

*/ @io.qt.QtUninvokable public final io.qt.widgets.QTabBar.Shape shape(){ return io.qt.widgets.QTabBar.Shape.resolve(shape_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int shape_native(long __this__nativeId); /** *

The rectangle containing all the tabs

*

See QStyleOptionTabBarBase::tabBarRect

*/ @io.qt.QtUninvokable public final void setTabBarRect(io.qt.core.QRect tabBarRect){ setTabBarRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(tabBarRect)); } @io.qt.QtUninvokable private native void setTabBarRect_native_cref_QRect(long __this__nativeId, long tabBarRect); /** *

The rectangle containing all the tabs

*

See QStyleOptionTabBarBase::tabBarRect

*/ @io.qt.QtUninvokable public final io.qt.core.QRect tabBarRect(){ return tabBarRect_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRect tabBarRect_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QStyleOptionTabBarBase(QPrivateConstructor p) { super(p); } @Override public QStyleOptionTabBarBase clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QStyleOptionTabBarBase clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy