2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QGRAPHICSLAYOUT_H
|
|
|
|
#define MIQT_QT_GEN_QGRAPHICSLAYOUT_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#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;
|
2024-11-23 06:34:52 +00:00
|
|
|
class QRectF;
|
|
|
|
class QSizeF;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QGraphicsLayout QGraphicsLayout;
|
|
|
|
typedef struct QGraphicsLayoutItem QGraphicsLayoutItem;
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QRectF QRectF;
|
|
|
|
typedef struct QSizeF QSizeF;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-11-23 06:34:52 +00:00
|
|
|
void QGraphicsLayout_new(QGraphicsLayout** outptr_QGraphicsLayout, QGraphicsLayoutItem** outptr_QGraphicsLayoutItem);
|
|
|
|
void QGraphicsLayout_new2(QGraphicsLayoutItem* parent, QGraphicsLayout** outptr_QGraphicsLayout, QGraphicsLayoutItem** outptr_QGraphicsLayoutItem);
|
2024-08-25 04:08:24 +00:00
|
|
|
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();
|
2024-11-23 06:34:52 +00:00
|
|
|
void QGraphicsLayout_override_virtual_GetContentsMargins(void* self, intptr_t slot);
|
|
|
|
void QGraphicsLayout_virtualbase_GetContentsMargins(const void* self, double* left, double* top, double* right, double* bottom);
|
|
|
|
void QGraphicsLayout_override_virtual_Invalidate(void* self, intptr_t slot);
|
|
|
|
void QGraphicsLayout_virtualbase_Invalidate(void* self);
|
|
|
|
void QGraphicsLayout_override_virtual_UpdateGeometry(void* self, intptr_t slot);
|
|
|
|
void QGraphicsLayout_virtualbase_UpdateGeometry(void* self);
|
|
|
|
void QGraphicsLayout_override_virtual_WidgetEvent(void* self, intptr_t slot);
|
|
|
|
void QGraphicsLayout_virtualbase_WidgetEvent(void* self, QEvent* e);
|
|
|
|
void QGraphicsLayout_override_virtual_Count(void* self, intptr_t slot);
|
|
|
|
int QGraphicsLayout_virtualbase_Count(const void* self);
|
|
|
|
void QGraphicsLayout_override_virtual_ItemAt(void* self, intptr_t slot);
|
|
|
|
QGraphicsLayoutItem* QGraphicsLayout_virtualbase_ItemAt(const void* self, int i);
|
|
|
|
void QGraphicsLayout_override_virtual_RemoveAt(void* self, intptr_t slot);
|
|
|
|
void QGraphicsLayout_virtualbase_RemoveAt(void* self, int index);
|
|
|
|
void QGraphicsLayout_override_virtual_SetGeometry(void* self, intptr_t slot);
|
|
|
|
void QGraphicsLayout_virtualbase_SetGeometry(void* self, QRectF* rect);
|
|
|
|
void QGraphicsLayout_override_virtual_SizeHint(void* self, intptr_t slot);
|
|
|
|
QSizeF* QGraphicsLayout_virtualbase_SizeHint(const void* self, int which, QSizeF* constraint);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QGraphicsLayout_Delete(QGraphicsLayout* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|