2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSTATUSBAR_H
|
|
|
|
#define GEN_QSTATUSBAR_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QMetaObject;
|
|
|
|
class QStatusBar;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QStatusBar QStatusBar;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QStatusBar* QStatusBar_new();
|
|
|
|
QStatusBar* QStatusBar_new2(QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QStatusBar_MetaObject(const QStatusBar* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QStatusBar_Metacast(QStatusBar* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QStatusBar_Tr(const char* s);
|
|
|
|
struct miqt_string* QStatusBar_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStatusBar_AddWidget(QStatusBar* self, QWidget* widget);
|
|
|
|
int QStatusBar_InsertWidget(QStatusBar* self, int index, QWidget* widget);
|
|
|
|
void QStatusBar_AddPermanentWidget(QStatusBar* self, QWidget* widget);
|
|
|
|
int QStatusBar_InsertPermanentWidget(QStatusBar* self, int index, QWidget* widget);
|
|
|
|
void QStatusBar_RemoveWidget(QStatusBar* self, QWidget* widget);
|
|
|
|
void QStatusBar_SetSizeGripEnabled(QStatusBar* self, bool sizeGripEnabled);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QStatusBar_IsSizeGripEnabled(const QStatusBar* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QStatusBar_CurrentMessage(const QStatusBar* self);
|
|
|
|
void QStatusBar_ShowMessage(QStatusBar* self, struct miqt_string* text);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStatusBar_ClearMessage(QStatusBar* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QStatusBar_MessageChanged(QStatusBar* self, struct miqt_string* text);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStatusBar_connect_MessageChanged(QStatusBar* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QStatusBar_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QStatusBar_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QStatusBar_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QStatusBar_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStatusBar_AddWidget2(QStatusBar* self, QWidget* widget, int stretch);
|
|
|
|
int QStatusBar_InsertWidget3(QStatusBar* self, int index, QWidget* widget, int stretch);
|
|
|
|
void QStatusBar_AddPermanentWidget2(QStatusBar* self, QWidget* widget, int stretch);
|
|
|
|
int QStatusBar_InsertPermanentWidget3(QStatusBar* self, int index, QWidget* widget, int stretch);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QStatusBar_ShowMessage2(QStatusBar* self, struct miqt_string* text, int timeout);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStatusBar_Delete(QStatusBar* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|