miqt/qt6/gen_qlayout.h

169 lines
8.0 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QLAYOUT_H
#define MIQT_QT6_GEN_QLAYOUT_H
2024-10-20 05:21:03 +00:00
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
2024-11-19 06:29:06 +00:00
class QChildEvent;
class QEvent;
2024-10-20 05:21:03 +00:00
class QLayout;
class QLayoutItem;
class QMargins;
class QMetaMethod;
2024-10-20 05:21:03 +00:00
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QObject;
2024-10-20 05:21:03 +00:00
class QRect;
class QSize;
class QSpacerItem;
class QTimerEvent;
2024-10-20 05:21:03 +00:00
class QWidget;
#else
2024-11-19 06:29:06 +00:00
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
2024-10-20 05:21:03 +00:00
typedef struct QLayout QLayout;
typedef struct QLayoutItem QLayoutItem;
typedef struct QMargins QMargins;
typedef struct QMetaMethod QMetaMethod;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QObject QObject;
2024-10-20 05:21:03 +00:00
typedef struct QRect QRect;
typedef struct QSize QSize;
typedef struct QSpacerItem QSpacerItem;
typedef struct QTimerEvent QTimerEvent;
2024-10-20 05:21:03 +00:00
typedef struct QWidget QWidget;
#endif
2024-12-07 04:15:57 +00:00
QLayout* QLayout_new(QWidget* parent);
QLayout* QLayout_new2();
void QLayout_virtbase(QLayout* src, QObject** outptr_QObject, QLayoutItem** outptr_QLayoutItem);
2024-10-20 05:21:03 +00:00
QMetaObject* QLayout_MetaObject(const QLayout* self);
void* QLayout_Metacast(QLayout* self, const char* param1);
struct miqt_string QLayout_Tr(const char* s);
int QLayout_Spacing(const QLayout* self);
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);
void QLayout_UnsetContentsMargins(QLayout* self);
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);
bool QLayout_SetAlignment(QLayout* self, QWidget* w, int alignment);
bool QLayout_SetAlignment2(QLayout* self, QLayout* l, int alignment);
void QLayout_SetSizeConstraint(QLayout* self, int sizeConstraint);
int QLayout_SizeConstraint(const QLayout* self);
void QLayout_SetMenuBar(QLayout* self, QWidget* w);
QWidget* QLayout_MenuBar(const QLayout* self);
QWidget* QLayout_ParentWidget(const QLayout* self);
void QLayout_Invalidate(QLayout* self);
QRect* QLayout_Geometry(const QLayout* self);
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);
int QLayout_ExpandingDirections(const QLayout* self);
QSize* QLayout_MinimumSize(const QLayout* self);
QSize* QLayout_MaximumSize(const QLayout* self);
void QLayout_SetGeometry(QLayout* self, QRect* geometry);
QLayoutItem* QLayout_ItemAt(const QLayout* self, int index);
QLayoutItem* QLayout_TakeAt(QLayout* self, int index);
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-11-19 06:29:06 +00:00
QLayoutItem* QLayout_ReplaceWidget(QLayout* self, QWidget* from, QWidget* to, int options);
2024-10-20 05:21:03 +00:00
int QLayout_TotalMinimumHeightForWidth(const QLayout* self, int w);
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);
QLayout* QLayout_Layout(QLayout* self);
void QLayout_SetEnabled(QLayout* self, bool enabled);
bool QLayout_IsEnabled(const QLayout* self);
QSize* QLayout_ClosestAcceptableSize(QWidget* w, QSize* s);
2024-11-19 06:29:06 +00:00
void QLayout_ChildEvent(QLayout* self, QChildEvent* e);
2024-10-20 05:21:03 +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);
void QLayout_override_virtual_Spacing(void* self, intptr_t slot);
int QLayout_virtualbase_Spacing(const void* self);
void QLayout_override_virtual_SetSpacing(void* self, intptr_t slot);
void QLayout_virtualbase_SetSpacing(void* self, int spacing);
void QLayout_override_virtual_Invalidate(void* self, intptr_t slot);
void QLayout_virtualbase_Invalidate(void* self);
void QLayout_override_virtual_Geometry(void* self, intptr_t slot);
QRect* QLayout_virtualbase_Geometry(const void* self);
void QLayout_override_virtual_AddItem(void* self, intptr_t slot);
void QLayout_virtualbase_AddItem(void* self, QLayoutItem* param1);
void QLayout_override_virtual_ExpandingDirections(void* self, intptr_t slot);
int QLayout_virtualbase_ExpandingDirections(const void* self);
void QLayout_override_virtual_MinimumSize(void* self, intptr_t slot);
QSize* QLayout_virtualbase_MinimumSize(const void* self);
void QLayout_override_virtual_MaximumSize(void* self, intptr_t slot);
QSize* QLayout_virtualbase_MaximumSize(const void* self);
void QLayout_override_virtual_SetGeometry(void* self, intptr_t slot);
void QLayout_virtualbase_SetGeometry(void* self, QRect* geometry);
void QLayout_override_virtual_ItemAt(void* self, intptr_t slot);
QLayoutItem* QLayout_virtualbase_ItemAt(const void* self, int index);
void QLayout_override_virtual_TakeAt(void* self, intptr_t slot);
QLayoutItem* QLayout_virtualbase_TakeAt(void* self, int index);
void QLayout_override_virtual_IndexOf(void* self, intptr_t slot);
int QLayout_virtualbase_IndexOf(const void* self, QWidget* param1);
void QLayout_override_virtual_IndexOfWithQLayoutItem(void* self, intptr_t slot);
int QLayout_virtualbase_IndexOfWithQLayoutItem(const void* self, QLayoutItem* param1);
void QLayout_override_virtual_Count(void* self, intptr_t slot);
int QLayout_virtualbase_Count(const void* self);
void QLayout_override_virtual_IsEmpty(void* self, intptr_t slot);
bool QLayout_virtualbase_IsEmpty(const void* self);
void QLayout_override_virtual_ControlTypes(void* self, intptr_t slot);
int QLayout_virtualbase_ControlTypes(const void* self);
void QLayout_override_virtual_ReplaceWidget(void* self, intptr_t slot);
QLayoutItem* QLayout_virtualbase_ReplaceWidget(void* self, QWidget* from, QWidget* to, int options);
void QLayout_override_virtual_Layout(void* self, intptr_t slot);
QLayout* QLayout_virtualbase_Layout(void* self);
void QLayout_override_virtual_ChildEvent(void* self, intptr_t slot);
void QLayout_virtualbase_ChildEvent(void* self, QChildEvent* e);
void QLayout_override_virtual_Event(void* self, intptr_t slot);
bool QLayout_virtualbase_Event(void* self, QEvent* event);
void QLayout_override_virtual_EventFilter(void* self, intptr_t slot);
bool QLayout_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QLayout_override_virtual_TimerEvent(void* self, intptr_t slot);
void QLayout_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QLayout_override_virtual_CustomEvent(void* self, intptr_t slot);
void QLayout_virtualbase_CustomEvent(void* self, QEvent* event);
void QLayout_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QLayout_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QLayout_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QLayout_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QLayout_override_virtual_SizeHint(void* self, intptr_t slot);
QSize* QLayout_virtualbase_SizeHint(const void* self);
void QLayout_override_virtual_HasHeightForWidth(void* self, intptr_t slot);
bool QLayout_virtualbase_HasHeightForWidth(const void* self);
void QLayout_override_virtual_HeightForWidth(void* self, intptr_t slot);
int QLayout_virtualbase_HeightForWidth(const void* self, int param1);
void QLayout_override_virtual_MinimumHeightForWidth(void* self, intptr_t slot);
int QLayout_virtualbase_MinimumHeightForWidth(const void* self, int param1);
void QLayout_override_virtual_Widget(void* self, intptr_t slot);
QWidget* QLayout_virtualbase_Widget(const void* self);
void QLayout_override_virtual_SpacerItem(void* self, intptr_t slot);
QSpacerItem* QLayout_virtualbase_SpacerItem(void* self);
2024-11-19 06:29:06 +00:00
void QLayout_Delete(QLayout* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif