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-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 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
|
|
|
|
|
2024-10-26 00:46:42 +00:00
|
|
|
QMdiArea* QMdiArea_new(QWidget* parent);
|
|
|
|
QMdiArea* QMdiArea_new2();
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QMdiArea_MetaObject(const QMdiArea* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QMdiArea_Metacast(QMdiArea* self, const char* param1);
|
2024-10-18 23:53:33 +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-18 00:12:02 +00:00
|
|
|
int QMdiArea_ActivationOrder(const QMdiArea* self);
|
|
|
|
void QMdiArea_SetActivationOrder(QMdiArea* self, int order);
|
|
|
|
void QMdiArea_SetOption(QMdiArea* self, int option);
|
|
|
|
bool QMdiArea_TestOption(const QMdiArea* self, int opton);
|
|
|
|
void QMdiArea_SetViewMode(QMdiArea* self, int mode);
|
|
|
|
int QMdiArea_ViewMode(const QMdiArea* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
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-09-18 00:12:02 +00:00
|
|
|
void QMdiArea_SetTabShape(QMdiArea* self, int shape);
|
|
|
|
int QMdiArea_TabShape(const QMdiArea* self);
|
|
|
|
void QMdiArea_SetTabPosition(QMdiArea* self, int position);
|
|
|
|
int QMdiArea_TabPosition(const QMdiArea* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiArea_SubWindowActivated(QMdiArea* self, QMdiSubWindow* param1);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QMdiArea_connect_SubWindowActivated(QMdiArea* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
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-10-18 23:53:33 +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);
|
2024-09-18 00:12:02 +00:00
|
|
|
struct miqt_array* QMdiArea_SubWindowList1(const QMdiArea* self, int order);
|
2024-08-29 07:01:51 +00:00
|
|
|
QMdiSubWindow* QMdiArea_AddSubWindow2(QMdiArea* self, QWidget* widget, int flags);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QMdiArea_SetOption2(QMdiArea* self, int option, bool on);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiArea_Delete(QMdiArea* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|