mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
212 lines
9.3 KiB
C++
212 lines
9.3 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"
|
|
|
|
#include "binding.h"
|
|
|
|
#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_Metacast(QWindow* self, const char* param1);
|
|
struct miqt_string* QWindow_Tr(const char* s);
|
|
struct miqt_string* QWindow_TrUtf8(const char* s);
|
|
void QWindow_SetSurfaceType(QWindow* self, int surfaceType);
|
|
int QWindow_SurfaceType(const QWindow* self);
|
|
bool QWindow_IsVisible(const QWindow* self);
|
|
int QWindow_Visibility(const QWindow* self);
|
|
void QWindow_SetVisibility(QWindow* self, int v);
|
|
void QWindow_Create(QWindow* self);
|
|
uintptr_t QWindow_WinId(const QWindow* self);
|
|
QWindow* QWindow_Parent(const QWindow* self, int 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);
|
|
int QWindow_Modality(const QWindow* self);
|
|
void QWindow_SetModality(QWindow* self, int 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, int param1);
|
|
int QWindow_Type(const QWindow* self);
|
|
struct miqt_string* QWindow_Title(const QWindow* self);
|
|
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, int orientation);
|
|
int QWindow_ContentOrientation(const QWindow* self);
|
|
double QWindow_DevicePixelRatio(const QWindow* self);
|
|
int QWindow_WindowState(const QWindow* self);
|
|
int QWindow_WindowStates(const QWindow* self);
|
|
void QWindow_SetWindowState(QWindow* self, int 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, struct miqt_string* filePath);
|
|
struct miqt_string* QWindow_FilePath(const QWindow* self);
|
|
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, struct miqt_string* title);
|
|
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, int modality);
|
|
void QWindow_connect_ModalityChanged(QWindow* self, void* slot);
|
|
void QWindow_WindowStateChanged(QWindow* self, int windowState);
|
|
void QWindow_connect_WindowStateChanged(QWindow* self, void* slot);
|
|
void QWindow_WindowTitleChanged(QWindow* self, struct miqt_string* title);
|
|
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, int 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, int 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);
|
|
struct miqt_string* QWindow_Tr2(const char* s, const char* c);
|
|
struct miqt_string* QWindow_Tr3(const char* s, const char* c, int n);
|
|
struct miqt_string* QWindow_TrUtf82(const char* s, const char* c);
|
|
struct miqt_string* QWindow_TrUtf83(const char* s, const char* c, int n);
|
|
void QWindow_SetFlag2(QWindow* self, int param1, bool on);
|
|
bool QWindow_IsAncestorOf2(const QWindow* self, QWindow* child, int mode);
|
|
void QWindow_Delete(QWindow* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|