2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QGESTURE_H
|
|
|
|
#define MIQT_QT_GEN_QGESTURE_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 QChildEvent;
|
|
|
|
class QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QGesture;
|
|
|
|
class QGestureEvent;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QPanGesture;
|
|
|
|
class QPinchGesture;
|
|
|
|
class QPointF;
|
|
|
|
class QSwipeGesture;
|
|
|
|
class QTapAndHoldGesture;
|
|
|
|
class QTapGesture;
|
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 QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QGesture QGesture;
|
|
|
|
typedef struct QGestureEvent QGestureEvent;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPanGesture QPanGesture;
|
|
|
|
typedef struct QPinchGesture QPinchGesture;
|
|
|
|
typedef struct QPointF QPointF;
|
|
|
|
typedef struct QSwipeGesture QSwipeGesture;
|
|
|
|
typedef struct QTapAndHoldGesture QTapAndHoldGesture;
|
|
|
|
typedef struct QTapGesture QTapGesture;
|
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 QGesture_new(QGesture** outptr_QGesture, QObject** outptr_QObject);
|
|
|
|
void QGesture_new2(QObject* parent, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QGesture_MetaObject(const QGesture* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QGesture_Metacast(QGesture* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QGesture_Tr(const char* s);
|
|
|
|
struct miqt_string QGesture_TrUtf8(const char* s);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QGesture_GestureType(const QGesture* self);
|
|
|
|
int QGesture_State(const QGesture* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPointF* QGesture_HotSpot(const QGesture* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGesture_SetHotSpot(QGesture* self, QPointF* value);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QGesture_HasHotSpot(const QGesture* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGesture_UnsetHotSpot(QGesture* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QGesture_SetGestureCancelPolicy(QGesture* self, int policy);
|
|
|
|
int QGesture_GestureCancelPolicy(const QGesture* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QGesture_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QGesture_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QGesture_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QGesture_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QGesture_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QGesture_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QGesture_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QGesture_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QGesture_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QGesture_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QGesture_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QGesture_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QGesture_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QGesture_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QGesture_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QGesture_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QGesture_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QGesture_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QGesture_Delete(QGesture* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPanGesture_new(QPanGesture** outptr_QPanGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
|
|
|
void QPanGesture_new2(QObject* parent, QPanGesture** outptr_QPanGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QPanGesture_MetaObject(const QPanGesture* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QPanGesture_Metacast(QPanGesture* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPanGesture_Tr(const char* s);
|
|
|
|
struct miqt_string QPanGesture_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPointF* QPanGesture_LastOffset(const QPanGesture* self);
|
|
|
|
QPointF* QPanGesture_Offset(const QPanGesture* self);
|
|
|
|
QPointF* QPanGesture_Delta(const QPanGesture* self);
|
|
|
|
double QPanGesture_Acceleration(const QPanGesture* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPanGesture_SetLastOffset(QPanGesture* self, QPointF* value);
|
|
|
|
void QPanGesture_SetOffset(QPanGesture* self, QPointF* value);
|
|
|
|
void QPanGesture_SetAcceleration(QPanGesture* self, double value);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPanGesture_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QPanGesture_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QPanGesture_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QPanGesture_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPanGesture_Delete(QPanGesture* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPinchGesture_new(QPinchGesture** outptr_QPinchGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
|
|
|
void QPinchGesture_new2(QObject* parent, QPinchGesture** outptr_QPinchGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QPinchGesture_MetaObject(const QPinchGesture* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QPinchGesture_Metacast(QPinchGesture* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPinchGesture_Tr(const char* s);
|
|
|
|
struct miqt_string QPinchGesture_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QPinchGesture_TotalChangeFlags(const QPinchGesture* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPinchGesture_SetTotalChangeFlags(QPinchGesture* self, int value);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QPinchGesture_ChangeFlags(const QPinchGesture* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPinchGesture_SetChangeFlags(QPinchGesture* self, int value);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPointF* QPinchGesture_StartCenterPoint(const QPinchGesture* self);
|
|
|
|
QPointF* QPinchGesture_LastCenterPoint(const QPinchGesture* self);
|
|
|
|
QPointF* QPinchGesture_CenterPoint(const QPinchGesture* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPinchGesture_SetStartCenterPoint(QPinchGesture* self, QPointF* value);
|
|
|
|
void QPinchGesture_SetLastCenterPoint(QPinchGesture* self, QPointF* value);
|
|
|
|
void QPinchGesture_SetCenterPoint(QPinchGesture* self, QPointF* value);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QPinchGesture_TotalScaleFactor(const QPinchGesture* self);
|
|
|
|
double QPinchGesture_LastScaleFactor(const QPinchGesture* self);
|
|
|
|
double QPinchGesture_ScaleFactor(const QPinchGesture* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPinchGesture_SetTotalScaleFactor(QPinchGesture* self, double value);
|
|
|
|
void QPinchGesture_SetLastScaleFactor(QPinchGesture* self, double value);
|
|
|
|
void QPinchGesture_SetScaleFactor(QPinchGesture* self, double value);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QPinchGesture_TotalRotationAngle(const QPinchGesture* self);
|
|
|
|
double QPinchGesture_LastRotationAngle(const QPinchGesture* self);
|
|
|
|
double QPinchGesture_RotationAngle(const QPinchGesture* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPinchGesture_SetTotalRotationAngle(QPinchGesture* self, double value);
|
|
|
|
void QPinchGesture_SetLastRotationAngle(QPinchGesture* self, double value);
|
|
|
|
void QPinchGesture_SetRotationAngle(QPinchGesture* self, double value);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QPinchGesture_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QPinchGesture_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QPinchGesture_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QPinchGesture_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPinchGesture_Delete(QPinchGesture* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QSwipeGesture_new(QSwipeGesture** outptr_QSwipeGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
|
|
|
void QSwipeGesture_new2(QObject* parent, QSwipeGesture** outptr_QSwipeGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QSwipeGesture_MetaObject(const QSwipeGesture* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QSwipeGesture_Metacast(QSwipeGesture* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSwipeGesture_Tr(const char* s);
|
|
|
|
struct miqt_string QSwipeGesture_TrUtf8(const char* s);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QSwipeGesture_HorizontalDirection(const QSwipeGesture* self);
|
|
|
|
int QSwipeGesture_VerticalDirection(const QSwipeGesture* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QSwipeGesture_SwipeAngle(const QSwipeGesture* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSwipeGesture_SetSwipeAngle(QSwipeGesture* self, double value);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSwipeGesture_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QSwipeGesture_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QSwipeGesture_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QSwipeGesture_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QSwipeGesture_Delete(QSwipeGesture* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTapGesture_new(QTapGesture** outptr_QTapGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
|
|
|
void QTapGesture_new2(QObject* parent, QTapGesture** outptr_QTapGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QTapGesture_MetaObject(const QTapGesture* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QTapGesture_Metacast(QTapGesture* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QTapGesture_Tr(const char* s);
|
|
|
|
struct miqt_string QTapGesture_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPointF* QTapGesture_Position(const QTapGesture* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTapGesture_SetPosition(QTapGesture* self, QPointF* pos);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QTapGesture_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QTapGesture_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QTapGesture_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QTapGesture_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTapGesture_Delete(QTapGesture* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTapAndHoldGesture_new(QTapAndHoldGesture** outptr_QTapAndHoldGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
|
|
|
void QTapAndHoldGesture_new2(QObject* parent, QTapAndHoldGesture** outptr_QTapAndHoldGesture, QGesture** outptr_QGesture, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QTapAndHoldGesture_MetaObject(const QTapAndHoldGesture* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QTapAndHoldGesture_Metacast(QTapAndHoldGesture* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QTapAndHoldGesture_Tr(const char* s);
|
|
|
|
struct miqt_string QTapAndHoldGesture_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPointF* QTapAndHoldGesture_Position(const QTapAndHoldGesture* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTapAndHoldGesture_SetPosition(QTapAndHoldGesture* self, QPointF* pos);
|
|
|
|
void QTapAndHoldGesture_SetTimeout(int msecs);
|
|
|
|
int QTapAndHoldGesture_Timeout();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QTapAndHoldGesture_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QTapAndHoldGesture_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QTapAndHoldGesture_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QTapAndHoldGesture_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTapAndHoldGesture_Delete(QTapAndHoldGesture* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QGestureEvent_new(struct miqt_array /* of QGesture* */ gestures, QGestureEvent** outptr_QGestureEvent, QEvent** outptr_QEvent);
|
|
|
|
void QGestureEvent_new2(QGestureEvent* param1, QGestureEvent** outptr_QGestureEvent, QEvent** outptr_QEvent);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QGesture* */ QGestureEvent_Gestures(const QGestureEvent* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
QGesture* QGestureEvent_Gesture(const QGestureEvent* self, int typeVal);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of QGesture* */ QGestureEvent_ActiveGestures(const QGestureEvent* self);
|
|
|
|
struct miqt_array /* of QGesture* */ QGestureEvent_CanceledGestures(const QGestureEvent* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGestureEvent_SetAccepted(QGestureEvent* self, QGesture* param1, bool param2);
|
|
|
|
void QGestureEvent_Accept(QGestureEvent* self, QGesture* param1);
|
|
|
|
void QGestureEvent_Ignore(QGestureEvent* self, QGesture* param1);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QGestureEvent_IsAccepted(const QGestureEvent* self, QGesture* param1);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QGestureEvent_SetAccepted2(QGestureEvent* self, int param1, bool param2);
|
|
|
|
void QGestureEvent_AcceptWithQtGestureType(QGestureEvent* self, int param1);
|
|
|
|
void QGestureEvent_IgnoreWithQtGestureType(QGestureEvent* self, int param1);
|
|
|
|
bool QGestureEvent_IsAcceptedWithQtGestureType(const QGestureEvent* self, int param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGestureEvent_SetWidget(QGestureEvent* self, QWidget* widget);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QGestureEvent_Widget(const QGestureEvent* self);
|
|
|
|
QPointF* QGestureEvent_MapToGraphicsScene(const QGestureEvent* self, QPointF* gesturePoint);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QGestureEvent_Delete(QGestureEvent* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|