io.qt.widgets.QStatusBar Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QStatusBar.class);
/**
* See QStatusBar::messageChanged(QString)
*/
public final Signal1 messageChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QStatusBar(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QStatusBar() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QStatusBar::QStatusBar(QWidget*)
*/
public QStatusBar(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QStatusBar instance, io.qt.widgets.QWidget parent);
/**
* Overloaded function for {@link #addPermanentWidget(io.qt.widgets.QWidget, int)}
* with stretch = 0
.
*/
@io.qt.QtUninvokable
public final void addPermanentWidget(io.qt.widgets.QWidget widget) {
addPermanentWidget(widget, (int)0);
}
/**
* See QStatusBar::addPermanentWidget(QWidget*,int)
*/
@io.qt.QtUninvokable
public final void addPermanentWidget(io.qt.widgets.QWidget widget, int stretch){
addPermanentWidget_native_QWidget_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget), stretch);
}
@io.qt.QtUninvokable
private native void addPermanentWidget_native_QWidget_ptr_int(long __this__nativeId, long widget, int stretch);
/**
* Overloaded function for {@link #addWidget(io.qt.widgets.QWidget, int)}
* with stretch = 0
.
*/
@io.qt.QtUninvokable
public final void addWidget(io.qt.widgets.QWidget widget) {
addWidget(widget, (int)0);
}
/**
* See QStatusBar::addWidget(QWidget*,int)
*/
@io.qt.QtUninvokable
public final void addWidget(io.qt.widgets.QWidget widget, int stretch){
addWidget_native_QWidget_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget), stretch);
}
@io.qt.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
*/
@io.qt.QtUninvokable
public final java.lang.String currentMessage(){
return currentMessage_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String currentMessage_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
protected final void hideOrShow(){
hideOrShow_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void hideOrShow_native(long __this__nativeId);
/**
* Overloaded function for {@link #insertPermanentWidget(int, io.qt.widgets.QWidget, int)}
* with stretch = 0
.
*/
@io.qt.QtUninvokable
public final int insertPermanentWidget(int index, io.qt.widgets.QWidget widget) {
return insertPermanentWidget(index, widget, (int)0);
}
/**
* See QStatusBar::insertPermanentWidget(int,QWidget*,int)
*/
@io.qt.QtUninvokable
public final int insertPermanentWidget(int index, io.qt.widgets.QWidget widget, int stretch){
return insertPermanentWidget_native_int_QWidget_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(widget), stretch);
}
@io.qt.QtUninvokable
private native int insertPermanentWidget_native_int_QWidget_ptr_int(long __this__nativeId, int index, long widget, int stretch);
/**
* Overloaded function for {@link #insertWidget(int, io.qt.widgets.QWidget, int)}
* with stretch = 0
.
*/
@io.qt.QtUninvokable
public final int insertWidget(int index, io.qt.widgets.QWidget widget) {
return insertWidget(index, widget, (int)0);
}
/**
* See QStatusBar::insertWidget(int,QWidget*,int)
*/
@io.qt.QtUninvokable
public final int insertWidget(int index, io.qt.widgets.QWidget widget, int stretch){
return insertWidget_native_int_QWidget_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(widget), stretch);
}
@io.qt.QtUninvokable
private native int insertWidget_native_int_QWidget_ptr_int(long __this__nativeId, int index, long widget, int stretch);
/**
* See QStatusBar::isSizeGripEnabled()const
*/
@io.qt.QtPropertyReader(name="sizeGripEnabled")
@io.qt.QtUninvokable
public final boolean isSizeGripEnabled(){
return isSizeGripEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isSizeGripEnabled_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
protected final void reformat(){
reformat_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void reformat_native(long __this__nativeId);
/**
* See QStatusBar::removeWidget(QWidget*)
*/
@io.qt.QtUninvokable
public final void removeWidget(io.qt.widgets.QWidget widget){
removeWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native void removeWidget_native_QWidget_ptr(long __this__nativeId, long widget);
/**
* See QStatusBar::setSizeGripEnabled(bool)
*/
@io.qt.QtPropertyWriter(name="sizeGripEnabled")
@io.qt.QtUninvokable
public final void setSizeGripEnabled(boolean arg__1){
setSizeGripEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setSizeGripEnabled_native_bool(long __this__nativeId, boolean arg__1);
/**
* Overloaded function for {@link #showMessage(java.lang.String, int)}
* with timeout = 0
.
*/
public final void showMessage(java.lang.String text) {
showMessage(text, (int)0);
}
/**
* See QStatusBar::showMessage(QString,int)
*/
public final void showMessage(java.lang.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);
/**
*
*/
@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::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);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QStatusBar(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 QStatusBar(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QStatusBar instance, QDeclarativeConstructor constructor);
}