2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QMDIAREA_H
|
|
|
|
#define GEN_QMDIAREA_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 QBrush;
|
|
|
|
class QMdiArea;
|
|
|
|
class QMdiSubWindow;
|
|
|
|
class QMetaObject;
|
|
|
|
class QSize;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QBrush QBrush;
|
|
|
|
typedef struct QMdiArea QMdiArea;
|
|
|
|
typedef struct QMdiSubWindow QMdiSubWindow;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QMdiArea* QMdiArea_new();
|
|
|
|
QMdiArea* QMdiArea_new2(QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QMdiArea_MetaObject(const QMdiArea* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMdiArea_Tr(const char* s);
|
|
|
|
struct miqt_string* QMdiArea_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QMdiArea_SizeHint(const QMdiArea* self);
|
|
|
|
QSize* QMdiArea_MinimumSizeHint(const QMdiArea* self);
|
|
|
|
QMdiSubWindow* QMdiArea_CurrentSubWindow(const QMdiArea* self);
|
|
|
|
QMdiSubWindow* QMdiArea_ActiveSubWindow(const QMdiArea* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QMdiArea_SubWindowList(const QMdiArea* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
QMdiSubWindow* QMdiArea_AddSubWindow(QMdiArea* self, QWidget* widget);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiArea_RemoveSubWindow(QMdiArea* self, QWidget* widget);
|
2024-09-11 05:41:09 +00:00
|
|
|
QBrush* QMdiArea_Background(const QMdiArea* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiArea_SetBackground(QMdiArea* self, QBrush* background);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QMdiArea_ActivationOrder(const QMdiArea* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMdiArea_SetActivationOrder(QMdiArea* self, uintptr_t order);
|
|
|
|
void QMdiArea_SetOption(QMdiArea* self, uintptr_t option);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QMdiArea_TestOption(const QMdiArea* self, uintptr_t opton);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMdiArea_SetViewMode(QMdiArea* self, uintptr_t mode);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QMdiArea_ViewMode(const QMdiArea* self);
|
|
|
|
bool QMdiArea_DocumentMode(const QMdiArea* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiArea_SetDocumentMode(QMdiArea* self, bool enabled);
|
|
|
|
void QMdiArea_SetTabsClosable(QMdiArea* self, bool closable);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QMdiArea_TabsClosable(const QMdiArea* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiArea_SetTabsMovable(QMdiArea* self, bool movable);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QMdiArea_TabsMovable(const QMdiArea* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMdiArea_SetTabShape(QMdiArea* self, uintptr_t shape);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QMdiArea_TabShape(const QMdiArea* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMdiArea_SetTabPosition(QMdiArea* self, uintptr_t position);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QMdiArea_TabPosition(const QMdiArea* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiArea_SubWindowActivated(QMdiArea* self, QMdiSubWindow* param1);
|
|
|
|
void QMdiArea_connect_SubWindowActivated(QMdiArea* self, void* slot);
|
|
|
|
void QMdiArea_SetActiveSubWindow(QMdiArea* self, QMdiSubWindow* window);
|
|
|
|
void QMdiArea_TileSubWindows(QMdiArea* self);
|
|
|
|
void QMdiArea_CascadeSubWindows(QMdiArea* self);
|
|
|
|
void QMdiArea_CloseActiveSubWindow(QMdiArea* self);
|
|
|
|
void QMdiArea_CloseAllSubWindows(QMdiArea* self);
|
|
|
|
void QMdiArea_ActivateNextSubWindow(QMdiArea* self);
|
|
|
|
void QMdiArea_ActivatePreviousSubWindow(QMdiArea* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMdiArea_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QMdiArea_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QMdiArea_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QMdiArea_TrUtf83(const char* s, const char* c, int n);
|
|
|
|
struct miqt_array* QMdiArea_SubWindowList1(const QMdiArea* self, uintptr_t order);
|
2024-08-29 07:01:51 +00:00
|
|
|
QMdiSubWindow* QMdiArea_AddSubWindow2(QMdiArea* self, QWidget* widget, int flags);
|
|
|
|
void QMdiArea_SetOption2(QMdiArea* self, uintptr_t option, bool on);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiArea_Delete(QMdiArea* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|