2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QLABEL_H
|
|
|
|
#define MIQT_QT_GEN_QLABEL_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-11-19 06:29:06 +00:00
|
|
|
class QContextMenuEvent;
|
|
|
|
class QEvent;
|
|
|
|
class QFocusEvent;
|
|
|
|
class QFrame;
|
|
|
|
class QKeyEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QLabel;
|
|
|
|
class QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMouseEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMovie;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QObject;
|
|
|
|
class QPaintDevice;
|
|
|
|
class QPaintEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QPicture;
|
|
|
|
class QPixmap;
|
|
|
|
class QSize;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QContextMenuEvent QContextMenuEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QFocusEvent QFocusEvent;
|
|
|
|
typedef struct QFrame QFrame;
|
|
|
|
typedef struct QKeyEvent QKeyEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QLabel QLabel;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMouseEvent QMouseEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMovie QMovie;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPaintDevice QPaintDevice;
|
|
|
|
typedef struct QPaintEvent QPaintEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QPicture QPicture;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QLabel* QLabel_new(QWidget* parent);
|
|
|
|
QLabel* QLabel_new2();
|
|
|
|
QLabel* QLabel_new3(struct miqt_string text);
|
|
|
|
QLabel* QLabel_new4(QWidget* parent, int f);
|
|
|
|
QLabel* QLabel_new5(struct miqt_string text, QWidget* parent);
|
|
|
|
QLabel* QLabel_new6(struct miqt_string text, QWidget* parent, int f);
|
|
|
|
void QLabel_virtbase(QLabel* src, QFrame** outptr_QFrame);
|
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-10-18 23:53:33 +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-10-18 23:53:33 +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-10-18 23:53:33 +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-10-18 23:53:33 +00:00
|
|
|
void QLabel_LinkActivated(QLabel* self, struct miqt_string link);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QLabel_connect_LinkActivated(QLabel* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QLabel_LinkHovered(QLabel* self, struct miqt_string link);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QLabel_connect_LinkHovered(QLabel* self, intptr_t slot);
|
2024-11-19 06:29:06 +00:00
|
|
|
bool QLabel_Event(QLabel* self, QEvent* e);
|
|
|
|
void QLabel_KeyPressEvent(QLabel* self, QKeyEvent* ev);
|
|
|
|
void QLabel_PaintEvent(QLabel* self, QPaintEvent* param1);
|
|
|
|
void QLabel_ChangeEvent(QLabel* self, QEvent* param1);
|
|
|
|
void QLabel_MousePressEvent(QLabel* self, QMouseEvent* ev);
|
|
|
|
void QLabel_MouseMoveEvent(QLabel* self, QMouseEvent* ev);
|
|
|
|
void QLabel_MouseReleaseEvent(QLabel* self, QMouseEvent* ev);
|
|
|
|
void QLabel_ContextMenuEvent(QLabel* self, QContextMenuEvent* ev);
|
|
|
|
void QLabel_FocusInEvent(QLabel* self, QFocusEvent* ev);
|
|
|
|
void QLabel_FocusOutEvent(QLabel* self, QFocusEvent* ev);
|
|
|
|
bool QLabel_FocusNextPrevChild(QLabel* self, bool next);
|
2024-10-18 23:53:33 +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-11-19 06:29:06 +00:00
|
|
|
void QLabel_override_virtual_SizeHint(void* self, intptr_t slot);
|
|
|
|
QSize* QLabel_virtualbase_SizeHint(const void* self);
|
|
|
|
void QLabel_override_virtual_MinimumSizeHint(void* self, intptr_t slot);
|
|
|
|
QSize* QLabel_virtualbase_MinimumSizeHint(const void* self);
|
|
|
|
void QLabel_override_virtual_HeightForWidth(void* self, intptr_t slot);
|
|
|
|
int QLabel_virtualbase_HeightForWidth(const void* self, int param1);
|
|
|
|
void QLabel_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QLabel_virtualbase_Event(void* self, QEvent* e);
|
|
|
|
void QLabel_override_virtual_KeyPressEvent(void* self, intptr_t slot);
|
|
|
|
void QLabel_virtualbase_KeyPressEvent(void* self, QKeyEvent* ev);
|
|
|
|
void QLabel_override_virtual_PaintEvent(void* self, intptr_t slot);
|
|
|
|
void QLabel_virtualbase_PaintEvent(void* self, QPaintEvent* param1);
|
|
|
|
void QLabel_override_virtual_ChangeEvent(void* self, intptr_t slot);
|
|
|
|
void QLabel_virtualbase_ChangeEvent(void* self, QEvent* param1);
|
|
|
|
void QLabel_override_virtual_MousePressEvent(void* self, intptr_t slot);
|
|
|
|
void QLabel_virtualbase_MousePressEvent(void* self, QMouseEvent* ev);
|
|
|
|
void QLabel_override_virtual_MouseMoveEvent(void* self, intptr_t slot);
|
|
|
|
void QLabel_virtualbase_MouseMoveEvent(void* self, QMouseEvent* ev);
|
|
|
|
void QLabel_override_virtual_MouseReleaseEvent(void* self, intptr_t slot);
|
|
|
|
void QLabel_virtualbase_MouseReleaseEvent(void* self, QMouseEvent* ev);
|
|
|
|
void QLabel_override_virtual_ContextMenuEvent(void* self, intptr_t slot);
|
|
|
|
void QLabel_virtualbase_ContextMenuEvent(void* self, QContextMenuEvent* ev);
|
|
|
|
void QLabel_override_virtual_FocusInEvent(void* self, intptr_t slot);
|
|
|
|
void QLabel_virtualbase_FocusInEvent(void* self, QFocusEvent* ev);
|
|
|
|
void QLabel_override_virtual_FocusOutEvent(void* self, intptr_t slot);
|
|
|
|
void QLabel_virtualbase_FocusOutEvent(void* self, QFocusEvent* ev);
|
|
|
|
void QLabel_override_virtual_FocusNextPrevChild(void* self, intptr_t slot);
|
|
|
|
bool QLabel_virtualbase_FocusNextPrevChild(void* self, bool next);
|
|
|
|
void QLabel_Delete(QLabel* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|