miqt/qt/gen_qgraphicslayoutitem.h

72 lines
3.6 KiB
C
Raw Normal View History

#ifndef GEN_QGRAPHICSLAYOUTITEM_H
#define GEN_QGRAPHICSLAYOUTITEM_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QGraphicsItem;
class QGraphicsLayoutItem;
class QRectF;
class QSizeF;
class QSizePolicy;
#else
typedef struct QGraphicsItem QGraphicsItem;
typedef struct QGraphicsLayoutItem QGraphicsLayoutItem;
typedef struct QRectF QRectF;
typedef struct QSizeF QSizeF;
typedef struct QSizePolicy QSizePolicy;
#endif
void QGraphicsLayoutItem_SetSizePolicy(QGraphicsLayoutItem* self, QSizePolicy* policy);
2024-08-29 07:01:51 +00:00
void QGraphicsLayoutItem_SetSizePolicy2(QGraphicsLayoutItem* self, uintptr_t hPolicy, uintptr_t vPolicy);
QSizePolicy* QGraphicsLayoutItem_SizePolicy(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetMinimumSize(QGraphicsLayoutItem* self, QSizeF* size);
void QGraphicsLayoutItem_SetMinimumSize2(QGraphicsLayoutItem* self, double w, double h);
QSizeF* QGraphicsLayoutItem_MinimumSize(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetMinimumWidth(QGraphicsLayoutItem* self, double width);
double QGraphicsLayoutItem_MinimumWidth(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetMinimumHeight(QGraphicsLayoutItem* self, double height);
double QGraphicsLayoutItem_MinimumHeight(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetPreferredSize(QGraphicsLayoutItem* self, QSizeF* size);
void QGraphicsLayoutItem_SetPreferredSize2(QGraphicsLayoutItem* self, double w, double h);
QSizeF* QGraphicsLayoutItem_PreferredSize(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetPreferredWidth(QGraphicsLayoutItem* self, double width);
double QGraphicsLayoutItem_PreferredWidth(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetPreferredHeight(QGraphicsLayoutItem* self, double height);
double QGraphicsLayoutItem_PreferredHeight(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetMaximumSize(QGraphicsLayoutItem* self, QSizeF* size);
void QGraphicsLayoutItem_SetMaximumSize2(QGraphicsLayoutItem* self, double w, double h);
QSizeF* QGraphicsLayoutItem_MaximumSize(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetMaximumWidth(QGraphicsLayoutItem* self, double width);
double QGraphicsLayoutItem_MaximumWidth(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetMaximumHeight(QGraphicsLayoutItem* self, double height);
double QGraphicsLayoutItem_MaximumHeight(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetGeometry(QGraphicsLayoutItem* self, QRectF* rect);
QRectF* QGraphicsLayoutItem_Geometry(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_GetContentsMargins(QGraphicsLayoutItem* self, double* left, double* top, double* right, double* bottom);
QRectF* QGraphicsLayoutItem_ContentsRect(QGraphicsLayoutItem* self);
2024-08-29 07:01:51 +00:00
QSizeF* QGraphicsLayoutItem_EffectiveSizeHint(QGraphicsLayoutItem* self, uintptr_t which);
void QGraphicsLayoutItem_UpdateGeometry(QGraphicsLayoutItem* self);
QGraphicsLayoutItem* QGraphicsLayoutItem_ParentLayoutItem(QGraphicsLayoutItem* self);
void QGraphicsLayoutItem_SetParentLayoutItem(QGraphicsLayoutItem* self, QGraphicsLayoutItem* parent);
bool QGraphicsLayoutItem_IsLayout(QGraphicsLayoutItem* self);
QGraphicsItem* QGraphicsLayoutItem_GraphicsItem(QGraphicsLayoutItem* self);
bool QGraphicsLayoutItem_OwnedByLayout(QGraphicsLayoutItem* self);
2024-08-29 07:01:51 +00:00
void QGraphicsLayoutItem_SetSizePolicy3(QGraphicsLayoutItem* self, uintptr_t hPolicy, uintptr_t vPolicy, uintptr_t controlType);
QSizeF* QGraphicsLayoutItem_EffectiveSizeHint2(QGraphicsLayoutItem* self, uintptr_t which, QSizeF* constraint);
void QGraphicsLayoutItem_Delete(QGraphicsLayoutItem* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif