mirror of
https://github.com/mappu/miqt.git
synced 2025-02-01 19:10:21 +00:00
273 lines
15 KiB
C++
273 lines
15 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_GEN_QMAINWINDOW_H
|
|
#define MIQT_QT_GEN_QMAINWINDOW_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QActionEvent;
|
|
class QChildEvent;
|
|
class QCloseEvent;
|
|
class QContextMenuEvent;
|
|
class QDockWidget;
|
|
class QDragEnterEvent;
|
|
class QDragLeaveEvent;
|
|
class QDragMoveEvent;
|
|
class QDropEvent;
|
|
class QEvent;
|
|
class QFocusEvent;
|
|
class QHideEvent;
|
|
class QInputMethodEvent;
|
|
class QKeyEvent;
|
|
class QMainWindow;
|
|
class QMenu;
|
|
class QMenuBar;
|
|
class QMetaMethod;
|
|
class QMetaObject;
|
|
class QMouseEvent;
|
|
class QMoveEvent;
|
|
class QObject;
|
|
class QPaintDevice;
|
|
class QPaintEngine;
|
|
class QPaintEvent;
|
|
class QPainter;
|
|
class QPoint;
|
|
class QResizeEvent;
|
|
class QShowEvent;
|
|
class QSize;
|
|
class QStatusBar;
|
|
class QTabletEvent;
|
|
class QTimerEvent;
|
|
class QToolBar;
|
|
class QVariant;
|
|
class QWheelEvent;
|
|
class QWidget;
|
|
#else
|
|
typedef struct QActionEvent QActionEvent;
|
|
typedef struct QChildEvent QChildEvent;
|
|
typedef struct QCloseEvent QCloseEvent;
|
|
typedef struct QContextMenuEvent QContextMenuEvent;
|
|
typedef struct QDockWidget QDockWidget;
|
|
typedef struct QDragEnterEvent QDragEnterEvent;
|
|
typedef struct QDragLeaveEvent QDragLeaveEvent;
|
|
typedef struct QDragMoveEvent QDragMoveEvent;
|
|
typedef struct QDropEvent QDropEvent;
|
|
typedef struct QEvent QEvent;
|
|
typedef struct QFocusEvent QFocusEvent;
|
|
typedef struct QHideEvent QHideEvent;
|
|
typedef struct QInputMethodEvent QInputMethodEvent;
|
|
typedef struct QKeyEvent QKeyEvent;
|
|
typedef struct QMainWindow QMainWindow;
|
|
typedef struct QMenu QMenu;
|
|
typedef struct QMenuBar QMenuBar;
|
|
typedef struct QMetaMethod QMetaMethod;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QMouseEvent QMouseEvent;
|
|
typedef struct QMoveEvent QMoveEvent;
|
|
typedef struct QObject QObject;
|
|
typedef struct QPaintDevice QPaintDevice;
|
|
typedef struct QPaintEngine QPaintEngine;
|
|
typedef struct QPaintEvent QPaintEvent;
|
|
typedef struct QPainter QPainter;
|
|
typedef struct QPoint QPoint;
|
|
typedef struct QResizeEvent QResizeEvent;
|
|
typedef struct QShowEvent QShowEvent;
|
|
typedef struct QSize QSize;
|
|
typedef struct QStatusBar QStatusBar;
|
|
typedef struct QTabletEvent QTabletEvent;
|
|
typedef struct QTimerEvent QTimerEvent;
|
|
typedef struct QToolBar QToolBar;
|
|
typedef struct QVariant QVariant;
|
|
typedef struct QWheelEvent QWheelEvent;
|
|
typedef struct QWidget QWidget;
|
|
#endif
|
|
|
|
QMainWindow* QMainWindow_new(QWidget* parent);
|
|
QMainWindow* QMainWindow_new2();
|
|
QMainWindow* QMainWindow_new3(QWidget* parent, int flags);
|
|
void QMainWindow_virtbase(QMainWindow* src, QWidget** outptr_QWidget);
|
|
QMetaObject* QMainWindow_metaObject(const QMainWindow* self);
|
|
void* QMainWindow_metacast(QMainWindow* self, const char* param1);
|
|
struct miqt_string QMainWindow_tr(const char* s);
|
|
struct miqt_string QMainWindow_trUtf8(const char* s);
|
|
QSize* QMainWindow_iconSize(const QMainWindow* self);
|
|
void QMainWindow_setIconSize(QMainWindow* self, QSize* iconSize);
|
|
int QMainWindow_toolButtonStyle(const QMainWindow* self);
|
|
void QMainWindow_setToolButtonStyle(QMainWindow* self, int toolButtonStyle);
|
|
bool QMainWindow_isAnimated(const QMainWindow* self);
|
|
bool QMainWindow_isDockNestingEnabled(const QMainWindow* self);
|
|
bool QMainWindow_documentMode(const QMainWindow* self);
|
|
void QMainWindow_setDocumentMode(QMainWindow* self, bool enabled);
|
|
int QMainWindow_tabShape(const QMainWindow* self);
|
|
void QMainWindow_setTabShape(QMainWindow* self, int tabShape);
|
|
int QMainWindow_tabPosition(const QMainWindow* self, int area);
|
|
void QMainWindow_setTabPosition(QMainWindow* self, int areas, int tabPosition);
|
|
void QMainWindow_setDockOptions(QMainWindow* self, int options);
|
|
int QMainWindow_dockOptions(const QMainWindow* self);
|
|
bool QMainWindow_isSeparator(const QMainWindow* self, QPoint* pos);
|
|
QMenuBar* QMainWindow_menuBar(const QMainWindow* self);
|
|
void QMainWindow_setMenuBar(QMainWindow* self, QMenuBar* menubar);
|
|
QWidget* QMainWindow_menuWidget(const QMainWindow* self);
|
|
void QMainWindow_setMenuWidget(QMainWindow* self, QWidget* menubar);
|
|
QStatusBar* QMainWindow_statusBar(const QMainWindow* self);
|
|
void QMainWindow_setStatusBar(QMainWindow* self, QStatusBar* statusbar);
|
|
QWidget* QMainWindow_centralWidget(const QMainWindow* self);
|
|
void QMainWindow_setCentralWidget(QMainWindow* self, QWidget* widget);
|
|
QWidget* QMainWindow_takeCentralWidget(QMainWindow* self);
|
|
void QMainWindow_setCorner(QMainWindow* self, int corner, int area);
|
|
int QMainWindow_corner(const QMainWindow* self, int corner);
|
|
void QMainWindow_addToolBarBreak(QMainWindow* self);
|
|
void QMainWindow_insertToolBarBreak(QMainWindow* self, QToolBar* before);
|
|
void QMainWindow_addToolBar(QMainWindow* self, int area, QToolBar* toolbar);
|
|
void QMainWindow_addToolBarWithToolbar(QMainWindow* self, QToolBar* toolbar);
|
|
QToolBar* QMainWindow_addToolBarWithTitle(QMainWindow* self, struct miqt_string title);
|
|
void QMainWindow_insertToolBar(QMainWindow* self, QToolBar* before, QToolBar* toolbar);
|
|
void QMainWindow_removeToolBar(QMainWindow* self, QToolBar* toolbar);
|
|
void QMainWindow_removeToolBarBreak(QMainWindow* self, QToolBar* before);
|
|
bool QMainWindow_unifiedTitleAndToolBarOnMac(const QMainWindow* self);
|
|
int QMainWindow_toolBarArea(const QMainWindow* self, QToolBar* toolbar);
|
|
bool QMainWindow_toolBarBreak(const QMainWindow* self, QToolBar* toolbar);
|
|
void QMainWindow_addDockWidget(QMainWindow* self, int area, QDockWidget* dockwidget);
|
|
void QMainWindow_addDockWidget2(QMainWindow* self, int area, QDockWidget* dockwidget, int orientation);
|
|
void QMainWindow_splitDockWidget(QMainWindow* self, QDockWidget* after, QDockWidget* dockwidget, int orientation);
|
|
void QMainWindow_tabifyDockWidget(QMainWindow* self, QDockWidget* first, QDockWidget* second);
|
|
struct miqt_array /* of QDockWidget* */ QMainWindow_tabifiedDockWidgets(const QMainWindow* self, QDockWidget* dockwidget);
|
|
void QMainWindow_removeDockWidget(QMainWindow* self, QDockWidget* dockwidget);
|
|
bool QMainWindow_restoreDockWidget(QMainWindow* self, QDockWidget* dockwidget);
|
|
int QMainWindow_dockWidgetArea(const QMainWindow* self, QDockWidget* dockwidget);
|
|
void QMainWindow_resizeDocks(QMainWindow* self, struct miqt_array /* of QDockWidget* */ docks, struct miqt_array /* of int */ sizes, int orientation);
|
|
struct miqt_string QMainWindow_saveState(const QMainWindow* self);
|
|
bool QMainWindow_restoreState(QMainWindow* self, struct miqt_string state);
|
|
QMenu* QMainWindow_createPopupMenu(QMainWindow* self);
|
|
void QMainWindow_setAnimated(QMainWindow* self, bool enabled);
|
|
void QMainWindow_setDockNestingEnabled(QMainWindow* self, bool enabled);
|
|
void QMainWindow_setUnifiedTitleAndToolBarOnMac(QMainWindow* self, bool set);
|
|
void QMainWindow_iconSizeChanged(QMainWindow* self, QSize* iconSize);
|
|
void QMainWindow_connect_iconSizeChanged(QMainWindow* self, intptr_t slot);
|
|
void QMainWindow_toolButtonStyleChanged(QMainWindow* self, int toolButtonStyle);
|
|
void QMainWindow_connect_toolButtonStyleChanged(QMainWindow* self, intptr_t slot);
|
|
void QMainWindow_tabifiedDockWidgetActivated(QMainWindow* self, QDockWidget* dockWidget);
|
|
void QMainWindow_connect_tabifiedDockWidgetActivated(QMainWindow* self, intptr_t slot);
|
|
void QMainWindow_contextMenuEvent(QMainWindow* self, QContextMenuEvent* event);
|
|
bool QMainWindow_event(QMainWindow* self, QEvent* event);
|
|
struct miqt_string QMainWindow_tr2(const char* s, const char* c);
|
|
struct miqt_string QMainWindow_tr3(const char* s, const char* c, int n);
|
|
struct miqt_string QMainWindow_trUtf82(const char* s, const char* c);
|
|
struct miqt_string QMainWindow_trUtf83(const char* s, const char* c, int n);
|
|
void QMainWindow_addToolBarBreak1(QMainWindow* self, int area);
|
|
struct miqt_string QMainWindow_saveState1(const QMainWindow* self, int version);
|
|
bool QMainWindow_restoreState2(QMainWindow* self, struct miqt_string state, int version);
|
|
bool QMainWindow_override_virtual_createPopupMenu(void* self, intptr_t slot);
|
|
QMenu* QMainWindow_virtualbase_createPopupMenu(void* self);
|
|
bool QMainWindow_override_virtual_contextMenuEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_contextMenuEvent(void* self, QContextMenuEvent* event);
|
|
bool QMainWindow_override_virtual_event(void* self, intptr_t slot);
|
|
bool QMainWindow_virtualbase_event(void* self, QEvent* event);
|
|
bool QMainWindow_override_virtual_devType(void* self, intptr_t slot);
|
|
int QMainWindow_virtualbase_devType(const void* self);
|
|
bool QMainWindow_override_virtual_setVisible(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_setVisible(void* self, bool visible);
|
|
bool QMainWindow_override_virtual_sizeHint(void* self, intptr_t slot);
|
|
QSize* QMainWindow_virtualbase_sizeHint(const void* self);
|
|
bool QMainWindow_override_virtual_minimumSizeHint(void* self, intptr_t slot);
|
|
QSize* QMainWindow_virtualbase_minimumSizeHint(const void* self);
|
|
bool QMainWindow_override_virtual_heightForWidth(void* self, intptr_t slot);
|
|
int QMainWindow_virtualbase_heightForWidth(const void* self, int param1);
|
|
bool QMainWindow_override_virtual_hasHeightForWidth(void* self, intptr_t slot);
|
|
bool QMainWindow_virtualbase_hasHeightForWidth(const void* self);
|
|
bool QMainWindow_override_virtual_paintEngine(void* self, intptr_t slot);
|
|
QPaintEngine* QMainWindow_virtualbase_paintEngine(const void* self);
|
|
bool QMainWindow_override_virtual_mousePressEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_mousePressEvent(void* self, QMouseEvent* event);
|
|
bool QMainWindow_override_virtual_mouseReleaseEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_mouseReleaseEvent(void* self, QMouseEvent* event);
|
|
bool QMainWindow_override_virtual_mouseDoubleClickEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_mouseDoubleClickEvent(void* self, QMouseEvent* event);
|
|
bool QMainWindow_override_virtual_mouseMoveEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_mouseMoveEvent(void* self, QMouseEvent* event);
|
|
bool QMainWindow_override_virtual_wheelEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_wheelEvent(void* self, QWheelEvent* event);
|
|
bool QMainWindow_override_virtual_keyPressEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_keyPressEvent(void* self, QKeyEvent* event);
|
|
bool QMainWindow_override_virtual_keyReleaseEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_keyReleaseEvent(void* self, QKeyEvent* event);
|
|
bool QMainWindow_override_virtual_focusInEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_focusInEvent(void* self, QFocusEvent* event);
|
|
bool QMainWindow_override_virtual_focusOutEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_focusOutEvent(void* self, QFocusEvent* event);
|
|
bool QMainWindow_override_virtual_enterEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_enterEvent(void* self, QEvent* event);
|
|
bool QMainWindow_override_virtual_leaveEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_leaveEvent(void* self, QEvent* event);
|
|
bool QMainWindow_override_virtual_paintEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_paintEvent(void* self, QPaintEvent* event);
|
|
bool QMainWindow_override_virtual_moveEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_moveEvent(void* self, QMoveEvent* event);
|
|
bool QMainWindow_override_virtual_resizeEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_resizeEvent(void* self, QResizeEvent* event);
|
|
bool QMainWindow_override_virtual_closeEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_closeEvent(void* self, QCloseEvent* event);
|
|
bool QMainWindow_override_virtual_tabletEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_tabletEvent(void* self, QTabletEvent* event);
|
|
bool QMainWindow_override_virtual_actionEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_actionEvent(void* self, QActionEvent* event);
|
|
bool QMainWindow_override_virtual_dragEnterEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_dragEnterEvent(void* self, QDragEnterEvent* event);
|
|
bool QMainWindow_override_virtual_dragMoveEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_dragMoveEvent(void* self, QDragMoveEvent* event);
|
|
bool QMainWindow_override_virtual_dragLeaveEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_dragLeaveEvent(void* self, QDragLeaveEvent* event);
|
|
bool QMainWindow_override_virtual_dropEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_dropEvent(void* self, QDropEvent* event);
|
|
bool QMainWindow_override_virtual_showEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_showEvent(void* self, QShowEvent* event);
|
|
bool QMainWindow_override_virtual_hideEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_hideEvent(void* self, QHideEvent* event);
|
|
bool QMainWindow_override_virtual_nativeEvent(void* self, intptr_t slot);
|
|
bool QMainWindow_virtualbase_nativeEvent(void* self, struct miqt_string eventType, void* message, long* result);
|
|
bool QMainWindow_override_virtual_changeEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_changeEvent(void* self, QEvent* param1);
|
|
bool QMainWindow_override_virtual_metric(void* self, intptr_t slot);
|
|
int QMainWindow_virtualbase_metric(const void* self, int param1);
|
|
bool QMainWindow_override_virtual_initPainter(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_initPainter(const void* self, QPainter* painter);
|
|
bool QMainWindow_override_virtual_redirected(void* self, intptr_t slot);
|
|
QPaintDevice* QMainWindow_virtualbase_redirected(const void* self, QPoint* offset);
|
|
bool QMainWindow_override_virtual_sharedPainter(void* self, intptr_t slot);
|
|
QPainter* QMainWindow_virtualbase_sharedPainter(const void* self);
|
|
bool QMainWindow_override_virtual_inputMethodEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_inputMethodEvent(void* self, QInputMethodEvent* param1);
|
|
bool QMainWindow_override_virtual_inputMethodQuery(void* self, intptr_t slot);
|
|
QVariant* QMainWindow_virtualbase_inputMethodQuery(const void* self, int param1);
|
|
bool QMainWindow_override_virtual_focusNextPrevChild(void* self, intptr_t slot);
|
|
bool QMainWindow_virtualbase_focusNextPrevChild(void* self, bool next);
|
|
bool QMainWindow_override_virtual_eventFilter(void* self, intptr_t slot);
|
|
bool QMainWindow_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
|
|
bool QMainWindow_override_virtual_timerEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_timerEvent(void* self, QTimerEvent* event);
|
|
bool QMainWindow_override_virtual_childEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_childEvent(void* self, QChildEvent* event);
|
|
bool QMainWindow_override_virtual_customEvent(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_customEvent(void* self, QEvent* event);
|
|
bool QMainWindow_override_virtual_connectNotify(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_connectNotify(void* self, QMetaMethod* signal);
|
|
bool QMainWindow_override_virtual_disconnectNotify(void* self, intptr_t slot);
|
|
void QMainWindow_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
|
|
void QMainWindow_delete(QMainWindow* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|