2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QPUSHBUTTON_H
|
|
|
|
#define MIQT_QT_GEN_QPUSHBUTTON_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 QAbstractButton;
|
|
|
|
class QEvent;
|
|
|
|
class QFocusEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QIcon;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QKeyEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMenu;
|
|
|
|
class QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMouseEvent;
|
|
|
|
class QObject;
|
|
|
|
class QPaintDevice;
|
|
|
|
class QPaintEvent;
|
|
|
|
class QPoint;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QPushButton;
|
|
|
|
class QSize;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QWidget;
|
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QAbstractButton QAbstractButton;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QFocusEvent QFocusEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QIcon QIcon;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QKeyEvent QKeyEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMenu QMenu;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMouseEvent QMouseEvent;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPaintDevice QPaintDevice;
|
|
|
|
typedef struct QPaintEvent QPaintEvent;
|
|
|
|
typedef struct QPoint QPoint;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QPushButton QPushButton;
|
|
|
|
typedef struct QSize QSize;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPushButton_new(QWidget* parent, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QPushButton_new2(QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QPushButton_new3(struct miqt_string text, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QPushButton_new4(QIcon* icon, struct miqt_string text, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QPushButton_new5(struct miqt_string text, QWidget* parent, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
|
|
|
void QPushButton_new6(QIcon* icon, struct miqt_string text, QWidget* parent, QPushButton** outptr_QPushButton, QAbstractButton** outptr_QAbstractButton, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QPushButton_MetaObject(const QPushButton* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QPushButton_Metacast(QPushButton* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPushButton_Tr(const char* s);
|
|
|
|
struct miqt_string QPushButton_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QPushButton_SizeHint(const QPushButton* self);
|
|
|
|
QSize* QPushButton_MinimumSizeHint(const QPushButton* self);
|
|
|
|
bool QPushButton_AutoDefault(const QPushButton* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPushButton_SetAutoDefault(QPushButton* self, bool autoDefault);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPushButton_IsDefault(const QPushButton* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPushButton_SetDefault(QPushButton* self, bool defaultVal);
|
|
|
|
void QPushButton_SetMenu(QPushButton* self, QMenu* menu);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMenu* QPushButton_Menu(const QPushButton* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPushButton_SetFlat(QPushButton* self, bool flat);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPushButton_IsFlat(const QPushButton* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPushButton_ShowMenu(QPushButton* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
bool QPushButton_Event(QPushButton* self, QEvent* e);
|
|
|
|
void QPushButton_PaintEvent(QPushButton* self, QPaintEvent* param1);
|
|
|
|
void QPushButton_KeyPressEvent(QPushButton* self, QKeyEvent* param1);
|
|
|
|
void QPushButton_FocusInEvent(QPushButton* self, QFocusEvent* param1);
|
|
|
|
void QPushButton_FocusOutEvent(QPushButton* self, QFocusEvent* param1);
|
|
|
|
bool QPushButton_HitButton(const QPushButton* self, QPoint* pos);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPushButton_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QPushButton_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QPushButton_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QPushButton_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPushButton_override_virtual_SizeHint(void* self, intptr_t slot);
|
|
|
|
QSize* QPushButton_virtualbase_SizeHint(const void* self);
|
|
|
|
void QPushButton_override_virtual_MinimumSizeHint(void* self, intptr_t slot);
|
|
|
|
QSize* QPushButton_virtualbase_MinimumSizeHint(const void* self);
|
|
|
|
void QPushButton_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QPushButton_virtualbase_Event(void* self, QEvent* e);
|
|
|
|
void QPushButton_override_virtual_PaintEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_PaintEvent(void* self, QPaintEvent* param1);
|
|
|
|
void QPushButton_override_virtual_KeyPressEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_KeyPressEvent(void* self, QKeyEvent* param1);
|
|
|
|
void QPushButton_override_virtual_FocusInEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_FocusInEvent(void* self, QFocusEvent* param1);
|
|
|
|
void QPushButton_override_virtual_FocusOutEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_FocusOutEvent(void* self, QFocusEvent* param1);
|
|
|
|
void QPushButton_override_virtual_HitButton(void* self, intptr_t slot);
|
|
|
|
bool QPushButton_virtualbase_HitButton(const void* self, QPoint* pos);
|
|
|
|
void QPushButton_override_virtual_CheckStateSet(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_CheckStateSet(void* self);
|
|
|
|
void QPushButton_override_virtual_NextCheckState(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_NextCheckState(void* self);
|
|
|
|
void QPushButton_override_virtual_KeyReleaseEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_KeyReleaseEvent(void* self, QKeyEvent* e);
|
|
|
|
void QPushButton_override_virtual_MousePressEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_MousePressEvent(void* self, QMouseEvent* e);
|
|
|
|
void QPushButton_override_virtual_MouseReleaseEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_MouseReleaseEvent(void* self, QMouseEvent* e);
|
|
|
|
void QPushButton_override_virtual_MouseMoveEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_MouseMoveEvent(void* self, QMouseEvent* e);
|
|
|
|
void QPushButton_override_virtual_ChangeEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_ChangeEvent(void* self, QEvent* e);
|
|
|
|
void QPushButton_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QPushButton_virtualbase_TimerEvent(void* self, QTimerEvent* e);
|
|
|
|
void QPushButton_Delete(QPushButton* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|