mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
209 lines
9.5 KiB
C++
209 lines
9.5 KiB
C++
#ifndef GEN_QWINDOW_H
|
|
#define GEN_QWINDOW_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QAccessibleInterface;
|
|
class QCursor;
|
|
class QIcon;
|
|
class QMargins;
|
|
class QMetaObject;
|
|
class QObject;
|
|
class QPoint;
|
|
class QRect;
|
|
class QRegion;
|
|
class QScreen;
|
|
class QSize;
|
|
class QSurfaceFormat;
|
|
class QWindow;
|
|
#else
|
|
typedef struct QAccessibleInterface QAccessibleInterface;
|
|
typedef struct QCursor QCursor;
|
|
typedef struct QIcon QIcon;
|
|
typedef struct QMargins QMargins;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
typedef struct QPoint QPoint;
|
|
typedef struct QRect QRect;
|
|
typedef struct QRegion QRegion;
|
|
typedef struct QScreen QScreen;
|
|
typedef struct QSize QSize;
|
|
typedef struct QSurfaceFormat QSurfaceFormat;
|
|
typedef struct QWindow QWindow;
|
|
#endif
|
|
|
|
QWindow* QWindow_new();
|
|
QWindow* QWindow_new2(QWindow* parent);
|
|
QWindow* QWindow_new3(QScreen* screen);
|
|
QMetaObject* QWindow_MetaObject(const QWindow* self);
|
|
void QWindow_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
void QWindow_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
|
void QWindow_SetSurfaceType(QWindow* self, uintptr_t surfaceType);
|
|
uintptr_t QWindow_SurfaceType(const QWindow* self);
|
|
bool QWindow_IsVisible(const QWindow* self);
|
|
uintptr_t QWindow_Visibility(const QWindow* self);
|
|
void QWindow_SetVisibility(QWindow* self, uintptr_t v);
|
|
void QWindow_Create(QWindow* self);
|
|
uintptr_t QWindow_WinId(const QWindow* self);
|
|
QWindow* QWindow_Parent(const QWindow* self, uintptr_t mode);
|
|
QWindow* QWindow_Parent2(const QWindow* self);
|
|
void QWindow_SetParent(QWindow* self, QWindow* parent);
|
|
bool QWindow_IsTopLevel(const QWindow* self);
|
|
bool QWindow_IsModal(const QWindow* self);
|
|
uintptr_t QWindow_Modality(const QWindow* self);
|
|
void QWindow_SetModality(QWindow* self, uintptr_t modality);
|
|
void QWindow_SetFormat(QWindow* self, QSurfaceFormat* format);
|
|
QSurfaceFormat* QWindow_Format(const QWindow* self);
|
|
QSurfaceFormat* QWindow_RequestedFormat(const QWindow* self);
|
|
void QWindow_SetFlags(QWindow* self, int flags);
|
|
int QWindow_Flags(const QWindow* self);
|
|
void QWindow_SetFlag(QWindow* self, uintptr_t param1);
|
|
uintptr_t QWindow_Type(const QWindow* self);
|
|
void QWindow_Title(const QWindow* self, char** _out, int* _out_Strlen);
|
|
void QWindow_SetOpacity(QWindow* self, double level);
|
|
double QWindow_Opacity(const QWindow* self);
|
|
void QWindow_SetMask(QWindow* self, QRegion* region);
|
|
QRegion* QWindow_Mask(const QWindow* self);
|
|
bool QWindow_IsActive(const QWindow* self);
|
|
void QWindow_ReportContentOrientationChange(QWindow* self, uintptr_t orientation);
|
|
uintptr_t QWindow_ContentOrientation(const QWindow* self);
|
|
double QWindow_DevicePixelRatio(const QWindow* self);
|
|
uintptr_t QWindow_WindowState(const QWindow* self);
|
|
int QWindow_WindowStates(const QWindow* self);
|
|
void QWindow_SetWindowState(QWindow* self, uintptr_t state);
|
|
void QWindow_SetWindowStates(QWindow* self, int states);
|
|
void QWindow_SetTransientParent(QWindow* self, QWindow* parent);
|
|
QWindow* QWindow_TransientParent(const QWindow* self);
|
|
bool QWindow_IsAncestorOf(const QWindow* self, QWindow* child);
|
|
bool QWindow_IsExposed(const QWindow* self);
|
|
int QWindow_MinimumWidth(const QWindow* self);
|
|
int QWindow_MinimumHeight(const QWindow* self);
|
|
int QWindow_MaximumWidth(const QWindow* self);
|
|
int QWindow_MaximumHeight(const QWindow* self);
|
|
QSize* QWindow_MinimumSize(const QWindow* self);
|
|
QSize* QWindow_MaximumSize(const QWindow* self);
|
|
QSize* QWindow_BaseSize(const QWindow* self);
|
|
QSize* QWindow_SizeIncrement(const QWindow* self);
|
|
void QWindow_SetMinimumSize(QWindow* self, QSize* size);
|
|
void QWindow_SetMaximumSize(QWindow* self, QSize* size);
|
|
void QWindow_SetBaseSize(QWindow* self, QSize* size);
|
|
void QWindow_SetSizeIncrement(QWindow* self, QSize* size);
|
|
QRect* QWindow_Geometry(const QWindow* self);
|
|
QMargins* QWindow_FrameMargins(const QWindow* self);
|
|
QRect* QWindow_FrameGeometry(const QWindow* self);
|
|
QPoint* QWindow_FramePosition(const QWindow* self);
|
|
void QWindow_SetFramePosition(QWindow* self, QPoint* point);
|
|
int QWindow_Width(const QWindow* self);
|
|
int QWindow_Height(const QWindow* self);
|
|
int QWindow_X(const QWindow* self);
|
|
int QWindow_Y(const QWindow* self);
|
|
QSize* QWindow_Size(const QWindow* self);
|
|
QPoint* QWindow_Position(const QWindow* self);
|
|
void QWindow_SetPosition(QWindow* self, QPoint* pt);
|
|
void QWindow_SetPosition2(QWindow* self, int posx, int posy);
|
|
void QWindow_Resize(QWindow* self, QSize* newSize);
|
|
void QWindow_Resize2(QWindow* self, int w, int h);
|
|
void QWindow_SetFilePath(QWindow* self, const char* filePath, size_t filePath_Strlen);
|
|
void QWindow_FilePath(const QWindow* self, char** _out, int* _out_Strlen);
|
|
void QWindow_SetIcon(QWindow* self, QIcon* icon);
|
|
QIcon* QWindow_Icon(const QWindow* self);
|
|
void QWindow_Destroy(QWindow* self);
|
|
bool QWindow_SetKeyboardGrabEnabled(QWindow* self, bool grab);
|
|
bool QWindow_SetMouseGrabEnabled(QWindow* self, bool grab);
|
|
QScreen* QWindow_Screen(const QWindow* self);
|
|
void QWindow_SetScreen(QWindow* self, QScreen* screen);
|
|
QAccessibleInterface* QWindow_AccessibleRoot(const QWindow* self);
|
|
QObject* QWindow_FocusObject(const QWindow* self);
|
|
QPoint* QWindow_MapToGlobal(const QWindow* self, QPoint* pos);
|
|
QPoint* QWindow_MapFromGlobal(const QWindow* self, QPoint* pos);
|
|
QCursor* QWindow_Cursor(const QWindow* self);
|
|
void QWindow_SetCursor(QWindow* self, QCursor* cursor);
|
|
void QWindow_UnsetCursor(QWindow* self);
|
|
QWindow* QWindow_FromWinId(uintptr_t id);
|
|
void QWindow_RequestActivate(QWindow* self);
|
|
void QWindow_SetVisible(QWindow* self, bool visible);
|
|
void QWindow_Show(QWindow* self);
|
|
void QWindow_Hide(QWindow* self);
|
|
void QWindow_ShowMinimized(QWindow* self);
|
|
void QWindow_ShowMaximized(QWindow* self);
|
|
void QWindow_ShowFullScreen(QWindow* self);
|
|
void QWindow_ShowNormal(QWindow* self);
|
|
bool QWindow_Close(QWindow* self);
|
|
void QWindow_Raise(QWindow* self);
|
|
void QWindow_Lower(QWindow* self);
|
|
bool QWindow_StartSystemResize(QWindow* self, int edges);
|
|
bool QWindow_StartSystemMove(QWindow* self);
|
|
void QWindow_SetTitle(QWindow* self, const char* title, size_t title_Strlen);
|
|
void QWindow_SetX(QWindow* self, int arg);
|
|
void QWindow_SetY(QWindow* self, int arg);
|
|
void QWindow_SetWidth(QWindow* self, int arg);
|
|
void QWindow_SetHeight(QWindow* self, int arg);
|
|
void QWindow_SetGeometry(QWindow* self, int posx, int posy, int w, int h);
|
|
void QWindow_SetGeometryWithRect(QWindow* self, QRect* rect);
|
|
void QWindow_SetMinimumWidth(QWindow* self, int w);
|
|
void QWindow_SetMinimumHeight(QWindow* self, int h);
|
|
void QWindow_SetMaximumWidth(QWindow* self, int w);
|
|
void QWindow_SetMaximumHeight(QWindow* self, int h);
|
|
void QWindow_Alert(QWindow* self, int msec);
|
|
void QWindow_RequestUpdate(QWindow* self);
|
|
void QWindow_ScreenChanged(QWindow* self, QScreen* screen);
|
|
void QWindow_connect_ScreenChanged(QWindow* self, void* slot);
|
|
void QWindow_ModalityChanged(QWindow* self, uintptr_t modality);
|
|
void QWindow_connect_ModalityChanged(QWindow* self, void* slot);
|
|
void QWindow_WindowStateChanged(QWindow* self, uintptr_t windowState);
|
|
void QWindow_connect_WindowStateChanged(QWindow* self, void* slot);
|
|
void QWindow_WindowTitleChanged(QWindow* self, const char* title, size_t title_Strlen);
|
|
void QWindow_connect_WindowTitleChanged(QWindow* self, void* slot);
|
|
void QWindow_XChanged(QWindow* self, int arg);
|
|
void QWindow_connect_XChanged(QWindow* self, void* slot);
|
|
void QWindow_YChanged(QWindow* self, int arg);
|
|
void QWindow_connect_YChanged(QWindow* self, void* slot);
|
|
void QWindow_WidthChanged(QWindow* self, int arg);
|
|
void QWindow_connect_WidthChanged(QWindow* self, void* slot);
|
|
void QWindow_HeightChanged(QWindow* self, int arg);
|
|
void QWindow_connect_HeightChanged(QWindow* self, void* slot);
|
|
void QWindow_MinimumWidthChanged(QWindow* self, int arg);
|
|
void QWindow_connect_MinimumWidthChanged(QWindow* self, void* slot);
|
|
void QWindow_MinimumHeightChanged(QWindow* self, int arg);
|
|
void QWindow_connect_MinimumHeightChanged(QWindow* self, void* slot);
|
|
void QWindow_MaximumWidthChanged(QWindow* self, int arg);
|
|
void QWindow_connect_MaximumWidthChanged(QWindow* self, void* slot);
|
|
void QWindow_MaximumHeightChanged(QWindow* self, int arg);
|
|
void QWindow_connect_MaximumHeightChanged(QWindow* self, void* slot);
|
|
void QWindow_VisibleChanged(QWindow* self, bool arg);
|
|
void QWindow_connect_VisibleChanged(QWindow* self, void* slot);
|
|
void QWindow_VisibilityChanged(QWindow* self, uintptr_t visibility);
|
|
void QWindow_connect_VisibilityChanged(QWindow* self, void* slot);
|
|
void QWindow_ActiveChanged(QWindow* self);
|
|
void QWindow_connect_ActiveChanged(QWindow* self, void* slot);
|
|
void QWindow_ContentOrientationChanged(QWindow* self, uintptr_t orientation);
|
|
void QWindow_connect_ContentOrientationChanged(QWindow* self, void* slot);
|
|
void QWindow_FocusObjectChanged(QWindow* self, QObject* object);
|
|
void QWindow_connect_FocusObjectChanged(QWindow* self, void* slot);
|
|
void QWindow_OpacityChanged(QWindow* self, double opacity);
|
|
void QWindow_connect_OpacityChanged(QWindow* self, void* slot);
|
|
void QWindow_TransientParentChanged(QWindow* self, QWindow* transientParent);
|
|
void QWindow_connect_TransientParentChanged(QWindow* self, void* slot);
|
|
void QWindow_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
void QWindow_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
void QWindow_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
void QWindow_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
void QWindow_SetFlag2(QWindow* self, uintptr_t param1, bool on);
|
|
bool QWindow_IsAncestorOf2(const QWindow* self, QWindow* child, uintptr_t mode);
|
|
void QWindow_Delete(QWindow* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|