4 @SuppressWarnings public class QStatusBar : QWidget{
9 public QStatusBar(long handle){
14 nativehandle = QtXnl.createQObject(QType.qtStatusBar,
this, 0);
15 if (nativehandle == 0){
21 public bool create(@NotNilptr QWidget parent)
override {
22 nativehandle = QtXnl.createQObject(QType.qtStatusBar,
this, parent.nativehandle);
23 if (nativehandle == 0){
28 public void addWidget(@NotNilptr QWidget widget,
int stretch ){
29 QtXnl.widget_set_intlongint_value(nativehandle, Constant.ADDWIDGET, widget.nativehandle, stretch, 0);
31 public int insertWidget(
int index, @NotNilptr QWidget widget,
int stretch){
32 return QtXnl.int_long_int_long_int_int(nativehandle, Constant.INSERTWIDGET, widget.nativehandle, stretch, index);
35 QtXnl.widget_set_intlongint_value(nativehandle, Constant.ADDPERWIDGET, widget.nativehandle, stretch, 0);
38 return QtXnl.int_long_int_long_int_int(nativehandle, Constant.INSERTPERWIDGET, widget.nativehandle, stretch, index);
41 QtXnl.widget_set_native_value(nativehandle, Constant.REMOVEWIDGET, widget.nativehandle);
44 QtXnl.widget_set_bool_value(nativehandle, Constant.SIZEGRIPENABLED, b);
47 return QtXnl.widget_get_bool_value(nativehandle, Constant.SIZEGRIPENABLED);
50 return (
String)QtXnl.core_getString(nativehandle, Constant.CURRENTMESSAGE);
53 QtXnl.widget_slot_string(nativehandle,Constant. SHOWMESSAGE, text);
void removeWidget(@NotNilptr QWidget widget)
int insertPermanentWidget(int index, @NotNilptr QWidget widget, int stretch)
void addWidget(@NotNilptr QWidget widget, int stretch )
int insertWidget(int index, @NotNilptr QWidget widget, int stretch)
void setSizeGripEnabled(bool b)
bool create(@NotNilptr QWidget parent) override
void showMessage(String text)
void addPermanentWidget(@NotNilptr QWidget widget, int stretch)