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

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

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

Stack of tabbed widgets

*

Java wrapper for Qt class QTabWidget

*/ public class QTabWidget extends io.qt.widgets.QWidget { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTabWidget.class); /** *

Java wrapper for Qt enum QTabWidget::TabPosition

*/ public enum TabPosition implements QtEnumerator { /** *

Representing QTabWidget::North

*/ North(0), /** *

Representing QTabWidget::South

*/ South(1), /** *

Representing QTabWidget::West

*/ West(2), /** *

Representing QTabWidget::East

*/ East(3); static { QtJambi_LibraryUtilities.initialize(); } private TabPosition(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull TabPosition resolve(int value) { switch (value) { case 0: return North; case 1: return South; case 2: return West; case 3: return East; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QTabWidget::TabShape

*/ public enum TabShape implements QtEnumerator { /** *

Representing QTabWidget::Rounded

*/ Rounded(0), /** *

Representing QTabWidget::Triangular

*/ Triangular(1); static { QtJambi_LibraryUtilities.initialize(); } private TabShape(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull TabShape resolve(int value) { switch (value) { case 0: return Rounded; case 1: return Triangular; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QTabWidget::currentChanged(int)

*/ @QtPropertyNotify(name="currentIndex") public final @NonNull Signal1 currentChanged = new Signal1<>(); /** *

See QTabWidget::tabBarClicked(int)

*/ public final @NonNull Signal1 tabBarClicked = new Signal1<>(); /** *

See QTabWidget::tabBarDoubleClicked(int)

*/ public final @NonNull Signal1 tabBarDoubleClicked = new Signal1<>(); /** *

See QTabWidget::tabCloseRequested(int)

*/ public final @NonNull Signal1 tabCloseRequested = new Signal1<>(); /** *

See QTabWidget::QTabWidget(QWidget*)

*/ public QTabWidget(io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QTabWidget instance, io.qt.widgets.QWidget parent); /** *

See QTabWidget::addTab(QWidget*,QIcon,QString)

*/ @QtUninvokable public final int addTab(io.qt.widgets.@Nullable QWidget widget, io.qt.gui.@NonNull QIcon icon, java.lang.@NonNull String label){ return addTab_native_QWidget_ptr_cref_QIcon_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget), QtJambi_LibraryUtilities.internal.checkedNativeId(icon), label); } @QtUninvokable private native int addTab_native_QWidget_ptr_cref_QIcon_cref_QString(long __this__nativeId, long widget, long icon, java.lang.String label); /** *

See QTabWidget::addTab(QWidget*,QString)

*/ @QtUninvokable public final int addTab(io.qt.widgets.@Nullable QWidget widget, java.lang.@NonNull String arg__2){ return addTab_native_QWidget_ptr_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget), arg__2); } @QtUninvokable private native int addTab_native_QWidget_ptr_cref_QString(long __this__nativeId, long widget, java.lang.String arg__2); /** *

See QTabWidget::clear()

*/ @QtUninvokable public final void clear(){ clear_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clear_native(long __this__nativeId); /** *

See QTabWidget::cornerWidget(Qt::Corner)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget cornerWidget(io.qt.core.Qt.@NonNull Corner corner){ return cornerWidget_native_Qt_Corner_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), corner.value()); } @QtUninvokable private native io.qt.widgets.QWidget cornerWidget_native_Qt_Corner_constfct(long __this__nativeId, int corner); /** *

See QTabWidget::count()const

*/ @QtPropertyReader(name="count") @QtUninvokable public final int count(){ return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int count_native_constfct(long __this__nativeId); /** *

See QTabWidget::currentIndex()const

*/ @QtPropertyReader(name="currentIndex") @QtUninvokable public final int currentIndex(){ return currentIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int currentIndex_native_constfct(long __this__nativeId); /** *

See QTabWidget::currentWidget()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget currentWidget(){ return currentWidget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QWidget currentWidget_native_constfct(long __this__nativeId); /** *

See QTabWidget::documentMode()const

*/ @QtPropertyReader(name="documentMode") @QtUninvokable public final boolean documentMode(){ return documentMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean documentMode_native_constfct(long __this__nativeId); /** *

See QTabWidget::elideMode()const

*/ @QtPropertyReader(name="elideMode") @QtUninvokable public final io.qt.core.Qt.@NonNull TextElideMode elideMode(){ return io.qt.core.Qt.TextElideMode.resolve(elideMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int elideMode_native_constfct(long __this__nativeId); /** *

See QTabWidget::iconSize()const

*/ @QtPropertyReader(name="iconSize") @QtUninvokable public final io.qt.core.@NonNull QSize iconSize(){ return iconSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize iconSize_native_constfct(long __this__nativeId); /** *

See QTabWidget::indexOf(const QWidget*)const

*/ @QtUninvokable public final int indexOf(io.qt.widgets.@Nullable QWidget widget){ return indexOf_native_const_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @QtUninvokable private native int indexOf_native_const_QWidget_ptr_constfct(long __this__nativeId, long widget); /** *

See QTabWidget::insertTab(int,QWidget*,QIcon,QString)

*/ @QtUninvokable public final int insertTab(int index, io.qt.widgets.@Nullable QWidget widget, io.qt.gui.@NonNull QIcon icon, java.lang.@NonNull String label){ return insertTab_native_int_QWidget_ptr_cref_QIcon_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(widget), QtJambi_LibraryUtilities.internal.checkedNativeId(icon), label); } @QtUninvokable private native int insertTab_native_int_QWidget_ptr_cref_QIcon_cref_QString(long __this__nativeId, int index, long widget, long icon, java.lang.String label); /** *

See QTabWidget::insertTab(int,QWidget*,QString)

*/ @QtUninvokable public final int insertTab(int index, io.qt.widgets.@Nullable QWidget widget, java.lang.@NonNull String arg__3){ return insertTab_native_int_QWidget_ptr_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(widget), arg__3); } @QtUninvokable private native int insertTab_native_int_QWidget_ptr_cref_QString(long __this__nativeId, int index, long widget, java.lang.String arg__3); /** *

See QTabWidget::isMovable()const

*/ @QtPropertyReader(name="movable") @QtUninvokable public final boolean isMovable(){ return isMovable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isMovable_native_constfct(long __this__nativeId); /** *

See QTabWidget::isTabEnabled(int)const

*/ @QtUninvokable public final boolean isTabEnabled(int index){ return isTabEnabled_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native boolean isTabEnabled_native_int_constfct(long __this__nativeId, int index); /** *

See QTabWidget::isTabVisible(int)const

*/ @QtUninvokable public final boolean isTabVisible(int index){ return isTabVisible_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native boolean isTabVisible_native_int_constfct(long __this__nativeId, int index); /** *

See QTabWidget::removeTab(int)

*/ @QtUninvokable public final void removeTab(int index){ removeTab_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native void removeTab_native_int(long __this__nativeId, int index); /** *

See QTabWidget::setCornerWidget(QWidget*,Qt::Corner)

*/ @QtUninvokable public final void setCornerWidget(io.qt.widgets.@Nullable QWidget w, io.qt.core.Qt.@NonNull Corner corner){ setCornerWidget_native_QWidget_ptr_Qt_Corner(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w), corner.value()); } @QtUninvokable private native void setCornerWidget_native_QWidget_ptr_Qt_Corner(long __this__nativeId, long w, int corner); /** *

See QTabWidget::setCurrentIndex(int)

*/ @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 QTabWidget::setCurrentWidget(QWidget*)

*/ public final void setCurrentWidget(io.qt.widgets.@Nullable QWidget widget){ setCurrentWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } private native void setCurrentWidget_native_QWidget_ptr(long __this__nativeId, long widget); /** *

See QTabWidget::setDocumentMode(bool)

*/ @QtPropertyWriter(name="documentMode") @QtUninvokable public final void setDocumentMode(boolean set){ setDocumentMode_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), set); } @QtUninvokable private native void setDocumentMode_native_bool(long __this__nativeId, boolean set); /** *

See QTabWidget::setElideMode(Qt::TextElideMode)

*/ @QtPropertyWriter(name="elideMode") @QtUninvokable public final void setElideMode(io.qt.core.Qt.@NonNull TextElideMode mode){ setElideMode_native_Qt_TextElideMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setElideMode_native_Qt_TextElideMode(long __this__nativeId, int mode); /** *

See QTabWidget::setIconSize(QSize)

*/ @QtPropertyWriter(name="iconSize") @QtUninvokable public final void setIconSize(io.qt.core.@NonNull QSize size){ setIconSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size)); } @QtUninvokable private native void setIconSize_native_cref_QSize(long __this__nativeId, long size); /** *

See QTabWidget::setMovable(bool)

*/ @QtPropertyWriter(name="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); /** *

See QTabWidget::setTabBar(QTabBar*)

*/ @QtUninvokable protected final void setTabBar(io.qt.widgets.@Nullable QTabBar arg__1){ setTabBar_native_QTabBar_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void setTabBar_native_QTabBar_ptr(long __this__nativeId, long arg__1); /** *

See QTabWidget::setTabBarAutoHide(bool)

*/ @QtPropertyWriter(name="tabBarAutoHide") @QtUninvokable public final void setTabBarAutoHide(boolean enabled){ setTabBarAutoHide_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled); } @QtUninvokable private native void setTabBarAutoHide_native_bool(long __this__nativeId, boolean enabled); /** *

See QTabWidget::setTabEnabled(int,bool)

*/ @QtUninvokable public final void setTabEnabled(int index, boolean enabled){ setTabEnabled_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), index, enabled); } @QtUninvokable private native void setTabEnabled_native_int_bool(long __this__nativeId, int index, boolean enabled); /** *

See QTabWidget::setTabIcon(int,QIcon)

*/ @QtUninvokable public final void setTabIcon(int index, io.qt.gui.@NonNull QIcon icon){ setTabIcon_native_int_cref_QIcon(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(icon)); } @QtUninvokable private native void setTabIcon_native_int_cref_QIcon(long __this__nativeId, int index, long icon); /** *

See QTabWidget::setTabPosition(QTabWidget::TabPosition)

*/ @QtPropertyWriter(name="tabPosition") @QtUninvokable public final void setTabPosition(io.qt.widgets.QTabWidget.@NonNull TabPosition position){ setTabPosition_native_QTabWidget_TabPosition(QtJambi_LibraryUtilities.internal.nativeId(this), position.value()); } @QtUninvokable private native void setTabPosition_native_QTabWidget_TabPosition(long __this__nativeId, int position); /** *

See QTabWidget::setTabShape(QTabWidget::TabShape)

*/ @QtPropertyWriter(name="tabShape") @QtUninvokable public final void setTabShape(io.qt.widgets.QTabWidget.@NonNull TabShape s){ setTabShape_native_QTabWidget_TabShape(QtJambi_LibraryUtilities.internal.nativeId(this), s.value()); } @QtUninvokable private native void setTabShape_native_QTabWidget_TabShape(long __this__nativeId, int s); /** *

See QTabWidget::setTabText(int,QString)

*/ @QtUninvokable public final void setTabText(int index, java.lang.@NonNull String text){ setTabText_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, text); } @QtUninvokable private native void setTabText_native_int_cref_QString(long __this__nativeId, int index, java.lang.String text); /** *

See QTabWidget::setTabToolTip(int,QString)

*/ @QtUninvokable public final void setTabToolTip(int index, java.lang.@NonNull String tip){ setTabToolTip_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, tip); } @QtUninvokable private native void setTabToolTip_native_int_cref_QString(long __this__nativeId, int index, java.lang.String tip); /** *

See QTabWidget::setTabVisible(int,bool)

*/ @QtUninvokable public final void setTabVisible(int index, boolean visible){ setTabVisible_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), index, visible); } @QtUninvokable private native void setTabVisible_native_int_bool(long __this__nativeId, int index, boolean visible); /** *

See QTabWidget::setTabWhatsThis(int,QString)

*/ @QtUninvokable public final void setTabWhatsThis(int index, java.lang.@NonNull String text){ setTabWhatsThis_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, text); } @QtUninvokable private native void setTabWhatsThis_native_int_cref_QString(long __this__nativeId, int index, java.lang.String text); /** *

See QTabWidget::setTabsClosable(bool)

*/ @QtPropertyWriter(name="tabsClosable") @QtUninvokable public final void setTabsClosable(boolean closeable){ setTabsClosable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), closeable); } @QtUninvokable private native void setTabsClosable_native_bool(long __this__nativeId, boolean closeable); /** *

See QTabWidget::setUsesScrollButtons(bool)

*/ @QtPropertyWriter(name="usesScrollButtons") @QtUninvokable public final void setUsesScrollButtons(boolean useButtons){ setUsesScrollButtons_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), useButtons); } @QtUninvokable private native void setUsesScrollButtons_native_bool(long __this__nativeId, boolean useButtons); /** *

See QTabWidget::tabBar()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QTabBar tabBar(){ return tabBar_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QTabBar tabBar_native_constfct(long __this__nativeId); /** *

See QTabWidget::tabBarAutoHide()const

*/ @QtPropertyReader(name="tabBarAutoHide") @QtUninvokable public final boolean tabBarAutoHide(){ return tabBarAutoHide_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean tabBarAutoHide_native_constfct(long __this__nativeId); /** *

See QTabWidget::tabIcon(int)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QIcon tabIcon(int index){ return tabIcon_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native io.qt.gui.QIcon tabIcon_native_int_constfct(long __this__nativeId, int index); /** *

See QTabWidget::tabPosition()const

*/ @QtPropertyReader(name="tabPosition") @QtUninvokable public final io.qt.widgets.QTabWidget.@NonNull TabPosition tabPosition(){ return io.qt.widgets.QTabWidget.TabPosition.resolve(tabPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int tabPosition_native_constfct(long __this__nativeId); /** *

See QTabWidget::tabShape()const

*/ @QtPropertyReader(name="tabShape") @QtUninvokable public final io.qt.widgets.QTabWidget.@NonNull TabShape tabShape(){ return io.qt.widgets.QTabWidget.TabShape.resolve(tabShape_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int tabShape_native_constfct(long __this__nativeId); /** *

See QTabWidget::tabText(int)const

*/ @QtUninvokable public final java.lang.@NonNull String tabText(int index){ return tabText_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native java.lang.String tabText_native_int_constfct(long __this__nativeId, int index); /** *

See QTabWidget::tabToolTip(int)const

*/ @QtUninvokable public final java.lang.@NonNull String tabToolTip(int index){ return tabToolTip_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native java.lang.String tabToolTip_native_int_constfct(long __this__nativeId, int index); /** *

See QTabWidget::tabWhatsThis(int)const

*/ @QtUninvokable public final java.lang.@NonNull String tabWhatsThis(int index){ return tabWhatsThis_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native java.lang.String tabWhatsThis_native_int_constfct(long __this__nativeId, int index); /** *

See QTabWidget::tabsClosable()const

*/ @QtPropertyReader(name="tabsClosable") @QtUninvokable public final boolean tabsClosable(){ return tabsClosable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean tabsClosable_native_constfct(long __this__nativeId); /** *

See QTabWidget::usesScrollButtons()const

*/ @QtPropertyReader(name="usesScrollButtons") @QtUninvokable public final boolean usesScrollButtons(){ return usesScrollButtons_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean usesScrollButtons_native_constfct(long __this__nativeId); /** *

See QTabWidget::widget(int)const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget widget(int index){ return widget_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native io.qt.widgets.QWidget widget_native_int_constfct(long __this__nativeId, int index); /** *

See QWidget::changeEvent(QEvent*)

*/ @QtUninvokable @Override protected void changeEvent(io.qt.core.@Nullable QEvent arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long arg__1); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1); /** *

See QWidget::hasHeightForWidth()const

*/ @QtUninvokable @Override public boolean hasHeightForWidth(){ return hasHeightForWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasHeightForWidth_native_constfct(long __this__nativeId); /** *

See QWidget::heightForWidth(int)const

*/ @QtUninvokable @Override public int heightForWidth(int width){ return heightForWidth_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), width); } @QtUninvokable private native int heightForWidth_native_int_constfct(long __this__nativeId, int width); /** *

See QTabWidget::initStyleOption(QStyleOptionTabWidgetFrame*)const

*/ @QtUninvokable protected void initStyleOption(io.qt.widgets.@Nullable QStyleOptionTabWidgetFrame option){ initStyleOption_native_QStyleOptionTabWidgetFrame_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option)); } @QtUninvokable private native void initStyleOption_native_QStyleOptionTabWidgetFrame_ptr_constfct(long __this__nativeId, long option); /** *

See QWidget::keyPressEvent(QKeyEvent*)

*/ @QtUninvokable @Override protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1); /** *

See QWidget::minimumSizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize minimumSizeHint(){ return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId); /** *

See QWidget::paintEvent(QPaintEvent*)

*/ @QtUninvokable @Override protected void paintEvent(io.qt.gui.@Nullable QPaintEvent arg__1){ paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long arg__1); /** *

See QWidget::resizeEvent(QResizeEvent*)

*/ @QtUninvokable @Override protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent arg__1){ resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long arg__1); /** *

See QWidget::showEvent(QShowEvent*)

*/ @QtUninvokable @Override protected void showEvent(io.qt.gui.@Nullable QShowEvent arg__1){ showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long arg__1); /** *

See QWidget::sizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize sizeHint(){ return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId); /** *

See QTabWidget::tabInserted(int)

*/ @QtUninvokable protected void tabInserted(int index){ tabInserted_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native void tabInserted_native_int(long __this__nativeId, int index); /** *

See QTabWidget::tabRemoved(int)

*/ @QtUninvokable protected void tabRemoved(int index){ tabRemoved_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native void tabRemoved_native_int(long __this__nativeId, int index); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTabWidget(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QTabWidget(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QTabWidget instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QTabWidget(io.qt.widgets.QWidget)} * with parent = null.

*/ public QTabWidget() { this((io.qt.widgets.QWidget)null); } /** *

Overloaded function for {@link #addTab(io.qt.widgets.QWidget, io.qt.gui.QIcon, java.lang.String)}.

*/ @QtUninvokable public final int addTab(io.qt.widgets.@Nullable QWidget widget, io.qt.gui.@NonNull QPixmap icon, java.lang.@NonNull String label) { return addTab(widget, new io.qt.gui.QIcon(icon), label); } /** *

Overloaded function for {@link #cornerWidget(io.qt.core.Qt.Corner)} * with corner = io.qt.core.Qt.Corner.TopRightCorner.

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget cornerWidget() { return cornerWidget(io.qt.core.Qt.Corner.TopRightCorner); } /** * @hidden *

Kotlin property getter. In Java use {@link #count()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getCount() { return count(); } /** * @hidden *

Kotlin property getter. In Java use {@link #currentIndex()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getCurrentIndex() { return currentIndex(); } /** * @hidden *

Kotlin property getter. In Java use {@link #documentMode()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getDocumentMode() { return documentMode(); } /** * @hidden *

Kotlin property getter. In Java use {@link #elideMode()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull TextElideMode getElideMode() { return elideMode(); } /** * @hidden *

Kotlin property getter. In Java use {@link #iconSize()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QSize getIconSize() { return iconSize(); } /** *

Overloaded function for {@link #insertTab(int, io.qt.widgets.QWidget, io.qt.gui.QIcon, java.lang.String)}.

*/ @QtUninvokable public final int insertTab(int index, io.qt.widgets.@Nullable QWidget widget, io.qt.gui.@NonNull QPixmap icon, java.lang.@NonNull String label) { return insertTab(index, widget, new io.qt.gui.QIcon(icon), label); } /** * @hidden *

Kotlin property getter. In Java use {@link #isMovable()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getMovable() { return isMovable(); } /** *

Overloaded function for {@link #setCornerWidget(io.qt.widgets.QWidget, io.qt.core.Qt.Corner)} * with corner = io.qt.core.Qt.Corner.TopRightCorner.

*/ @QtUninvokable public final void setCornerWidget(io.qt.widgets.@Nullable QWidget w) { setCornerWidget(w, io.qt.core.Qt.Corner.TopRightCorner); } /** *

Overloaded function for {@link #setTabIcon(int, io.qt.gui.QIcon)}.

*/ @QtUninvokable public final void setTabIcon(int index, io.qt.gui.@NonNull QPixmap icon) { setTabIcon(index, new io.qt.gui.QIcon(icon)); } /** * @hidden *

Kotlin property getter. In Java use {@link #tabBarAutoHide()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getTabBarAutoHide() { return tabBarAutoHide(); } /** * @hidden *

Kotlin property getter. In Java use {@link #tabPosition()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QTabWidget.@NonNull TabPosition getTabPosition() { return tabPosition(); } /** * @hidden *

Kotlin property getter. In Java use {@link #tabShape()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QTabWidget.@NonNull TabShape getTabShape() { return tabShape(); } /** * @hidden *

Kotlin property getter. In Java use {@link #tabsClosable()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getTabsClosable() { return tabsClosable(); } /** * @hidden *

Kotlin property getter. In Java use {@link #usesScrollButtons()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getUsesScrollButtons() { return usesScrollButtons(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy