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

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

The newest version!
package io.qt.widgets;


/**
 * 

Stack of widgets where only one widget is visible at a time

*

Java wrapper for Qt class QStackedWidget

*/ public class QStackedWidget 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(QStackedWidget.class); /** *

See QStackedWidget::currentChanged(int)

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

See QStackedWidget::widgetRemoved(int)

*/ public final Signal1<@io.qt.QtPrimitiveType Integer> widgetRemoved = new Signal1<>(); /** *

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

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

See QStackedWidget::QStackedWidget(QWidget*)

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

See QStackedWidget::addWidget(QWidget*)

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

See QStackedWidget::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 QStackedWidget::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 QStackedWidget::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 QStackedWidget::indexOf(const QWidget*)const

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

See QStackedWidget::insertWidget(int,QWidget*)

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

See QStackedWidget::removeWidget(QWidget*)

*/ @io.qt.QtUninvokable public final void removeWidget(io.qt.widgets.QWidget w){ removeWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w)); } @io.qt.QtUninvokable private native void removeWidget_native_QWidget_ptr(long __this__nativeId, long w); /** *

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

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

See QStackedWidget::widget(int)const

*/ @io.qt.QtUninvokable public final io.qt.widgets.QWidget widget(int arg__1){ return widget_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @io.qt.QtUninvokable private native io.qt.widgets.QWidget widget_native_int_constfct(long __this__nativeId, int 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); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QStackedWidget(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 QStackedWidget(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QStackedWidget instance, QDeclarativeConstructor constructor); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy