2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QRUBBERBAND_H
|
|
|
|
#define GEN_QRUBBERBAND_H
|
|
|
|
|
|
|
|
#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 QMetaObject;
|
|
|
|
class QPoint;
|
|
|
|
class QRect;
|
|
|
|
class QRubberBand;
|
|
|
|
class QSize;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QWidget;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QPoint QPoint;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QRubberBand QRubberBand;
|
|
|
|
typedef struct QSize QSize;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QWidget QWidget;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
QRubberBand* QRubberBand_new(int param1);
|
|
|
|
QRubberBand* QRubberBand_new2(int param1, QWidget* param2);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QRubberBand_MetaObject(const QRubberBand* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QRubberBand_Metacast(QRubberBand* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QRubberBand_Tr(const char* s);
|
|
|
|
struct miqt_string* QRubberBand_TrUtf8(const char* s);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QRubberBand_Shape(const QRubberBand* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QRubberBand_SetGeometry(QRubberBand* self, QRect* r);
|
|
|
|
void QRubberBand_SetGeometry2(QRubberBand* self, int x, int y, int w, int h);
|
|
|
|
void QRubberBand_Move(QRubberBand* self, int x, int y);
|
|
|
|
void QRubberBand_MoveWithQPoint(QRubberBand* self, QPoint* p);
|
|
|
|
void QRubberBand_Resize(QRubberBand* self, int w, int h);
|
|
|
|
void QRubberBand_ResizeWithQSize(QRubberBand* self, QSize* s);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QRubberBand_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QRubberBand_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QRubberBand_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QRubberBand_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QRubberBand_Delete(QRubberBand* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|