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

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

The newest version!
package io.qt.widgets;


/**
 * 

Column of tabbed widget items

*

Java wrapper for Qt class QToolBox

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

See QToolBox::currentChanged(int)

*/ @io.qt.QtPropertyNotify(name="currentIndex") public final Signal1<@io.qt.QtPrimitiveType Integer> currentChanged = new Signal1<>(); /** *

Overloaded constructor for {@link #QToolBox(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.

*/ public QToolBox(io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowType ... f){ this(parent, new io.qt.core.Qt.WindowFlags(f)); } /** *

Overloaded constructor for {@link #QToolBox(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)} * with f = new io.qt.core.Qt.WindowFlags(0).

*/ public QToolBox(io.qt.widgets.QWidget parent) { this(parent, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded constructor for {@link #QToolBox(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}

*

with:

    *
  • parent = null
  • *
  • f = new io.qt.core.Qt.WindowFlags(0)
  • *
*/ public QToolBox() { this((io.qt.widgets.QWidget)null, new io.qt.core.Qt.WindowFlags(0)); } /** *

See QToolBox::QToolBox(QWidget*,Qt::WindowFlags)

*/ public QToolBox(io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags f){ super((QPrivateConstructor)null); initialize_native(this, parent, f); } private native static void initialize_native(QToolBox instance, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags f); /** *

See QToolBox::addItem(QWidget*,QIcon,QString)

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

See QToolBox::addItem(QWidget*,QString)

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

See QToolBox::count()const

*/ @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 QToolBox::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 QToolBox::currentWidget()const

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

See QToolBox::indexOf(const QWidget*)const

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

See QToolBox::insertItem(int,QWidget*,QIcon,QString)

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

See QToolBox::insertItem(int,QWidget*,QString)

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

See QToolBox::isItemEnabled(int)const

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

See QToolBox::itemIcon(int)const

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

See QToolBox::itemText(int)const

*/ @io.qt.QtUninvokable public final java.lang.String itemText(int index){ return itemText_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @io.qt.QtUninvokable private native java.lang.String itemText_native_int_constfct(long __this__nativeId, int index); /** *

See QToolBox::itemToolTip(int)const

*/ @io.qt.QtUninvokable public final java.lang.String itemToolTip(int index){ return itemToolTip_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @io.qt.QtUninvokable private native java.lang.String itemToolTip_native_int_constfct(long __this__nativeId, int index); /** *

See QToolBox::removeItem(int)

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

See QToolBox::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 QToolBox::setCurrentWidget(QWidget*)

*/ public final void setCurrentWidget(io.qt.widgets.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 QToolBox::setItemEnabled(int,bool)

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

See QToolBox::setItemIcon(int,QIcon)

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

See QToolBox::setItemText(int,QString)

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

See QToolBox::setItemToolTip(int,QString)

*/ @io.qt.QtUninvokable public final void setItemToolTip(int index, java.lang.String toolTip){ setItemToolTip_native_int_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), index, toolTip); } @io.qt.QtUninvokable private native void setItemToolTip_native_int_cref_QString(long __this__nativeId, int index, java.lang.String toolTip); /** *

See QToolBox::widget(int)const

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

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); /** *

See QObject::event(QEvent*)

*/ @io.qt.QtUninvokable public boolean event(io.qt.core.QEvent e){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @io.qt.QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long e); /** *

See QToolBox::itemInserted(int)

*/ @io.qt.QtUninvokable protected void itemInserted(int index){ itemInserted_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @io.qt.QtUninvokable private native void itemInserted_native_int(long __this__nativeId, int index); /** *

See QToolBox::itemRemoved(int)

*/ @io.qt.QtUninvokable protected void itemRemoved(int index){ itemRemoved_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @io.qt.QtUninvokable private native void itemRemoved_native_int(long __this__nativeId, int index); /** *

See QWidget::showEvent(QShowEvent*)

*/ @io.qt.QtUninvokable protected void showEvent(io.qt.gui.QShowEvent e){ showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @io.qt.QtUninvokable private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long e); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QToolBox(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 QToolBox(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QToolBox instance, QDeclarativeConstructor constructor); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy