2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QLABEL_H
|
|
|
|
#define GEN_QLABEL_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 QLabel;
|
|
|
|
class QMetaObject;
|
|
|
|
class QMovie;
|
|
|
|
class QPicture;
|
|
|
|
class QPixmap;
|
|
|
|
class QSize;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QLabel QLabel;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QMovie QMovie;
|
|
|
|
typedef struct QPicture QPicture;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QLabel* QLabel_new();
|
2024-09-14 22:29:05 +00:00
|
|
|
QLabel* QLabel_new2(struct miqt_string* text);
|
2024-08-29 07:01:51 +00:00
|
|
|
QLabel* QLabel_new3(QWidget* parent);
|
|
|
|
QLabel* QLabel_new4(QWidget* parent, int f);
|
2024-09-14 22:29:05 +00:00
|
|
|
QLabel* QLabel_new5(struct miqt_string* text, QWidget* parent);
|
|
|
|
QLabel* QLabel_new6(struct miqt_string* text, QWidget* parent, int f);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QLabel_MetaObject(const QLabel* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QLabel_Metacast(QLabel* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QLabel_Tr(const char* s);
|
|
|
|
struct miqt_string* QLabel_TrUtf8(const char* s);
|
|
|
|
struct miqt_string* QLabel_Text(const QLabel* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPixmap* QLabel_Pixmap(const QLabel* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
QPixmap* QLabel_PixmapWithQtReturnByValueConstant(const QLabel* self, int param1);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPicture* QLabel_Picture(const QLabel* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
QPicture* QLabel_PictureWithQtReturnByValueConstant(const QLabel* self, int param1);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMovie* QLabel_Movie(const QLabel* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QLabel_TextFormat(const QLabel* self);
|
|
|
|
void QLabel_SetTextFormat(QLabel* self, int textFormat);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QLabel_Alignment(const QLabel* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QLabel_SetAlignment(QLabel* self, int alignment);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_SetWordWrap(QLabel* self, bool on);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QLabel_WordWrap(const QLabel* self);
|
|
|
|
int QLabel_Indent(const QLabel* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_SetIndent(QLabel* self, int indent);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QLabel_Margin(const QLabel* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_SetMargin(QLabel* self, int margin);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QLabel_HasScaledContents(const QLabel* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_SetScaledContents(QLabel* self, bool scaledContents);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QLabel_SizeHint(const QLabel* self);
|
|
|
|
QSize* QLabel_MinimumSizeHint(const QLabel* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_SetBuddy(QLabel* self, QWidget* buddy);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QLabel_Buddy(const QLabel* self);
|
|
|
|
int QLabel_HeightForWidth(const QLabel* self, int param1);
|
|
|
|
bool QLabel_OpenExternalLinks(const QLabel* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_SetOpenExternalLinks(QLabel* self, bool open);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QLabel_SetTextInteractionFlags(QLabel* self, int flags);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QLabel_TextInteractionFlags(const QLabel* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_SetSelection(QLabel* self, int param1, int param2);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QLabel_HasSelectedText(const QLabel* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QLabel_SelectedText(const QLabel* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QLabel_SelectionStart(const QLabel* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QLabel_SetText(QLabel* self, struct miqt_string* text);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_SetPixmap(QLabel* self, QPixmap* pixmap);
|
|
|
|
void QLabel_SetPicture(QLabel* self, QPicture* picture);
|
|
|
|
void QLabel_SetMovie(QLabel* self, QMovie* movie);
|
|
|
|
void QLabel_SetNum(QLabel* self, int num);
|
|
|
|
void QLabel_SetNumWithNum(QLabel* self, double num);
|
|
|
|
void QLabel_Clear(QLabel* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QLabel_LinkActivated(QLabel* self, struct miqt_string* link);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_connect_LinkActivated(QLabel* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QLabel_LinkHovered(QLabel* self, struct miqt_string* link);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_connect_LinkHovered(QLabel* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QLabel_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QLabel_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QLabel_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QLabel_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLabel_Delete(QLabel* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|