2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QDIALOGBUTTONBOX_H
|
|
|
|
#define GEN_QDIALOGBUTTONBOX_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 QDialogButtonBox;
|
|
|
|
class QMetaObject;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QPushButton;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QAbstractButton QAbstractButton;
|
|
|
|
typedef struct QDialogButtonBox QDialogButtonBox;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QPushButton QPushButton;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QDialogButtonBox* QDialogButtonBox_new();
|
2024-09-18 00:12:02 +00:00
|
|
|
QDialogButtonBox* QDialogButtonBox_new2(int orientation);
|
2024-08-29 07:01:51 +00:00
|
|
|
QDialogButtonBox* QDialogButtonBox_new3(int buttons);
|
2024-09-18 00:12:02 +00:00
|
|
|
QDialogButtonBox* QDialogButtonBox_new4(int buttons, int orientation);
|
2024-08-29 07:01:51 +00:00
|
|
|
QDialogButtonBox* QDialogButtonBox_new5(QWidget* parent);
|
2024-09-18 00:12:02 +00:00
|
|
|
QDialogButtonBox* QDialogButtonBox_new6(int orientation, QWidget* parent);
|
2024-08-29 07:01:51 +00:00
|
|
|
QDialogButtonBox* QDialogButtonBox_new7(int buttons, QWidget* parent);
|
2024-09-18 00:12:02 +00:00
|
|
|
QDialogButtonBox* QDialogButtonBox_new8(int buttons, int orientation, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QDialogButtonBox_MetaObject(const QDialogButtonBox* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QDialogButtonBox_Metacast(QDialogButtonBox* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QDialogButtonBox_Tr(const char* s);
|
|
|
|
struct miqt_string* QDialogButtonBox_TrUtf8(const char* s);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QDialogButtonBox_SetOrientation(QDialogButtonBox* self, int orientation);
|
|
|
|
int QDialogButtonBox_Orientation(const QDialogButtonBox* self);
|
|
|
|
void QDialogButtonBox_AddButton(QDialogButtonBox* self, QAbstractButton* button, int role);
|
|
|
|
QPushButton* QDialogButtonBox_AddButton2(QDialogButtonBox* self, struct miqt_string* text, int role);
|
|
|
|
QPushButton* QDialogButtonBox_AddButtonWithButton(QDialogButtonBox* self, int button);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialogButtonBox_RemoveButton(QDialogButtonBox* self, QAbstractButton* button);
|
|
|
|
void QDialogButtonBox_Clear(QDialogButtonBox* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QDialogButtonBox_Buttons(const QDialogButtonBox* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QDialogButtonBox_ButtonRole(const QDialogButtonBox* self, QAbstractButton* button);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDialogButtonBox_SetStandardButtons(QDialogButtonBox* self, int buttons);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QDialogButtonBox_StandardButtons(const QDialogButtonBox* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QDialogButtonBox_StandardButton(const QDialogButtonBox* self, QAbstractButton* button);
|
|
|
|
QPushButton* QDialogButtonBox_Button(const QDialogButtonBox* self, int which);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialogButtonBox_SetCenterButtons(QDialogButtonBox* self, bool center);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QDialogButtonBox_CenterButtons(const QDialogButtonBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialogButtonBox_Clicked(QDialogButtonBox* self, QAbstractButton* button);
|
|
|
|
void QDialogButtonBox_connect_Clicked(QDialogButtonBox* self, void* slot);
|
|
|
|
void QDialogButtonBox_Accepted(QDialogButtonBox* self);
|
|
|
|
void QDialogButtonBox_connect_Accepted(QDialogButtonBox* self, void* slot);
|
|
|
|
void QDialogButtonBox_HelpRequested(QDialogButtonBox* self);
|
|
|
|
void QDialogButtonBox_connect_HelpRequested(QDialogButtonBox* self, void* slot);
|
|
|
|
void QDialogButtonBox_Rejected(QDialogButtonBox* self);
|
|
|
|
void QDialogButtonBox_connect_Rejected(QDialogButtonBox* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QDialogButtonBox_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QDialogButtonBox_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QDialogButtonBox_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QDialogButtonBox_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialogButtonBox_Delete(QDialogButtonBox* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|