2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QLAYOUT_H
|
|
|
|
#define MIQT_QT_GEN_QLAYOUT_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
|
2024-11-19 06:29:06 +00:00
|
|
|
class QChildEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QLayout;
|
|
|
|
class QLayoutItem;
|
|
|
|
class QMargins;
|
|
|
|
class QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QRect;
|
|
|
|
class QSize;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QLayout QLayout;
|
|
|
|
typedef struct QLayoutItem QLayoutItem;
|
|
|
|
typedef struct QMargins QMargins;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QObject QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QLayout_MetaObject(const QLayout* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QLayout_Metacast(QLayout* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QLayout_Tr(const char* s);
|
|
|
|
struct miqt_string QLayout_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QLayout_Margin(const QLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLayout_SetMargin(QLayout* self, int margin);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QLayout_Spacing(const QLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLayout_SetSpacing(QLayout* self, int spacing);
|
|
|
|
void QLayout_SetContentsMargins(QLayout* self, int left, int top, int right, int bottom);
|
|
|
|
void QLayout_SetContentsMarginsWithMargins(QLayout* self, QMargins* margins);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QLayout_GetContentsMargins(const QLayout* self, int* left, int* top, int* right, int* bottom);
|
|
|
|
QMargins* QLayout_ContentsMargins(const QLayout* self);
|
|
|
|
QRect* QLayout_ContentsRect(const QLayout* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QLayout_SetAlignment(QLayout* self, QWidget* w, int alignment);
|
|
|
|
bool QLayout_SetAlignment2(QLayout* self, QLayout* l, int alignment);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QLayout_SetSizeConstraint(QLayout* self, int sizeConstraint);
|
|
|
|
int QLayout_SizeConstraint(const QLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLayout_SetMenuBar(QLayout* self, QWidget* w);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QLayout_MenuBar(const QLayout* self);
|
|
|
|
QWidget* QLayout_ParentWidget(const QLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLayout_Invalidate(QLayout* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QRect* QLayout_Geometry(const QLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QLayout_Activate(QLayout* self);
|
|
|
|
void QLayout_Update(QLayout* self);
|
|
|
|
void QLayout_AddWidget(QLayout* self, QWidget* w);
|
|
|
|
void QLayout_AddItem(QLayout* self, QLayoutItem* param1);
|
|
|
|
void QLayout_RemoveWidget(QLayout* self, QWidget* w);
|
|
|
|
void QLayout_RemoveItem(QLayout* self, QLayoutItem* param1);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QLayout_ExpandingDirections(const QLayout* self);
|
|
|
|
QSize* QLayout_MinimumSize(const QLayout* self);
|
|
|
|
QSize* QLayout_MaximumSize(const QLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLayout_SetGeometry(QLayout* self, QRect* geometry);
|
2024-09-11 05:41:09 +00:00
|
|
|
QLayoutItem* QLayout_ItemAt(const QLayout* self, int index);
|
2024-08-25 04:08:24 +00:00
|
|
|
QLayoutItem* QLayout_TakeAt(QLayout* self, int index);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QLayout_IndexOf(const QLayout* self, QWidget* param1);
|
|
|
|
int QLayout_IndexOfWithQLayoutItem(const QLayout* self, QLayoutItem* param1);
|
|
|
|
int QLayout_Count(const QLayout* self);
|
|
|
|
bool QLayout_IsEmpty(const QLayout* self);
|
|
|
|
int QLayout_ControlTypes(const QLayout* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
QLayoutItem* QLayout_ReplaceWidget(QLayout* self, QWidget* from, QWidget* to);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QLayout_TotalHeightForWidth(const QLayout* self, int w);
|
|
|
|
QSize* QLayout_TotalMinimumSize(const QLayout* self);
|
|
|
|
QSize* QLayout_TotalMaximumSize(const QLayout* self);
|
|
|
|
QSize* QLayout_TotalSizeHint(const QLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
QLayout* QLayout_Layout(QLayout* self);
|
|
|
|
void QLayout_SetEnabled(QLayout* self, bool enabled);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QLayout_IsEnabled(const QLayout* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
QSize* QLayout_ClosestAcceptableSize(QWidget* w, QSize* s);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QLayout_ChildEvent(QLayout* self, QChildEvent* e);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QLayout_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QLayout_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QLayout_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QLayout_TrUtf83(const char* s, const char* c, int n);
|
2024-08-29 07:01:51 +00:00
|
|
|
QLayoutItem* QLayout_ReplaceWidget3(QLayout* self, QWidget* from, QWidget* to, int options);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QLayout_Delete(QLayout* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|