2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QLAYOUTITEM_H
|
|
|
|
#define GEN_QLAYOUTITEM_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QLayout;
|
|
|
|
class QLayoutItem;
|
|
|
|
class QRect;
|
|
|
|
class QSize;
|
|
|
|
class QSizePolicy;
|
|
|
|
class QSpacerItem;
|
|
|
|
class QWidget;
|
|
|
|
class QWidgetItem;
|
|
|
|
class QWidgetItemV2;
|
|
|
|
#else
|
|
|
|
typedef struct QLayout QLayout;
|
|
|
|
typedef struct QLayoutItem QLayoutItem;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QSizePolicy QSizePolicy;
|
|
|
|
typedef struct QSpacerItem QSpacerItem;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
typedef struct QWidgetItem QWidgetItem;
|
|
|
|
typedef struct QWidgetItemV2 QWidgetItemV2;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QSize* QLayoutItem_SizeHint(QLayoutItem* self);
|
|
|
|
QSize* QLayoutItem_MinimumSize(QLayoutItem* self);
|
|
|
|
QSize* QLayoutItem_MaximumSize(QLayoutItem* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
int QLayoutItem_ExpandingDirections(QLayoutItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLayoutItem_SetGeometry(QLayoutItem* self, QRect* geometry);
|
|
|
|
QRect* QLayoutItem_Geometry(QLayoutItem* self);
|
|
|
|
bool QLayoutItem_IsEmpty(QLayoutItem* self);
|
|
|
|
bool QLayoutItem_HasHeightForWidth(QLayoutItem* self);
|
|
|
|
int QLayoutItem_HeightForWidth(QLayoutItem* self, int param1);
|
|
|
|
int QLayoutItem_MinimumHeightForWidth(QLayoutItem* self, int param1);
|
|
|
|
void QLayoutItem_Invalidate(QLayoutItem* self);
|
|
|
|
QWidget* QLayoutItem_Widget(QLayoutItem* self);
|
|
|
|
QLayout* QLayoutItem_Layout(QLayoutItem* self);
|
|
|
|
QSpacerItem* QLayoutItem_SpacerItem(QLayoutItem* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
int QLayoutItem_Alignment(QLayoutItem* self);
|
|
|
|
void QLayoutItem_SetAlignment(QLayoutItem* self, int a);
|
|
|
|
int QLayoutItem_ControlTypes(QLayoutItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLayoutItem_Delete(QLayoutItem* self);
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QSpacerItem* QSpacerItem_new(int w, int h);
|
|
|
|
QSpacerItem* QSpacerItem_new2(QSpacerItem* param1);
|
|
|
|
QSpacerItem* QSpacerItem_new3(int w, int h, uintptr_t hData);
|
|
|
|
QSpacerItem* QSpacerItem_new4(int w, int h, uintptr_t hData, uintptr_t vData);
|
|
|
|
void QSpacerItem_ChangeSize(QSpacerItem* self, int w, int h);
|
2024-08-25 04:08:24 +00:00
|
|
|
QSize* QSpacerItem_SizeHint(QSpacerItem* self);
|
|
|
|
QSize* QSpacerItem_MinimumSize(QSpacerItem* self);
|
|
|
|
QSize* QSpacerItem_MaximumSize(QSpacerItem* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
int QSpacerItem_ExpandingDirections(QSpacerItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QSpacerItem_IsEmpty(QSpacerItem* self);
|
|
|
|
void QSpacerItem_SetGeometry(QSpacerItem* self, QRect* geometry);
|
|
|
|
QRect* QSpacerItem_Geometry(QSpacerItem* self);
|
|
|
|
QSpacerItem* QSpacerItem_SpacerItem(QSpacerItem* self);
|
|
|
|
QSizePolicy* QSpacerItem_SizePolicy(QSpacerItem* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QSpacerItem_ChangeSize3(QSpacerItem* self, int w, int h, uintptr_t hData);
|
|
|
|
void QSpacerItem_ChangeSize4(QSpacerItem* self, int w, int h, uintptr_t hData, uintptr_t vData);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSpacerItem_Delete(QSpacerItem* self);
|
|
|
|
|
|
|
|
QWidgetItem* QWidgetItem_new(QWidget* w);
|
|
|
|
QSize* QWidgetItem_SizeHint(QWidgetItem* self);
|
|
|
|
QSize* QWidgetItem_MinimumSize(QWidgetItem* self);
|
|
|
|
QSize* QWidgetItem_MaximumSize(QWidgetItem* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
int QWidgetItem_ExpandingDirections(QWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QWidgetItem_IsEmpty(QWidgetItem* self);
|
|
|
|
void QWidgetItem_SetGeometry(QWidgetItem* self, QRect* geometry);
|
|
|
|
QRect* QWidgetItem_Geometry(QWidgetItem* self);
|
|
|
|
QWidget* QWidgetItem_Widget(QWidgetItem* self);
|
|
|
|
bool QWidgetItem_HasHeightForWidth(QWidgetItem* self);
|
|
|
|
int QWidgetItem_HeightForWidth(QWidgetItem* self, int param1);
|
2024-08-29 07:01:51 +00:00
|
|
|
int QWidgetItem_ControlTypes(QWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWidgetItem_Delete(QWidgetItem* self);
|
|
|
|
|
|
|
|
QWidgetItemV2* QWidgetItemV2_new(QWidget* widget);
|
|
|
|
QSize* QWidgetItemV2_SizeHint(QWidgetItemV2* self);
|
|
|
|
QSize* QWidgetItemV2_MinimumSize(QWidgetItemV2* self);
|
|
|
|
QSize* QWidgetItemV2_MaximumSize(QWidgetItemV2* self);
|
|
|
|
int QWidgetItemV2_HeightForWidth(QWidgetItemV2* self, int width);
|
|
|
|
void QWidgetItemV2_Delete(QWidgetItemV2* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|