2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QMESSAGEBOX_H
|
|
|
|
#define GEN_QMESSAGEBOX_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 QAbstractButton;
|
|
|
|
class QCheckBox;
|
|
|
|
class QMessageBox;
|
|
|
|
class QMetaObject;
|
|
|
|
class QPixmap;
|
|
|
|
class QPushButton;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QAbstractButton QAbstractButton;
|
|
|
|
typedef struct QCheckBox QCheckBox;
|
|
|
|
typedef struct QMessageBox QMessageBox;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QPushButton QPushButton;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QMessageBox* QMessageBox_new();
|
2024-09-14 22:29:05 +00:00
|
|
|
QMessageBox* QMessageBox_new2(uintptr_t icon, struct miqt_string* title, struct miqt_string* text);
|
|
|
|
QMessageBox* QMessageBox_new3(struct miqt_string* title, struct miqt_string* text, uintptr_t icon, int button0, int button1, int button2);
|
2024-08-29 07:01:51 +00:00
|
|
|
QMessageBox* QMessageBox_new4(QWidget* parent);
|
2024-09-14 22:29:05 +00:00
|
|
|
QMessageBox* QMessageBox_new5(uintptr_t icon, struct miqt_string* title, struct miqt_string* text, int buttons);
|
|
|
|
QMessageBox* QMessageBox_new6(uintptr_t icon, struct miqt_string* title, struct miqt_string* text, int buttons, QWidget* parent);
|
|
|
|
QMessageBox* QMessageBox_new7(uintptr_t icon, struct miqt_string* title, struct miqt_string* text, int buttons, QWidget* parent, int flags);
|
|
|
|
QMessageBox* QMessageBox_new8(struct miqt_string* title, struct miqt_string* text, uintptr_t icon, int button0, int button1, int button2, QWidget* parent);
|
|
|
|
QMessageBox* QMessageBox_new9(struct miqt_string* title, struct miqt_string* text, uintptr_t icon, int button0, int button1, int button2, QWidget* parent, int f);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QMessageBox_MetaObject(const QMessageBox* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMessageBox_Tr(const char* s);
|
|
|
|
struct miqt_string* QMessageBox_TrUtf8(const char* s);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMessageBox_AddButton(QMessageBox* self, QAbstractButton* button, uintptr_t role);
|
2024-09-14 22:29:05 +00:00
|
|
|
QPushButton* QMessageBox_AddButton2(QMessageBox* self, struct miqt_string* text, uintptr_t role);
|
2024-08-29 07:01:51 +00:00
|
|
|
QPushButton* QMessageBox_AddButtonWithButton(QMessageBox* self, uintptr_t button);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMessageBox_RemoveButton(QMessageBox* self, QAbstractButton* button);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QMessageBox_Buttons(const QMessageBox* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QMessageBox_ButtonRole(const QMessageBox* self, QAbstractButton* button);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMessageBox_SetStandardButtons(QMessageBox* self, int buttons);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QMessageBox_StandardButtons(const QMessageBox* self);
|
|
|
|
uintptr_t QMessageBox_StandardButton(const QMessageBox* self, QAbstractButton* button);
|
|
|
|
QAbstractButton* QMessageBox_Button(const QMessageBox* self, uintptr_t which);
|
|
|
|
QPushButton* QMessageBox_DefaultButton(const QMessageBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMessageBox_SetDefaultButton(QMessageBox* self, QPushButton* button);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMessageBox_SetDefaultButtonWithButton(QMessageBox* self, uintptr_t button);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAbstractButton* QMessageBox_EscapeButton(const QMessageBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMessageBox_SetEscapeButton(QMessageBox* self, QAbstractButton* button);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMessageBox_SetEscapeButtonWithButton(QMessageBox* self, uintptr_t button);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAbstractButton* QMessageBox_ClickedButton(const QMessageBox* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMessageBox_Text(const QMessageBox* self);
|
|
|
|
void QMessageBox_SetText(QMessageBox* self, struct miqt_string* text);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QMessageBox_Icon(const QMessageBox* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMessageBox_SetIcon(QMessageBox* self, uintptr_t icon);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPixmap* QMessageBox_IconPixmap(const QMessageBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMessageBox_SetIconPixmap(QMessageBox* self, QPixmap* pixmap);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QMessageBox_TextFormat(const QMessageBox* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMessageBox_SetTextFormat(QMessageBox* self, uintptr_t format);
|
|
|
|
void QMessageBox_SetTextInteractionFlags(QMessageBox* self, int flags);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QMessageBox_TextInteractionFlags(const QMessageBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMessageBox_SetCheckBox(QMessageBox* self, QCheckBox* cb);
|
2024-09-11 05:41:09 +00:00
|
|
|
QCheckBox* QMessageBox_CheckBox(const QMessageBox* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
uintptr_t QMessageBox_Information(QWidget* parent, struct miqt_string* title, struct miqt_string* text);
|
|
|
|
uintptr_t QMessageBox_Question(QWidget* parent, struct miqt_string* title, struct miqt_string* text);
|
|
|
|
uintptr_t QMessageBox_Warning(QWidget* parent, struct miqt_string* title, struct miqt_string* text);
|
|
|
|
uintptr_t QMessageBox_Critical(QWidget* parent, struct miqt_string* title, struct miqt_string* text);
|
|
|
|
void QMessageBox_About(QWidget* parent, struct miqt_string* title, struct miqt_string* text);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMessageBox_AboutQt(QWidget* parent);
|
2024-09-14 22:29:05 +00:00
|
|
|
int QMessageBox_Information2(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0);
|
|
|
|
int QMessageBox_Information3(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text);
|
|
|
|
uintptr_t QMessageBox_Information4(QWidget* parent, struct miqt_string* title, struct miqt_string* text, uintptr_t button0);
|
|
|
|
int QMessageBox_Question2(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0);
|
|
|
|
int QMessageBox_Question3(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text);
|
|
|
|
int QMessageBox_Question4(QWidget* parent, struct miqt_string* title, struct miqt_string* text, uintptr_t button0, uintptr_t button1);
|
|
|
|
int QMessageBox_Warning2(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0, int button1);
|
|
|
|
int QMessageBox_Warning3(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text);
|
|
|
|
int QMessageBox_Warning4(QWidget* parent, struct miqt_string* title, struct miqt_string* text, uintptr_t button0, uintptr_t button1);
|
|
|
|
int QMessageBox_Critical2(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0, int button1);
|
|
|
|
int QMessageBox_Critical3(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text);
|
|
|
|
int QMessageBox_Critical4(QWidget* parent, struct miqt_string* title, struct miqt_string* text, uintptr_t button0, uintptr_t button1);
|
|
|
|
struct miqt_string* QMessageBox_ButtonText(const QMessageBox* self, int button);
|
|
|
|
void QMessageBox_SetButtonText(QMessageBox* self, int button, struct miqt_string* text);
|
|
|
|
struct miqt_string* QMessageBox_InformativeText(const QMessageBox* self);
|
|
|
|
void QMessageBox_SetInformativeText(QMessageBox* self, struct miqt_string* text);
|
|
|
|
struct miqt_string* QMessageBox_DetailedText(const QMessageBox* self);
|
|
|
|
void QMessageBox_SetDetailedText(QMessageBox* self, struct miqt_string* text);
|
|
|
|
void QMessageBox_SetWindowTitle(QMessageBox* self, struct miqt_string* title);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMessageBox_SetWindowModality(QMessageBox* self, uintptr_t windowModality);
|
|
|
|
QPixmap* QMessageBox_StandardIcon(uintptr_t icon);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMessageBox_ButtonClicked(QMessageBox* self, QAbstractButton* button);
|
|
|
|
void QMessageBox_connect_ButtonClicked(QMessageBox* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMessageBox_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QMessageBox_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QMessageBox_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QMessageBox_TrUtf83(const char* s, const char* c, int n);
|
|
|
|
uintptr_t QMessageBox_Information42(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int buttons);
|
|
|
|
uintptr_t QMessageBox_Information5(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int buttons, uintptr_t defaultButton);
|
|
|
|
uintptr_t QMessageBox_Question42(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int buttons);
|
|
|
|
uintptr_t QMessageBox_Question5(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int buttons, uintptr_t defaultButton);
|
|
|
|
uintptr_t QMessageBox_Warning42(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int buttons);
|
|
|
|
uintptr_t QMessageBox_Warning5(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int buttons, uintptr_t defaultButton);
|
|
|
|
uintptr_t QMessageBox_Critical42(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int buttons);
|
|
|
|
uintptr_t QMessageBox_Critical5(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int buttons, uintptr_t defaultButton);
|
|
|
|
void QMessageBox_AboutQt2(QWidget* parent, struct miqt_string* title);
|
|
|
|
int QMessageBox_Information52(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0, int button1);
|
|
|
|
int QMessageBox_Information6(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0, int button1, int button2);
|
|
|
|
int QMessageBox_Information53(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text);
|
|
|
|
int QMessageBox_Information62(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text);
|
|
|
|
int QMessageBox_Information7(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text, int defaultButtonNumber);
|
|
|
|
int QMessageBox_Information8(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text, int defaultButtonNumber, int escapeButtonNumber);
|
|
|
|
uintptr_t QMessageBox_Information54(QWidget* parent, struct miqt_string* title, struct miqt_string* text, uintptr_t button0, uintptr_t button1);
|
|
|
|
int QMessageBox_Question52(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0, int button1);
|
|
|
|
int QMessageBox_Question6(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0, int button1, int button2);
|
|
|
|
int QMessageBox_Question53(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text);
|
|
|
|
int QMessageBox_Question62(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text);
|
|
|
|
int QMessageBox_Question7(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text, int defaultButtonNumber);
|
|
|
|
int QMessageBox_Question8(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text, int defaultButtonNumber, int escapeButtonNumber);
|
|
|
|
int QMessageBox_Warning6(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0, int button1, int button2);
|
|
|
|
int QMessageBox_Warning52(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text);
|
|
|
|
int QMessageBox_Warning62(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text);
|
|
|
|
int QMessageBox_Warning7(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text, int defaultButtonNumber);
|
|
|
|
int QMessageBox_Warning8(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text, int defaultButtonNumber, int escapeButtonNumber);
|
|
|
|
int QMessageBox_Critical6(QWidget* parent, struct miqt_string* title, struct miqt_string* text, int button0, int button1, int button2);
|
|
|
|
int QMessageBox_Critical52(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text);
|
|
|
|
int QMessageBox_Critical62(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text);
|
|
|
|
int QMessageBox_Critical7(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text, int defaultButtonNumber);
|
|
|
|
int QMessageBox_Critical8(QWidget* parent, struct miqt_string* title, struct miqt_string* text, struct miqt_string* button0Text, struct miqt_string* button1Text, struct miqt_string* button2Text, int defaultButtonNumber, int escapeButtonNumber);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMessageBox_Delete(QMessageBox* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|