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

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

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

import io.qt.*;


/**
 * 

Horizontal bar suitable for presenting status information

*

Java wrapper for Qt class QStatusBar

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

See QStatusBar::messageChanged(QString)

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

See QStatusBar::QStatusBar(QWidget*)

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

See QStatusBar::addPermanentWidget(QWidget*,int)

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

See QStatusBar::addWidget(QWidget*,int)

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

See QStatusBar::clearMessage()

*/ public final void clearMessage(){ clearMessage_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void clearMessage_native(long __this__nativeId); /** *

See QStatusBar::currentMessage()const

*/ @QtUninvokable public final java.lang.@NonNull String currentMessage(){ return currentMessage_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String currentMessage_native_constfct(long __this__nativeId); /** *

See QStatusBar::hideOrShow()

*/ @QtUninvokable protected final void hideOrShow(){ hideOrShow_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void hideOrShow_native(long __this__nativeId); /** *

See QStatusBar::insertPermanentWidget(int,QWidget*,int)

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

See QStatusBar::insertWidget(int,QWidget*,int)

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

See QStatusBar::isSizeGripEnabled()const

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

See QStatusBar::reformat()

*/ @QtUninvokable protected final void reformat(){ reformat_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void reformat_native(long __this__nativeId); /** *

See QStatusBar::removeWidget(QWidget*)

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

See QStatusBar::setSizeGripEnabled(bool)

*/ @QtPropertyWriter(name="sizeGripEnabled") @QtUninvokable public final void setSizeGripEnabled(boolean arg__1){ setSizeGripEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setSizeGripEnabled_native_bool(long __this__nativeId, boolean arg__1); /** *

See QStatusBar::showMessage(QString,int)

*/ public final void showMessage(java.lang.@NonNull String text, int timeout){ showMessage_native_cref_QString_int(QtJambi_LibraryUtilities.internal.nativeId(this), text, timeout); } private native void showMessage_native_cref_QString_int(long __this__nativeId, java.lang.String text, int timeout); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent arg__1){ 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::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); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QStatusBar(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QStatusBar(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QStatusBar instance, QDeclarativeConstructor constructor); /** *

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

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

Overloaded function for {@link #addPermanentWidget(io.qt.widgets.QWidget, int)} * with stretch = 0.

*/ @QtUninvokable public final void addPermanentWidget(io.qt.widgets.@Nullable QWidget widget) { addPermanentWidget(widget, (int)0); } /** *

Overloaded function for {@link #addWidget(io.qt.widgets.QWidget, int)} * with stretch = 0.

*/ @QtUninvokable public final void addWidget(io.qt.widgets.@Nullable QWidget widget) { addWidget(widget, (int)0); } /** *

Overloaded function for {@link #insertPermanentWidget(int, io.qt.widgets.QWidget, int)} * with stretch = 0.

*/ @QtUninvokable public final int insertPermanentWidget(int index, io.qt.widgets.@Nullable QWidget widget) { return insertPermanentWidget(index, widget, (int)0); } /** *

Overloaded function for {@link #insertWidget(int, io.qt.widgets.QWidget, int)} * with stretch = 0.

*/ @QtUninvokable public final int insertWidget(int index, io.qt.widgets.@Nullable QWidget widget) { return insertWidget(index, widget, (int)0); } /** * @hidden *

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

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

Overloaded function for {@link #showMessage(java.lang.String, int)} * with timeout = 0.

*/ public final void showMessage(java.lang.@NonNull String text) { showMessage(text, (int)0); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy