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
|
2024-11-19 06:29:06 +00:00
|
|
|
class QActionEvent;
|
|
|
|
class QCloseEvent;
|
|
|
|
class QContextMenuEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QDialog;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QDragEnterEvent;
|
|
|
|
class QDragLeaveEvent;
|
|
|
|
class QDragMoveEvent;
|
|
|
|
class QDropEvent;
|
|
|
|
class QEvent;
|
|
|
|
class QFocusEvent;
|
|
|
|
class QHideEvent;
|
|
|
|
class QInputMethodEvent;
|
|
|
|
class QKeyEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMouseEvent;
|
|
|
|
class QMoveEvent;
|
|
|
|
class QObject;
|
|
|
|
class QPaintDevice;
|
|
|
|
class QPaintEngine;
|
|
|
|
class QPaintEvent;
|
|
|
|
class QPainter;
|
|
|
|
class QPoint;
|
|
|
|
class QResizeEvent;
|
|
|
|
class QShowEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QSize;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTabletEvent;
|
|
|
|
class QVariant;
|
|
|
|
class QWheelEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QWidget;
|
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QActionEvent QActionEvent;
|
|
|
|
typedef struct QCloseEvent QCloseEvent;
|
|
|
|
typedef struct QContextMenuEvent QContextMenuEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QDialog QDialog;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QDragEnterEvent QDragEnterEvent;
|
|
|
|
typedef struct QDragLeaveEvent QDragLeaveEvent;
|
|
|
|
typedef struct QDragMoveEvent QDragMoveEvent;
|
|
|
|
typedef struct QDropEvent QDropEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QFocusEvent QFocusEvent;
|
|
|
|
typedef struct QHideEvent QHideEvent;
|
|
|
|
typedef struct QInputMethodEvent QInputMethodEvent;
|
|
|
|
typedef struct QKeyEvent QKeyEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMouseEvent QMouseEvent;
|
|
|
|
typedef struct QMoveEvent QMoveEvent;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPaintDevice QPaintDevice;
|
|
|
|
typedef struct QPaintEngine QPaintEngine;
|
|
|
|
typedef struct QPaintEvent QPaintEvent;
|
|
|
|
typedef struct QPainter QPainter;
|
|
|
|
typedef struct QPoint QPoint;
|
|
|
|
typedef struct QResizeEvent QResizeEvent;
|
|
|
|
typedef struct QShowEvent QShowEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QSize QSize;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTabletEvent QTabletEvent;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
typedef struct QWheelEvent QWheelEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QDialog* QDialog_new(QWidget* parent);
|
|
|
|
QDialog* QDialog_new2();
|
|
|
|
QDialog* QDialog_new3(QWidget* parent, int f);
|
|
|
|
void QDialog_virtbase(QDialog* src, QWidget** outptr_QWidget);
|
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-11-19 06:29:06 +00:00
|
|
|
void QDialog_KeyPressEvent(QDialog* self, QKeyEvent* param1);
|
|
|
|
void QDialog_CloseEvent(QDialog* self, QCloseEvent* param1);
|
|
|
|
void QDialog_ShowEvent(QDialog* self, QShowEvent* param1);
|
|
|
|
void QDialog_ResizeEvent(QDialog* self, QResizeEvent* param1);
|
|
|
|
void QDialog_ContextMenuEvent(QDialog* self, QContextMenuEvent* param1);
|
|
|
|
bool QDialog_EventFilter(QDialog* self, QObject* param1, QEvent* param2);
|
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-11-19 06:29:06 +00:00
|
|
|
void QDialog_override_virtual_SetVisible(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_SetVisible(void* self, bool visible);
|
|
|
|
void QDialog_override_virtual_SizeHint(void* self, intptr_t slot);
|
|
|
|
QSize* QDialog_virtualbase_SizeHint(const void* self);
|
|
|
|
void QDialog_override_virtual_MinimumSizeHint(void* self, intptr_t slot);
|
|
|
|
QSize* QDialog_virtualbase_MinimumSizeHint(const void* self);
|
|
|
|
void QDialog_override_virtual_Open(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_Open(void* self);
|
|
|
|
void QDialog_override_virtual_Exec(void* self, intptr_t slot);
|
|
|
|
int QDialog_virtualbase_Exec(void* self);
|
|
|
|
void QDialog_override_virtual_Done(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_Done(void* self, int param1);
|
|
|
|
void QDialog_override_virtual_Accept(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_Accept(void* self);
|
|
|
|
void QDialog_override_virtual_Reject(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_Reject(void* self);
|
|
|
|
void QDialog_override_virtual_KeyPressEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_KeyPressEvent(void* self, QKeyEvent* param1);
|
|
|
|
void QDialog_override_virtual_CloseEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_CloseEvent(void* self, QCloseEvent* param1);
|
|
|
|
void QDialog_override_virtual_ShowEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_ShowEvent(void* self, QShowEvent* param1);
|
|
|
|
void QDialog_override_virtual_ResizeEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_ResizeEvent(void* self, QResizeEvent* param1);
|
|
|
|
void QDialog_override_virtual_ContextMenuEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_ContextMenuEvent(void* self, QContextMenuEvent* param1);
|
|
|
|
void QDialog_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QDialog_virtualbase_EventFilter(void* self, QObject* param1, QEvent* param2);
|
|
|
|
void QDialog_override_virtual_DevType(void* self, intptr_t slot);
|
|
|
|
int QDialog_virtualbase_DevType(const void* self);
|
|
|
|
void QDialog_override_virtual_HeightForWidth(void* self, intptr_t slot);
|
|
|
|
int QDialog_virtualbase_HeightForWidth(const void* self, int param1);
|
|
|
|
void QDialog_override_virtual_HasHeightForWidth(void* self, intptr_t slot);
|
|
|
|
bool QDialog_virtualbase_HasHeightForWidth(const void* self);
|
|
|
|
void QDialog_override_virtual_PaintEngine(void* self, intptr_t slot);
|
|
|
|
QPaintEngine* QDialog_virtualbase_PaintEngine(const void* self);
|
|
|
|
void QDialog_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QDialog_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QDialog_override_virtual_MousePressEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_MousePressEvent(void* self, QMouseEvent* event);
|
|
|
|
void QDialog_override_virtual_MouseReleaseEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_MouseReleaseEvent(void* self, QMouseEvent* event);
|
|
|
|
void QDialog_override_virtual_MouseDoubleClickEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_MouseDoubleClickEvent(void* self, QMouseEvent* event);
|
|
|
|
void QDialog_override_virtual_MouseMoveEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_MouseMoveEvent(void* self, QMouseEvent* event);
|
|
|
|
void QDialog_override_virtual_WheelEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_WheelEvent(void* self, QWheelEvent* event);
|
|
|
|
void QDialog_override_virtual_KeyReleaseEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_KeyReleaseEvent(void* self, QKeyEvent* event);
|
|
|
|
void QDialog_override_virtual_FocusInEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_FocusInEvent(void* self, QFocusEvent* event);
|
|
|
|
void QDialog_override_virtual_FocusOutEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_FocusOutEvent(void* self, QFocusEvent* event);
|
|
|
|
void QDialog_override_virtual_EnterEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_EnterEvent(void* self, QEvent* event);
|
|
|
|
void QDialog_override_virtual_LeaveEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_LeaveEvent(void* self, QEvent* event);
|
|
|
|
void QDialog_override_virtual_PaintEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_PaintEvent(void* self, QPaintEvent* event);
|
|
|
|
void QDialog_override_virtual_MoveEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_MoveEvent(void* self, QMoveEvent* event);
|
|
|
|
void QDialog_override_virtual_TabletEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_TabletEvent(void* self, QTabletEvent* event);
|
|
|
|
void QDialog_override_virtual_ActionEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_ActionEvent(void* self, QActionEvent* event);
|
|
|
|
void QDialog_override_virtual_DragEnterEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_DragEnterEvent(void* self, QDragEnterEvent* event);
|
|
|
|
void QDialog_override_virtual_DragMoveEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_DragMoveEvent(void* self, QDragMoveEvent* event);
|
|
|
|
void QDialog_override_virtual_DragLeaveEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_DragLeaveEvent(void* self, QDragLeaveEvent* event);
|
|
|
|
void QDialog_override_virtual_DropEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_DropEvent(void* self, QDropEvent* event);
|
|
|
|
void QDialog_override_virtual_HideEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_HideEvent(void* self, QHideEvent* event);
|
|
|
|
void QDialog_override_virtual_NativeEvent(void* self, intptr_t slot);
|
|
|
|
bool QDialog_virtualbase_NativeEvent(void* self, struct miqt_string eventType, void* message, long* result);
|
|
|
|
void QDialog_override_virtual_ChangeEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_ChangeEvent(void* self, QEvent* param1);
|
|
|
|
void QDialog_override_virtual_Metric(void* self, intptr_t slot);
|
|
|
|
int QDialog_virtualbase_Metric(const void* self, int param1);
|
|
|
|
void QDialog_override_virtual_InitPainter(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_InitPainter(const void* self, QPainter* painter);
|
|
|
|
void QDialog_override_virtual_Redirected(void* self, intptr_t slot);
|
|
|
|
QPaintDevice* QDialog_virtualbase_Redirected(const void* self, QPoint* offset);
|
|
|
|
void QDialog_override_virtual_SharedPainter(void* self, intptr_t slot);
|
|
|
|
QPainter* QDialog_virtualbase_SharedPainter(const void* self);
|
|
|
|
void QDialog_override_virtual_InputMethodEvent(void* self, intptr_t slot);
|
|
|
|
void QDialog_virtualbase_InputMethodEvent(void* self, QInputMethodEvent* param1);
|
|
|
|
void QDialog_override_virtual_InputMethodQuery(void* self, intptr_t slot);
|
|
|
|
QVariant* QDialog_virtualbase_InputMethodQuery(const void* self, int param1);
|
|
|
|
void QDialog_override_virtual_FocusNextPrevChild(void* self, intptr_t slot);
|
|
|
|
bool QDialog_virtualbase_FocusNextPrevChild(void* self, bool next);
|
|
|
|
void QDialog_Delete(QDialog* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|