2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QFONTDIALOG_H
|
|
|
|
#define GEN_QFONTDIALOG_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 QFontDialog;
|
|
|
|
class QMetaObject;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QFont QFont;
|
|
|
|
typedef struct QFontDialog QFontDialog;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-10-26 00:46:42 +00:00
|
|
|
QFontDialog* QFontDialog_new(QWidget* parent);
|
|
|
|
QFontDialog* QFontDialog_new2();
|
|
|
|
QFontDialog* QFontDialog_new3(QFont* initial);
|
2024-08-25 04:08:24 +00:00
|
|
|
QFontDialog* QFontDialog_new4(QFont* initial, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QFontDialog_MetaObject(const QFontDialog* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QFontDialog_Metacast(QFontDialog* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QFontDialog_Tr(const char* s);
|
|
|
|
struct miqt_string QFontDialog_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontDialog_SetCurrentFont(QFontDialog* self, QFont* font);
|
2024-09-11 05:41:09 +00:00
|
|
|
QFont* QFontDialog_CurrentFont(const QFontDialog* self);
|
|
|
|
QFont* QFontDialog_SelectedFont(const QFontDialog* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QFontDialog_SetOption(QFontDialog* self, int option);
|
|
|
|
bool QFontDialog_TestOption(const QFontDialog* self, int option);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QFontDialog_SetOptions(QFontDialog* self, int options);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QFontDialog_Options(const QFontDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontDialog_SetVisible(QFontDialog* self, bool visible);
|
|
|
|
QFont* QFontDialog_GetFont(bool* ok);
|
2024-08-29 07:01:51 +00:00
|
|
|
QFont* QFontDialog_GetFont2(bool* ok, QFont* initial);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontDialog_CurrentFontChanged(QFontDialog* self, QFont* font);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QFontDialog_connect_CurrentFontChanged(QFontDialog* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontDialog_FontSelected(QFontDialog* self, QFont* font);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QFontDialog_connect_FontSelected(QFontDialog* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QFontDialog_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QFontDialog_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QFontDialog_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QFontDialog_TrUtf83(const char* s, const char* c, int n);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QFontDialog_SetOption2(QFontDialog* self, int option, bool on);
|
2024-08-29 07:01:51 +00:00
|
|
|
QFont* QFontDialog_GetFont22(bool* ok, QWidget* parent);
|
|
|
|
QFont* QFontDialog_GetFont3(bool* ok, QFont* initial, QWidget* parent);
|
2024-10-18 23:53:33 +00:00
|
|
|
QFont* QFontDialog_GetFont4(bool* ok, QFont* initial, QWidget* parent, struct miqt_string title);
|
|
|
|
QFont* QFontDialog_GetFont5(bool* ok, QFont* initial, QWidget* parent, struct miqt_string title, int options);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontDialog_Delete(QFontDialog* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|