2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QDIALOG_H
|
|
|
|
#define MIQT_QT_GEN_QDIALOG_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
|
|
|
|
class QDialog;
|
|
|
|
class QMetaObject;
|
|
|
|
class QSize;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QDialog QDialog;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-10-26 00:46:42 +00:00
|
|
|
QDialog* QDialog_new(QWidget* parent);
|
|
|
|
QDialog* QDialog_new2();
|
2024-08-29 07:01:51 +00:00
|
|
|
QDialog* QDialog_new3(QWidget* parent, int f);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QDialog_MetaObject(const QDialog* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QDialog_Metacast(QDialog* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QDialog_Tr(const char* s);
|
|
|
|
struct miqt_string QDialog_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QDialog_Result(const QDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialog_SetVisible(QDialog* self, bool visible);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QDialog_SetOrientation(QDialog* self, int orientation);
|
|
|
|
int QDialog_Orientation(const QDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialog_SetExtension(QDialog* self, QWidget* extension);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QDialog_Extension(const QDialog* self);
|
|
|
|
QSize* QDialog_SizeHint(const QDialog* self);
|
|
|
|
QSize* QDialog_MinimumSizeHint(const QDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialog_SetSizeGripEnabled(QDialog* self, bool sizeGripEnabled);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QDialog_IsSizeGripEnabled(const QDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialog_SetModal(QDialog* self, bool modal);
|
|
|
|
void QDialog_SetResult(QDialog* self, int r);
|
|
|
|
void QDialog_Finished(QDialog* self, int result);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QDialog_connect_Finished(QDialog* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialog_Accepted(QDialog* self);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QDialog_connect_Accepted(QDialog* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialog_Rejected(QDialog* self);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QDialog_connect_Rejected(QDialog* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialog_Open(QDialog* self);
|
|
|
|
int QDialog_Exec(QDialog* self);
|
|
|
|
void QDialog_Done(QDialog* self, int param1);
|
|
|
|
void QDialog_Accept(QDialog* self);
|
|
|
|
void QDialog_Reject(QDialog* self);
|
|
|
|
void QDialog_ShowExtension(QDialog* self, bool param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QDialog_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QDialog_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QDialog_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QDialog_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDialog_Delete(QDialog* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|