2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSCROLLER_H
|
|
|
|
#define GEN_QSCROLLER_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 QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QPointF;
|
|
|
|
class QRectF;
|
|
|
|
class QScroller;
|
|
|
|
class QScrollerProperties;
|
|
|
|
#else
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPointF QPointF;
|
|
|
|
typedef struct QRectF QRectF;
|
|
|
|
typedef struct QScroller QScroller;
|
|
|
|
typedef struct QScrollerProperties QScrollerProperties;
|
|
|
|
#endif
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QScroller_MetaObject(const QScroller* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QScroller_Metacast(QScroller* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QScroller_Tr(const char* s);
|
|
|
|
struct miqt_string* QScroller_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QScroller_HasScroller(QObject* target);
|
|
|
|
QScroller* QScroller_Scroller(QObject* target);
|
|
|
|
QScroller* QScroller_ScrollerWithTarget(QObject* target);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QScroller_GrabGesture(QObject* target);
|
|
|
|
int QScroller_GrabbedGesture(QObject* target);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QScroller_UngrabGesture(QObject* target);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QScroller_ActiveScrollers();
|
2024-09-11 05:41:09 +00:00
|
|
|
QObject* QScroller_Target(const QScroller* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QScroller_State(const QScroller* self);
|
|
|
|
bool QScroller_HandleInput(QScroller* self, int input, QPointF* position);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QScroller_Stop(QScroller* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPointF* QScroller_Velocity(const QScroller* self);
|
|
|
|
QPointF* QScroller_FinalPosition(const QScroller* self);
|
|
|
|
QPointF* QScroller_PixelPerMeter(const QScroller* self);
|
|
|
|
QScrollerProperties* QScroller_ScrollerProperties(const QScroller* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QScroller_SetSnapPositionsX(QScroller* self, struct miqt_array* /* of double */ positions);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QScroller_SetSnapPositionsX2(QScroller* self, double first, double interval);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QScroller_SetSnapPositionsY(QScroller* self, struct miqt_array* /* of double */ positions);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QScroller_SetSnapPositionsY2(QScroller* self, double first, double interval);
|
|
|
|
void QScroller_SetScrollerProperties(QScroller* self, QScrollerProperties* prop);
|
|
|
|
void QScroller_ScrollTo(QScroller* self, QPointF* pos);
|
|
|
|
void QScroller_ScrollTo2(QScroller* self, QPointF* pos, int scrollTime);
|
|
|
|
void QScroller_EnsureVisible(QScroller* self, QRectF* rect, double xmargin, double ymargin);
|
|
|
|
void QScroller_EnsureVisible2(QScroller* self, QRectF* rect, double xmargin, double ymargin, int scrollTime);
|
|
|
|
void QScroller_ResendPrepareEvent(QScroller* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QScroller_StateChanged(QScroller* self, int newstate);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QScroller_connect_StateChanged(QScroller* self, void* slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QScroller_ScrollerPropertiesChanged(QScroller* self, QScrollerProperties* param1);
|
|
|
|
void QScroller_connect_ScrollerPropertiesChanged(QScroller* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QScroller_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QScroller_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QScroller_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QScroller_TrUtf83(const char* s, const char* c, int n);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QScroller_GrabGesture2(QObject* target, int gestureType);
|
|
|
|
bool QScroller_HandleInput3(QScroller* self, int input, QPointF* position, long long timestamp);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|