2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QTEXTOPTION_H
|
|
|
|
#define MIQT_QT_GEN_QTEXTOPTION_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-08-29 07:01:51 +00:00
|
|
|
class QChar;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QTextOption;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QTextOption__Tab)
|
|
|
|
typedef QTextOption::Tab QTextOption__Tab;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
2024-08-29 07:01:51 +00:00
|
|
|
class QTextOption__Tab;
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
typedef struct QChar QChar;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QTextOption QTextOption;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QTextOption__Tab QTextOption__Tab;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTextOption* QTextOption_new();
|
|
|
|
QTextOption* QTextOption_new2(int alignment);
|
|
|
|
QTextOption* QTextOption_new3(QTextOption* o);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextOption_OperatorAssign(QTextOption* self, QTextOption* o);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTextOption_SetAlignment(QTextOption* self, int alignment);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTextOption_Alignment(const QTextOption* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QTextOption_SetTextDirection(QTextOption* self, int aDirection);
|
|
|
|
int QTextOption_TextDirection(const QTextOption* self);
|
|
|
|
void QTextOption_SetWrapMode(QTextOption* self, int wrap);
|
|
|
|
int QTextOption_WrapMode(const QTextOption* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTextOption_SetFlags(QTextOption* self, int flags);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTextOption_Flags(const QTextOption* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextOption_SetTabStop(QTextOption* self, double tabStop);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QTextOption_TabStop(const QTextOption* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextOption_SetTabStopDistance(QTextOption* self, double tabStopDistance);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QTextOption_TabStopDistance(const QTextOption* self);
|
2024-11-17 06:21:37 +00:00
|
|
|
void QTextOption_SetTabArray(QTextOption* self, struct miqt_array /* of double */ tabStops);
|
|
|
|
struct miqt_array /* of double */ QTextOption_TabArray(const QTextOption* self);
|
|
|
|
void QTextOption_SetTabs(QTextOption* self, struct miqt_array /* of QTextOption__Tab* */ tabStops);
|
|
|
|
struct miqt_array /* of QTextOption__Tab* */ QTextOption_Tabs(const QTextOption* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextOption_SetUseDesignMetrics(QTextOption* self, bool b);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTextOption_UseDesignMetrics(const QTextOption* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTextOption_Delete(QTextOption* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTextOption__Tab* QTextOption__Tab_new();
|
|
|
|
QTextOption__Tab* QTextOption__Tab_new2(double pos, int tabType);
|
|
|
|
QTextOption__Tab* QTextOption__Tab_new3(QTextOption__Tab* param1);
|
|
|
|
QTextOption__Tab* QTextOption__Tab_new4(double pos, int tabType, QChar* delim);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTextOption__Tab_OperatorEqual(const QTextOption__Tab* self, QTextOption__Tab* other);
|
|
|
|
bool QTextOption__Tab_OperatorNotEqual(const QTextOption__Tab* self, QTextOption__Tab* other);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTextOption__Tab_Delete(QTextOption__Tab* self, bool isSubclass);
|
2024-08-29 07:01:51 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|