2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSTATICTEXT_H
|
|
|
|
#define GEN_QSTATICTEXT_H
|
|
|
|
|
|
|
|
#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
|
|
|
|
class QFont;
|
|
|
|
class QSizeF;
|
|
|
|
class QStaticText;
|
|
|
|
class QTextOption;
|
|
|
|
class QTransform;
|
|
|
|
#else
|
|
|
|
typedef struct QFont QFont;
|
|
|
|
typedef struct QSizeF QSizeF;
|
|
|
|
typedef struct QStaticText QStaticText;
|
|
|
|
typedef struct QTextOption QTextOption;
|
|
|
|
typedef struct QTransform QTransform;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QStaticText* QStaticText_new();
|
2024-10-18 23:53:33 +00:00
|
|
|
QStaticText* QStaticText_new2(struct miqt_string text);
|
2024-08-25 04:08:24 +00:00
|
|
|
QStaticText* QStaticText_new3(QStaticText* other);
|
|
|
|
void QStaticText_OperatorAssign(QStaticText* self, QStaticText* param1);
|
|
|
|
void QStaticText_Swap(QStaticText* self, QStaticText* other);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QStaticText_SetText(QStaticText* self, struct miqt_string text);
|
|
|
|
struct miqt_string QStaticText_Text(const QStaticText* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QStaticText_SetTextFormat(QStaticText* self, int textFormat);
|
|
|
|
int QStaticText_TextFormat(const QStaticText* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStaticText_SetTextWidth(QStaticText* self, double textWidth);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QStaticText_TextWidth(const QStaticText* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStaticText_SetTextOption(QStaticText* self, QTextOption* textOption);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTextOption* QStaticText_TextOption(const QStaticText* self);
|
|
|
|
QSizeF* QStaticText_Size(const QStaticText* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStaticText_Prepare(QStaticText* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QStaticText_SetPerformanceHint(QStaticText* self, int performanceHint);
|
|
|
|
int QStaticText_PerformanceHint(const QStaticText* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QStaticText_OperatorEqual(const QStaticText* self, QStaticText* param1);
|
|
|
|
bool QStaticText_OperatorNotEqual(const QStaticText* self, QStaticText* param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStaticText_Prepare1(QStaticText* self, QTransform* matrix);
|
|
|
|
void QStaticText_Prepare2(QStaticText* self, QTransform* matrix, QFont* font);
|
|
|
|
void QStaticText_Delete(QStaticText* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|