2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QMDISUBWINDOW_H
|
|
|
|
#define GEN_QMDISUBWINDOW_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 QMdiArea;
|
|
|
|
class QMdiSubWindow;
|
|
|
|
class QMenu;
|
|
|
|
class QMetaObject;
|
|
|
|
class QSize;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QMdiArea QMdiArea;
|
|
|
|
typedef struct QMdiSubWindow QMdiSubWindow;
|
|
|
|
typedef struct QMenu QMenu;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QMdiSubWindow* QMdiSubWindow_new();
|
|
|
|
QMdiSubWindow* QMdiSubWindow_new2(QWidget* parent);
|
|
|
|
QMdiSubWindow* QMdiSubWindow_new3(QWidget* parent, int flags);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QMdiSubWindow_MetaObject(const QMdiSubWindow* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMdiSubWindow_Tr(const char* s);
|
|
|
|
struct miqt_string* QMdiSubWindow_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QMdiSubWindow_SizeHint(const QMdiSubWindow* self);
|
|
|
|
QSize* QMdiSubWindow_MinimumSizeHint(const QMdiSubWindow* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiSubWindow_SetWidget(QMdiSubWindow* self, QWidget* widget);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QMdiSubWindow_Widget(const QMdiSubWindow* self);
|
|
|
|
QWidget* QMdiSubWindow_MaximizedButtonsWidget(const QMdiSubWindow* self);
|
|
|
|
QWidget* QMdiSubWindow_MaximizedSystemMenuIconWidget(const QMdiSubWindow* self);
|
|
|
|
bool QMdiSubWindow_IsShaded(const QMdiSubWindow* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMdiSubWindow_SetOption(QMdiSubWindow* self, uintptr_t option);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QMdiSubWindow_TestOption(const QMdiSubWindow* self, uintptr_t param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiSubWindow_SetKeyboardSingleStep(QMdiSubWindow* self, int step);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QMdiSubWindow_KeyboardSingleStep(const QMdiSubWindow* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiSubWindow_SetKeyboardPageStep(QMdiSubWindow* self, int step);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QMdiSubWindow_KeyboardPageStep(const QMdiSubWindow* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiSubWindow_SetSystemMenu(QMdiSubWindow* self, QMenu* systemMenu);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMenu* QMdiSubWindow_SystemMenu(const QMdiSubWindow* self);
|
|
|
|
QMdiArea* QMdiSubWindow_MdiArea(const QMdiSubWindow* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMdiSubWindow_WindowStateChanged(QMdiSubWindow* self, int oldState, int newState);
|
|
|
|
void QMdiSubWindow_connect_WindowStateChanged(QMdiSubWindow* self, void* slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiSubWindow_AboutToActivate(QMdiSubWindow* self);
|
|
|
|
void QMdiSubWindow_connect_AboutToActivate(QMdiSubWindow* self, void* slot);
|
|
|
|
void QMdiSubWindow_ShowSystemMenu(QMdiSubWindow* self);
|
|
|
|
void QMdiSubWindow_ShowShaded(QMdiSubWindow* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QMdiSubWindow_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QMdiSubWindow_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QMdiSubWindow_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QMdiSubWindow_TrUtf83(const char* s, const char* c, int n);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QMdiSubWindow_SetOption2(QMdiSubWindow* self, uintptr_t option, bool on);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QMdiSubWindow_Delete(QMdiSubWindow* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|