2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QGRAPHICSLAYOUT_H
|
|
|
|
#define GEN_QGRAPHICSLAYOUT_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 QEvent;
|
|
|
|
class QGraphicsLayout;
|
|
|
|
class QGraphicsLayoutItem;
|
|
|
|
#else
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QGraphicsLayout QGraphicsLayout;
|
|
|
|
typedef struct QGraphicsLayoutItem QGraphicsLayoutItem;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void QGraphicsLayout_SetContentsMargins(QGraphicsLayout* self, double left, double top, double right, double bottom);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QGraphicsLayout_GetContentsMargins(const QGraphicsLayout* self, double* left, double* top, double* right, double* bottom);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsLayout_Activate(QGraphicsLayout* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QGraphicsLayout_IsActivated(const QGraphicsLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsLayout_Invalidate(QGraphicsLayout* self);
|
|
|
|
void QGraphicsLayout_UpdateGeometry(QGraphicsLayout* self);
|
|
|
|
void QGraphicsLayout_WidgetEvent(QGraphicsLayout* self, QEvent* e);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGraphicsLayout_Count(const QGraphicsLayout* self);
|
|
|
|
QGraphicsLayoutItem* QGraphicsLayout_ItemAt(const QGraphicsLayout* self, int i);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsLayout_RemoveAt(QGraphicsLayout* self, int index);
|
|
|
|
void QGraphicsLayout_SetInstantInvalidatePropagation(bool enable);
|
|
|
|
bool QGraphicsLayout_InstantInvalidatePropagation();
|
|
|
|
void QGraphicsLayout_Delete(QGraphicsLayout* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|