2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSPLITTER_H
|
|
|
|
#define GEN_QSPLITTER_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 QByteArray;
|
|
|
|
class QMetaObject;
|
|
|
|
class QSize;
|
|
|
|
class QSplitter;
|
|
|
|
class QSplitterHandle;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QByteArray QByteArray;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QSplitter QSplitter;
|
|
|
|
typedef struct QSplitterHandle QSplitterHandle;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-10-26 00:46:42 +00:00
|
|
|
QSplitter* QSplitter_new(QWidget* parent);
|
|
|
|
QSplitter* QSplitter_new2();
|
|
|
|
QSplitter* QSplitter_new3(int param1);
|
2024-09-18 00:12:02 +00:00
|
|
|
QSplitter* QSplitter_new4(int param1, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QSplitter_MetaObject(const QSplitter* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QSplitter_Metacast(QSplitter* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSplitter_Tr(const char* s);
|
|
|
|
struct miqt_string QSplitter_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSplitter_AddWidget(QSplitter* self, QWidget* widget);
|
|
|
|
void QSplitter_InsertWidget(QSplitter* self, int index, QWidget* widget);
|
|
|
|
QWidget* QSplitter_ReplaceWidget(QSplitter* self, int index, QWidget* widget);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QSplitter_SetOrientation(QSplitter* self, int orientation);
|
|
|
|
int QSplitter_Orientation(const QSplitter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSplitter_SetChildrenCollapsible(QSplitter* self, bool childrenCollapsible);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSplitter_ChildrenCollapsible(const QSplitter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSplitter_SetCollapsible(QSplitter* self, int index, bool param2);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSplitter_IsCollapsible(const QSplitter* self, int index);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSplitter_SetOpaqueResize(QSplitter* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSplitter_OpaqueResize(const QSplitter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSplitter_Refresh(QSplitter* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QSplitter_SizeHint(const QSplitter* self);
|
|
|
|
QSize* QSplitter_MinimumSizeHint(const QSplitter* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QSplitter_Sizes(const QSplitter* self);
|
|
|
|
void QSplitter_SetSizes(QSplitter* self, struct miqt_array* /* of int */ list);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSplitter_SaveState(const QSplitter* self);
|
|
|
|
bool QSplitter_RestoreState(QSplitter* self, struct miqt_string state);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QSplitter_HandleWidth(const QSplitter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSplitter_SetHandleWidth(QSplitter* self, int handleWidth);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QSplitter_IndexOf(const QSplitter* self, QWidget* w);
|
|
|
|
QWidget* QSplitter_Widget(const QSplitter* self, int index);
|
|
|
|
int QSplitter_Count(const QSplitter* self);
|
|
|
|
void QSplitter_GetRange(const QSplitter* self, int index, int* param2, int* param3);
|
|
|
|
QSplitterHandle* QSplitter_Handle(const QSplitter* self, int index);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSplitter_SetStretchFactor(QSplitter* self, int index, int stretch);
|
|
|
|
void QSplitter_SplitterMoved(QSplitter* self, int pos, int index);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QSplitter_connect_SplitterMoved(QSplitter* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSplitter_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QSplitter_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QSplitter_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QSplitter_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSplitter_SetOpaqueResize1(QSplitter* self, bool opaque);
|
|
|
|
void QSplitter_Delete(QSplitter* self);
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
QSplitterHandle* QSplitterHandle_new(int o, QSplitter* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QSplitterHandle_MetaObject(const QSplitterHandle* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QSplitterHandle_Metacast(QSplitterHandle* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSplitterHandle_Tr(const char* s);
|
|
|
|
struct miqt_string QSplitterHandle_TrUtf8(const char* s);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QSplitterHandle_SetOrientation(QSplitterHandle* self, int o);
|
|
|
|
int QSplitterHandle_Orientation(const QSplitterHandle* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSplitterHandle_OpaqueResize(const QSplitterHandle* self);
|
|
|
|
QSplitter* QSplitterHandle_Splitter(const QSplitterHandle* self);
|
|
|
|
QSize* QSplitterHandle_SizeHint(const QSplitterHandle* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSplitterHandle_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QSplitterHandle_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QSplitterHandle_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QSplitterHandle_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSplitterHandle_Delete(QSplitterHandle* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|