io.qt.widgets.QTabBar Maven / Gradle / Ivy
package io.qt.widgets;
/**
* Tab bar, e.g. for use in tabbed dialogs
* Java wrapper for Qt class QTabBar
*/
public class QTabBar extends io.qt.widgets.QWidget
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTabBar.class);
/**
* Java wrapper for Qt enum QTabBar::ButtonPosition
*/
@io.qt.QtUnlistedEnum
public enum ButtonPosition implements io.qt.QtEnumerator {
LeftSide(0),
RightSide(1);
private ButtonPosition(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static ButtonPosition resolve(int value) {
switch (value) {
case 0: return LeftSide;
case 1: return RightSide;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QTabBar::SelectionBehavior
*/
@io.qt.QtUnlistedEnum
public enum SelectionBehavior implements io.qt.QtEnumerator {
SelectLeftTab(0),
SelectRightTab(1),
SelectPreviousTab(2);
private SelectionBehavior(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static SelectionBehavior resolve(int value) {
switch (value) {
case 0: return SelectLeftTab;
case 1: return SelectRightTab;
case 2: return SelectPreviousTab;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QTabBar::Shape
*/
public enum Shape implements io.qt.QtEnumerator {
RoundedNorth(0),
RoundedSouth(1),
RoundedWest(2),
RoundedEast(3),
TriangularNorth(4),
TriangularSouth(5),
TriangularWest(6),
TriangularEast(7);
private Shape(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Shape resolve(int value) {
switch (value) {
case 0: return RoundedNorth;
case 1: return RoundedSouth;
case 2: return RoundedWest;
case 3: return RoundedEast;
case 4: return TriangularNorth;
case 5: return TriangularSouth;
case 6: return TriangularWest;
case 7: return TriangularEast;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QTabBar::currentChanged(int)
*/
@io.qt.QtPropertyNotify(name="currentIndex")
public final Signal1<@io.qt.QtPrimitiveType Integer> currentChanged = new Signal1<>();
/**
* See QTabBar::tabBarClicked(int)
*/
public final Signal1<@io.qt.QtPrimitiveType Integer> tabBarClicked = new Signal1<>();
/**
* See QTabBar::tabBarDoubleClicked(int)
*/
public final Signal1<@io.qt.QtPrimitiveType Integer> tabBarDoubleClicked = new Signal1<>();
/**
* See QTabBar::tabCloseRequested(int)
*/
public final Signal1<@io.qt.QtPrimitiveType Integer> tabCloseRequested = new Signal1<>();
/**
* See QTabBar::tabMoved(int,int)
*/
public final Signal2<@io.qt.QtPrimitiveType Integer, @io.qt.QtPrimitiveType Integer> tabMoved = new Signal2<>();
/**
* Overloaded constructor for {@link #QTabBar(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QTabBar() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QTabBar::QTabBar(QWidget*)
*/
public QTabBar(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QTabBar instance, io.qt.widgets.QWidget parent);
/**
* See QTabBar::accessibleTabName(int)const
*/
@io.qt.QtUninvokable
public final java.lang.String accessibleTabName(int index){
return accessibleTabName_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native java.lang.String accessibleTabName_native_int_constfct(long __this__nativeId, int index);
/**
* See QTabBar::addTab(QIcon,QString)
*/
@io.qt.QtUninvokable
public final int addTab(io.qt.gui.QIcon icon, java.lang.String text){
return addTab_native_cref_QIcon_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(icon), text);
}
@io.qt.QtUninvokable
private native int addTab_native_cref_QIcon_cref_QString(long __this__nativeId, long icon, java.lang.String text);
/**
*
*/
@io.qt.QtUninvokable
public final int addTab(java.lang.String text){
return addTab_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@io.qt.QtUninvokable
private native int addTab_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
*
*/
@io.qt.QtPropertyReader(name="autoHide")
@io.qt.QtUninvokable
public final boolean autoHide(){
return autoHide_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean autoHide_native_constfct(long __this__nativeId);
/**
* See QTabBar::changeCurrentOnDrag()const
*/
@io.qt.QtPropertyReader(name="changeCurrentOnDrag")
@io.qt.QtUninvokable
public final boolean changeCurrentOnDrag(){
return changeCurrentOnDrag_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean changeCurrentOnDrag_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtPropertyReader(name="count")
@io.qt.QtUninvokable
public final int count(){
return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int count_native_constfct(long __this__nativeId);
/**
* See QTabBar::currentIndex()const
*/
@io.qt.QtPropertyReader(name="currentIndex")
@io.qt.QtUninvokable
public final int currentIndex(){
return currentIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int currentIndex_native_constfct(long __this__nativeId);
/**
* See QTabBar::documentMode()const
*/
@io.qt.QtPropertyReader(name="documentMode")
@io.qt.QtUninvokable
public final boolean documentMode(){
return documentMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean documentMode_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtPropertyReader(name="drawBase")
@io.qt.QtUninvokable
public final boolean drawBase(){
return drawBase_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean drawBase_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtPropertyReader(name="elideMode")
@io.qt.QtUninvokable
public final io.qt.core.Qt.TextElideMode elideMode(){
return io.qt.core.Qt.TextElideMode.resolve(elideMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int elideMode_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtPropertyReader(name="expanding")
@io.qt.QtUninvokable
public final boolean expanding(){
return expanding_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean expanding_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtPropertyReader(name="iconSize")
@io.qt.QtUninvokable
public final io.qt.core.QSize iconSize(){
return iconSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize iconSize_native_constfct(long __this__nativeId);
/**
* See QTabBar::insertTab(int,QIcon,QString)
*/
@io.qt.QtUninvokable
public final int insertTab(int index, io.qt.gui.QIcon icon, java.lang.String text){
return insertTab_native_int_cref_QIcon_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(icon), text);
}
@io.qt.QtUninvokable
private native int insertTab_native_int_cref_QIcon_cref_QString(long __this__nativeId, int index, long icon, java.lang.String text);
/**
* See QTabBar::insertTab(int,QString)
*/
@io.qt.QtUninvokable
public final int insertTab(int index, java.lang.String text){
return insertTab_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, text);
}
@io.qt.QtUninvokable
private native int insertTab_native_int_cref_QString(long __this__nativeId, int index, java.lang.String text);
/**
*
*/
@io.qt.QtPropertyReader(name="movable")
@io.qt.QtUninvokable
public final boolean isMovable(){
return isMovable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isMovable_native_constfct(long __this__nativeId);
/**
* See QTabBar::isTabEnabled(int)const
*/
@io.qt.QtUninvokable
public final boolean isTabEnabled(int index){
return isTabEnabled_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native boolean isTabEnabled_native_int_constfct(long __this__nativeId, int index);
/**
* See QTabBar::isTabVisible(int)const
*/
@io.qt.QtUninvokable
public final boolean isTabVisible(int index){
return isTabVisible_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native boolean isTabVisible_native_int_constfct(long __this__nativeId, int index);
/**
*
*/
@io.qt.QtUninvokable
public final void moveTab(int from, int to){
moveTab_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), from, to);
}
@io.qt.QtUninvokable
private native void moveTab_native_int_int(long __this__nativeId, int from, int to);
/**
*
*/
@io.qt.QtUninvokable
public final void removeTab(int index){
removeTab_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native void removeTab_native_int(long __this__nativeId, int index);
/**
* See QTabBar::selectionBehaviorOnRemove()const
*/
@io.qt.QtPropertyReader(name="selectionBehaviorOnRemove")
@io.qt.QtUninvokable
public final io.qt.widgets.QTabBar.SelectionBehavior selectionBehaviorOnRemove(){
return io.qt.widgets.QTabBar.SelectionBehavior.resolve(selectionBehaviorOnRemove_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int selectionBehaviorOnRemove_native_constfct(long __this__nativeId);
/**
* See QTabBar::setAccessibleTabName(int,QString)
*/
@io.qt.QtUninvokable
public final void setAccessibleTabName(int index, java.lang.String name){
setAccessibleTabName_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, name);
}
@io.qt.QtUninvokable
private native void setAccessibleTabName_native_int_cref_QString(long __this__nativeId, int index, java.lang.String name);
/**
* See QTabBar::setAutoHide(bool)
*/
@io.qt.QtPropertyWriter(name="autoHide")
@io.qt.QtUninvokable
public final void setAutoHide(boolean hide){
setAutoHide_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), hide);
}
@io.qt.QtUninvokable
private native void setAutoHide_native_bool(long __this__nativeId, boolean hide);
/**
* See QTabBar::setChangeCurrentOnDrag(bool)
*/
@io.qt.QtPropertyWriter(name="changeCurrentOnDrag")
@io.qt.QtUninvokable
public final void setChangeCurrentOnDrag(boolean change){
setChangeCurrentOnDrag_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), change);
}
@io.qt.QtUninvokable
private native void setChangeCurrentOnDrag_native_bool(long __this__nativeId, boolean change);
/**
* See QTabBar::setCurrentIndex(int)
*/
@io.qt.QtPropertyWriter(name="currentIndex")
public final void setCurrentIndex(int index){
setCurrentIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
private native void setCurrentIndex_native_int(long __this__nativeId, int index);
/**
* See QTabBar::setDocumentMode(bool)
*/
@io.qt.QtPropertyWriter(name="documentMode")
@io.qt.QtUninvokable
public final void setDocumentMode(boolean set){
setDocumentMode_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), set);
}
@io.qt.QtUninvokable
private native void setDocumentMode_native_bool(long __this__nativeId, boolean set);
/**
* See QTabBar::setDrawBase(bool)
*/
@io.qt.QtPropertyWriter(name="drawBase")
@io.qt.QtUninvokable
public final void setDrawBase(boolean drawTheBase){
setDrawBase_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), drawTheBase);
}
@io.qt.QtUninvokable
private native void setDrawBase_native_bool(long __this__nativeId, boolean drawTheBase);
/**
* See QTabBar::setElideMode(Qt::TextElideMode)
*/
@io.qt.QtPropertyWriter(name="elideMode")
@io.qt.QtUninvokable
public final void setElideMode(io.qt.core.Qt.TextElideMode mode){
setElideMode_native_Qt_TextElideMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@io.qt.QtUninvokable
private native void setElideMode_native_Qt_TextElideMode(long __this__nativeId, int mode);
/**
* See QTabBar::setExpanding(bool)
*/
@io.qt.QtPropertyWriter(name="expanding")
@io.qt.QtUninvokable
public final void setExpanding(boolean enabled){
setExpanding_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@io.qt.QtUninvokable
private native void setExpanding_native_bool(long __this__nativeId, boolean enabled);
/**
* See QTabBar::setIconSize(QSize)
*/
@io.qt.QtPropertyWriter(name="iconSize")
@io.qt.QtUninvokable
public final void setIconSize(io.qt.core.QSize size){
setIconSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@io.qt.QtUninvokable
private native void setIconSize_native_cref_QSize(long __this__nativeId, long size);
/**
*
*/
@io.qt.QtPropertyWriter(name="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);
/**
* See QTabBar::setSelectionBehaviorOnRemove(QTabBar::SelectionBehavior)
*/
@io.qt.QtPropertyWriter(name="selectionBehaviorOnRemove")
@io.qt.QtUninvokable
public final void setSelectionBehaviorOnRemove(io.qt.widgets.QTabBar.SelectionBehavior behavior){
setSelectionBehaviorOnRemove_native_QTabBar_SelectionBehavior(QtJambi_LibraryUtilities.internal.nativeId(this), behavior.value());
}
@io.qt.QtUninvokable
private native void setSelectionBehaviorOnRemove_native_QTabBar_SelectionBehavior(long __this__nativeId, int behavior);
/**
* See QTabBar::setShape(QTabBar::Shape)
*/
@io.qt.QtPropertyWriter(name="shape")
@io.qt.QtUninvokable
public final void setShape(io.qt.widgets.QTabBar.Shape shape){
setShape_native_QTabBar_Shape(QtJambi_LibraryUtilities.internal.nativeId(this), shape.value());
}
@io.qt.QtUninvokable
private native void setShape_native_QTabBar_Shape(long __this__nativeId, int shape);
/**
* See QTabBar::setTabButton(int,QTabBar::ButtonPosition,QWidget*)
*/
@io.qt.QtUninvokable
public final void setTabButton(int index, io.qt.widgets.QTabBar.ButtonPosition position, io.qt.widgets.QWidget widget){
setTabButton_native_int_QTabBar_ButtonPosition_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), index, position.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native void setTabButton_native_int_QTabBar_ButtonPosition_QWidget_ptr(long __this__nativeId, int index, int position, long widget);
/**
* See QTabBar::setTabData(int,QVariant)
*/
@io.qt.QtUninvokable
public final void setTabData(int index, java.lang.Object data){
setTabData_native_int_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), index, data);
}
@io.qt.QtUninvokable
private native void setTabData_native_int_cref_QVariant(long __this__nativeId, int index, java.lang.Object data);
/**
* See QTabBar::setTabEnabled(int,bool)
*/
@io.qt.QtUninvokable
public final void setTabEnabled(int index, boolean enabled){
setTabEnabled_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), index, enabled);
}
@io.qt.QtUninvokable
private native void setTabEnabled_native_int_bool(long __this__nativeId, int index, boolean enabled);
/**
* See QTabBar::setTabIcon(int,QIcon)
*/
@io.qt.QtUninvokable
public final void setTabIcon(int index, io.qt.gui.QIcon icon){
setTabIcon_native_int_cref_QIcon(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(icon));
}
@io.qt.QtUninvokable
private native void setTabIcon_native_int_cref_QIcon(long __this__nativeId, int index, long icon);
/**
* See QTabBar::setTabText(int,QString)
*/
@io.qt.QtUninvokable
public final void setTabText(int index, java.lang.String text){
setTabText_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, text);
}
@io.qt.QtUninvokable
private native void setTabText_native_int_cref_QString(long __this__nativeId, int index, java.lang.String text);
/**
* See QTabBar::setTabTextColor(int,QColor)
*/
@io.qt.QtUninvokable
public final void setTabTextColor(int index, io.qt.gui.QColor color){
setTabTextColor_native_int_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(color));
}
@io.qt.QtUninvokable
private native void setTabTextColor_native_int_cref_QColor(long __this__nativeId, int index, long color);
/**
* See QTabBar::setTabToolTip(int,QString)
*/
@io.qt.QtUninvokable
public final void setTabToolTip(int index, java.lang.String tip){
setTabToolTip_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, tip);
}
@io.qt.QtUninvokable
private native void setTabToolTip_native_int_cref_QString(long __this__nativeId, int index, java.lang.String tip);
/**
* See QTabBar::setTabVisible(int,bool)
*/
@io.qt.QtUninvokable
public final void setTabVisible(int index, boolean visible){
setTabVisible_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), index, visible);
}
@io.qt.QtUninvokable
private native void setTabVisible_native_int_bool(long __this__nativeId, int index, boolean visible);
/**
* See QTabBar::setTabWhatsThis(int,QString)
*/
@io.qt.QtUninvokable
public final void setTabWhatsThis(int index, java.lang.String text){
setTabWhatsThis_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, text);
}
@io.qt.QtUninvokable
private native void setTabWhatsThis_native_int_cref_QString(long __this__nativeId, int index, java.lang.String text);
/**
* See QTabBar::setTabsClosable(bool)
*/
@io.qt.QtPropertyWriter(name="tabsClosable")
@io.qt.QtUninvokable
public final void setTabsClosable(boolean closable){
setTabsClosable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), closable);
}
@io.qt.QtUninvokable
private native void setTabsClosable_native_bool(long __this__nativeId, boolean closable);
/**
* See QTabBar::setUsesScrollButtons(bool)
*/
@io.qt.QtPropertyWriter(name="usesScrollButtons")
@io.qt.QtUninvokable
public final void setUsesScrollButtons(boolean useButtons){
setUsesScrollButtons_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), useButtons);
}
@io.qt.QtUninvokable
private native void setUsesScrollButtons_native_bool(long __this__nativeId, boolean useButtons);
/**
*
*/
@io.qt.QtPropertyReader(name="shape")
@io.qt.QtUninvokable
public final io.qt.widgets.QTabBar.Shape shape(){
return io.qt.widgets.QTabBar.Shape.resolve(shape_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int shape_native_constfct(long __this__nativeId);
/**
* See QTabBar::tabAt(QPoint)const
*/
@io.qt.QtUninvokable
public final int tabAt(io.qt.core.QPoint pos){
return tabAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@io.qt.QtUninvokable
private native int tabAt_native_cref_QPoint_constfct(long __this__nativeId, long pos);
/**
* See QTabBar::tabButton(int,QTabBar::ButtonPosition)const
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QWidget tabButton(int index, io.qt.widgets.QTabBar.ButtonPosition position){
return tabButton_native_int_QTabBar_ButtonPosition_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index, position.value());
}
@io.qt.QtUninvokable
private native io.qt.widgets.QWidget tabButton_native_int_QTabBar_ButtonPosition_constfct(long __this__nativeId, int index, int position);
/**
* See QTabBar::tabData(int)const
*/
@io.qt.QtUninvokable
public final java.lang.Object tabData(int index){
return tabData_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native java.lang.Object tabData_native_int_constfct(long __this__nativeId, int index);
/**
* See QTabBar::tabIcon(int)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QIcon tabIcon(int index){
return tabIcon_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.gui.QIcon tabIcon_native_int_constfct(long __this__nativeId, int index);
/**
* See QTabBar::tabRect(int)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect tabRect(int index){
return tabRect_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.core.QRect tabRect_native_int_constfct(long __this__nativeId, int index);
/**
* See QTabBar::tabText(int)const
*/
@io.qt.QtUninvokable
public final java.lang.String tabText(int index){
return tabText_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native java.lang.String tabText_native_int_constfct(long __this__nativeId, int index);
/**
* See QTabBar::tabTextColor(int)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QColor tabTextColor(int index){
return tabTextColor_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.gui.QColor tabTextColor_native_int_constfct(long __this__nativeId, int index);
/**
* See QTabBar::tabToolTip(int)const
*/
@io.qt.QtUninvokable
public final java.lang.String tabToolTip(int index){
return tabToolTip_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native java.lang.String tabToolTip_native_int_constfct(long __this__nativeId, int index);
/**
* See QTabBar::tabWhatsThis(int)const
*/
@io.qt.QtUninvokable
public final java.lang.String tabWhatsThis(int index){
return tabWhatsThis_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native java.lang.String tabWhatsThis_native_int_constfct(long __this__nativeId, int index);
/**
* See QTabBar::tabsClosable()const
*/
@io.qt.QtPropertyReader(name="tabsClosable")
@io.qt.QtUninvokable
public final boolean tabsClosable(){
return tabsClosable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean tabsClosable_native_constfct(long __this__nativeId);
/**
* See QTabBar::usesScrollButtons()const
*/
@io.qt.QtPropertyReader(name="usesScrollButtons")
@io.qt.QtUninvokable
public final boolean usesScrollButtons(){
return usesScrollButtons_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean usesScrollButtons_native_constfct(long __this__nativeId);
/**
* See QWidget::changeEvent(QEvent*)
*/
@io.qt.QtUninvokable
protected void changeEvent(io.qt.core.QEvent arg__1){
changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent arg__1){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::hideEvent(QHideEvent*)
*/
@io.qt.QtUninvokable
protected void hideEvent(io.qt.gui.QHideEvent arg__1){
hideEvent_native_QHideEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void hideEvent_native_QHideEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QTabBar::initStyleOption(QStyleOptionTab*,int)const
*/
@io.qt.QtUninvokable
protected void initStyleOption(io.qt.widgets.QStyleOptionTab option, int tabIndex){
initStyleOption_native_QStyleOptionTab_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option, tabIndex);
}
@io.qt.QtUninvokable
private native void initStyleOption_native_QStyleOptionTab_ptr_int_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionTab option, int tabIndex);
/**
* See QWidget::keyPressEvent(QKeyEvent*)
*/
@io.qt.QtUninvokable
protected void keyPressEvent(io.qt.gui.QKeyEvent arg__1){
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::minimumSizeHint()const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize minimumSizeHint(){
return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId);
/**
* See QTabBar::minimumTabSizeHint(int)const
*/
@io.qt.QtUninvokable
protected io.qt.core.QSize minimumTabSizeHint(int index){
return minimumTabSizeHint_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.core.QSize minimumTabSizeHint_native_int_constfct(long __this__nativeId, int index);
/**
* See QWidget::mouseDoubleClickEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseDoubleClickEvent(io.qt.gui.QMouseEvent arg__1){
mouseDoubleClickEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mouseDoubleClickEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::mouseMoveEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseMoveEvent(io.qt.gui.QMouseEvent arg__1){
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::mousePressEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mousePressEvent(io.qt.gui.QMouseEvent arg__1){
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::mouseReleaseEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseReleaseEvent(io.qt.gui.QMouseEvent arg__1){
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::paintEvent(QPaintEvent*)
*/
@io.qt.QtUninvokable
protected void paintEvent(io.qt.gui.QPaintEvent arg__1){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::resizeEvent(QResizeEvent*)
*/
@io.qt.QtUninvokable
protected void resizeEvent(io.qt.gui.QResizeEvent arg__1){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::showEvent(QShowEvent*)
*/
@io.qt.QtUninvokable
protected void showEvent(io.qt.gui.QShowEvent arg__1){
showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.core.QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
protected void tabInserted(int index){
tabInserted_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native void tabInserted_native_int(long __this__nativeId, int index);
/**
* See QTabBar::tabLayoutChange()
*/
@io.qt.QtUninvokable
protected void tabLayoutChange(){
tabLayoutChange_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void tabLayoutChange_native(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
protected void tabRemoved(int index){
tabRemoved_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native void tabRemoved_native_int(long __this__nativeId, int index);
/**
* See QTabBar::tabSizeHint(int)const
*/
@io.qt.QtUninvokable
protected io.qt.core.QSize tabSizeHint(int index){
return tabSizeHint_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@io.qt.QtUninvokable
private native io.qt.core.QSize tabSizeHint_native_int_constfct(long __this__nativeId, int index);
/**
* See QObject::timerEvent(QTimerEvent*)
*/
@io.qt.QtUninvokable
protected void timerEvent(io.qt.core.QTimerEvent event){
timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::wheelEvent(QWheelEvent*)
*/
@io.qt.QtUninvokable
protected void wheelEvent(io.qt.gui.QWheelEvent event){
wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QTabBar(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QTabBar(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QTabBar instance, QDeclarativeConstructor constructor);
}