2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QGRAPHICSGRIDLAYOUT_H
|
|
|
|
#define GEN_QGRAPHICSGRIDLAYOUT_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QGraphicsGridLayout;
|
|
|
|
class QGraphicsLayoutItem;
|
|
|
|
class QRectF;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QSizeF;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QGraphicsGridLayout QGraphicsGridLayout;
|
|
|
|
typedef struct QGraphicsLayoutItem QGraphicsLayoutItem;
|
|
|
|
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
|
|
|
|
|
|
|
|
QGraphicsGridLayout* QGraphicsGridLayout_new();
|
|
|
|
QGraphicsGridLayout* QGraphicsGridLayout_new2(QGraphicsLayoutItem* parent);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QGraphicsGridLayout_AddItem(QGraphicsGridLayout* self, QGraphicsLayoutItem* item, int row, int column, int rowSpan, int columnSpan);
|
|
|
|
void QGraphicsGridLayout_AddItem2(QGraphicsGridLayout* self, QGraphicsLayoutItem* item, int row, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetHorizontalSpacing(QGraphicsGridLayout* self, double spacing);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_HorizontalSpacing(const QGraphicsGridLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetVerticalSpacing(QGraphicsGridLayout* self, double spacing);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_VerticalSpacing(const QGraphicsGridLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetSpacing(QGraphicsGridLayout* self, double spacing);
|
|
|
|
void QGraphicsGridLayout_SetRowSpacing(QGraphicsGridLayout* self, int row, double spacing);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_RowSpacing(const QGraphicsGridLayout* self, int row);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetColumnSpacing(QGraphicsGridLayout* self, int column, double spacing);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_ColumnSpacing(const QGraphicsGridLayout* self, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetRowStretchFactor(QGraphicsGridLayout* self, int row, int stretch);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGraphicsGridLayout_RowStretchFactor(const QGraphicsGridLayout* self, int row);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetColumnStretchFactor(QGraphicsGridLayout* self, int column, int stretch);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGraphicsGridLayout_ColumnStretchFactor(const QGraphicsGridLayout* self, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetRowMinimumHeight(QGraphicsGridLayout* self, int row, double height);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_RowMinimumHeight(const QGraphicsGridLayout* self, int row);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetRowPreferredHeight(QGraphicsGridLayout* self, int row, double height);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_RowPreferredHeight(const QGraphicsGridLayout* self, int row);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetRowMaximumHeight(QGraphicsGridLayout* self, int row, double height);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_RowMaximumHeight(const QGraphicsGridLayout* self, int row);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetRowFixedHeight(QGraphicsGridLayout* self, int row, double height);
|
|
|
|
void QGraphicsGridLayout_SetColumnMinimumWidth(QGraphicsGridLayout* self, int column, double width);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_ColumnMinimumWidth(const QGraphicsGridLayout* self, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetColumnPreferredWidth(QGraphicsGridLayout* self, int column, double width);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_ColumnPreferredWidth(const QGraphicsGridLayout* self, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetColumnMaximumWidth(QGraphicsGridLayout* self, int column, double width);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QGraphicsGridLayout_ColumnMaximumWidth(const QGraphicsGridLayout* self, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_SetColumnFixedWidth(QGraphicsGridLayout* self, int column, double width);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QGraphicsGridLayout_SetRowAlignment(QGraphicsGridLayout* self, int row, int alignment);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGraphicsGridLayout_RowAlignment(const QGraphicsGridLayout* self, int row);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QGraphicsGridLayout_SetColumnAlignment(QGraphicsGridLayout* self, int column, int alignment);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGraphicsGridLayout_ColumnAlignment(const QGraphicsGridLayout* self, int column);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QGraphicsGridLayout_SetAlignment(QGraphicsGridLayout* self, QGraphicsLayoutItem* item, int alignment);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGraphicsGridLayout_Alignment(const QGraphicsGridLayout* self, QGraphicsLayoutItem* item);
|
|
|
|
int QGraphicsGridLayout_RowCount(const QGraphicsGridLayout* self);
|
|
|
|
int QGraphicsGridLayout_ColumnCount(const QGraphicsGridLayout* self);
|
|
|
|
QGraphicsLayoutItem* QGraphicsGridLayout_ItemAt(const QGraphicsGridLayout* self, int row, int column);
|
|
|
|
int QGraphicsGridLayout_Count(const QGraphicsGridLayout* self);
|
|
|
|
QGraphicsLayoutItem* QGraphicsGridLayout_ItemAtWithIndex(const QGraphicsGridLayout* self, int index);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_RemoveAt(QGraphicsGridLayout* self, int index);
|
|
|
|
void QGraphicsGridLayout_RemoveItem(QGraphicsGridLayout* self, QGraphicsLayoutItem* item);
|
|
|
|
void QGraphicsGridLayout_Invalidate(QGraphicsGridLayout* self);
|
|
|
|
void QGraphicsGridLayout_SetGeometry(QGraphicsGridLayout* self, QRectF* rect);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSizeF* QGraphicsGridLayout_SizeHint(const QGraphicsGridLayout* self, uintptr_t which);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QGraphicsGridLayout_AddItem6(QGraphicsGridLayout* self, QGraphicsLayoutItem* item, int row, int column, int rowSpan, int columnSpan, int alignment);
|
|
|
|
void QGraphicsGridLayout_AddItem4(QGraphicsGridLayout* self, QGraphicsLayoutItem* item, int row, int column, int alignment);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSizeF* QGraphicsGridLayout_SizeHint2(const QGraphicsGridLayout* self, uintptr_t which, QSizeF* constraint);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QGraphicsGridLayout_Delete(QGraphicsGridLayout* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|