2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QGRAPHICSLINEARLAYOUT_H
|
|
|
|
#define GEN_QGRAPHICSLINEARLAYOUT_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QGraphicsLayoutItem;
|
|
|
|
class QGraphicsLinearLayout;
|
|
|
|
class QRectF;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QSizeF;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QGraphicsLayoutItem QGraphicsLayoutItem;
|
|
|
|
typedef struct QGraphicsLinearLayout QGraphicsLinearLayout;
|
|
|
|
typedef struct QRectF QRectF;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QSizeF QSizeF;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
QGraphicsLinearLayout* QGraphicsLinearLayout_new();
|
2024-08-29 07:01:51 +00:00
|
|
|
QGraphicsLinearLayout* QGraphicsLinearLayout_new2(uintptr_t orientation);
|
|
|
|
QGraphicsLinearLayout* QGraphicsLinearLayout_new3(QGraphicsLayoutItem* parent);
|
|
|
|
QGraphicsLinearLayout* QGraphicsLinearLayout_new4(uintptr_t orientation, QGraphicsLayoutItem* parent);
|
|
|
|
void QGraphicsLinearLayout_SetOrientation(QGraphicsLinearLayout* self, uintptr_t orientation);
|
|
|
|
uintptr_t QGraphicsLinearLayout_Orientation(QGraphicsLinearLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsLinearLayout_AddItem(QGraphicsLinearLayout* self, QGraphicsLayoutItem* item);
|
|
|
|
void QGraphicsLinearLayout_AddStretch(QGraphicsLinearLayout* self);
|
|
|
|
void QGraphicsLinearLayout_InsertItem(QGraphicsLinearLayout* self, int index, QGraphicsLayoutItem* item);
|
|
|
|
void QGraphicsLinearLayout_InsertStretch(QGraphicsLinearLayout* self, int index);
|
|
|
|
void QGraphicsLinearLayout_RemoveItem(QGraphicsLinearLayout* self, QGraphicsLayoutItem* item);
|
|
|
|
void QGraphicsLinearLayout_RemoveAt(QGraphicsLinearLayout* self, int index);
|
|
|
|
void QGraphicsLinearLayout_SetSpacing(QGraphicsLinearLayout* self, double spacing);
|
|
|
|
double QGraphicsLinearLayout_Spacing(QGraphicsLinearLayout* self);
|
|
|
|
void QGraphicsLinearLayout_SetItemSpacing(QGraphicsLinearLayout* self, int index, double spacing);
|
|
|
|
double QGraphicsLinearLayout_ItemSpacing(QGraphicsLinearLayout* self, int index);
|
|
|
|
void QGraphicsLinearLayout_SetStretchFactor(QGraphicsLinearLayout* self, QGraphicsLayoutItem* item, int stretch);
|
|
|
|
int QGraphicsLinearLayout_StretchFactor(QGraphicsLinearLayout* self, QGraphicsLayoutItem* item);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QGraphicsLinearLayout_SetAlignment(QGraphicsLinearLayout* self, QGraphicsLayoutItem* item, int alignment);
|
|
|
|
int QGraphicsLinearLayout_Alignment(QGraphicsLinearLayout* self, QGraphicsLayoutItem* item);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsLinearLayout_SetGeometry(QGraphicsLinearLayout* self, QRectF* rect);
|
|
|
|
int QGraphicsLinearLayout_Count(QGraphicsLinearLayout* self);
|
|
|
|
QGraphicsLayoutItem* QGraphicsLinearLayout_ItemAt(QGraphicsLinearLayout* self, int index);
|
|
|
|
void QGraphicsLinearLayout_Invalidate(QGraphicsLinearLayout* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
QSizeF* QGraphicsLinearLayout_SizeHint(QGraphicsLinearLayout* self, uintptr_t which);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsLinearLayout_Dump(QGraphicsLinearLayout* self);
|
|
|
|
void QGraphicsLinearLayout_AddStretch1(QGraphicsLinearLayout* self, int stretch);
|
|
|
|
void QGraphicsLinearLayout_InsertStretch2(QGraphicsLinearLayout* self, int index, int stretch);
|
2024-08-29 07:01:51 +00:00
|
|
|
QSizeF* QGraphicsLinearLayout_SizeHint2(QGraphicsLinearLayout* self, uintptr_t which, QSizeF* constraint);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsLinearLayout_Dump1(QGraphicsLinearLayout* self, int indent);
|
|
|
|
void QGraphicsLinearLayout_Delete(QGraphicsLinearLayout* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|