miqt/qt6/gen_qscrollarea.h

137 lines
6.9 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QSCROLLAREA_H
#define MIQT_QT6_GEN_QSCROLLAREA_H
2024-10-20 05:21:03 +00:00
#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
2024-11-19 06:29:06 +00:00
class QAbstractScrollArea;
class QContextMenuEvent;
class QDragEnterEvent;
class QDragLeaveEvent;
class QDragMoveEvent;
class QDropEvent;
class QEvent;
class QFrame;
class QKeyEvent;
2024-10-20 05:21:03 +00:00
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QMouseEvent;
class QObject;
class QPaintDevice;
class QPaintEvent;
class QResizeEvent;
2024-10-20 05:21:03 +00:00
class QScrollArea;
class QSize;
2024-11-19 06:29:06 +00:00
class QWheelEvent;
2024-10-20 05:21:03 +00:00
class QWidget;
#else
2024-11-19 06:29:06 +00:00
typedef struct QAbstractScrollArea QAbstractScrollArea;
typedef struct QContextMenuEvent QContextMenuEvent;
typedef struct QDragEnterEvent QDragEnterEvent;
typedef struct QDragLeaveEvent QDragLeaveEvent;
typedef struct QDragMoveEvent QDragMoveEvent;
typedef struct QDropEvent QDropEvent;
typedef struct QEvent QEvent;
typedef struct QFrame QFrame;
typedef struct QKeyEvent QKeyEvent;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QMouseEvent QMouseEvent;
typedef struct QObject QObject;
typedef struct QPaintDevice QPaintDevice;
typedef struct QPaintEvent QPaintEvent;
typedef struct QResizeEvent QResizeEvent;
2024-10-20 05:21:03 +00:00
typedef struct QScrollArea QScrollArea;
typedef struct QSize QSize;
2024-11-19 06:29:06 +00:00
typedef struct QWheelEvent QWheelEvent;
2024-10-20 05:21:03 +00:00
typedef struct QWidget QWidget;
#endif
2024-11-19 06:29:06 +00:00
void QScrollArea_new(QWidget* parent, QScrollArea** outptr_QScrollArea, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
void QScrollArea_new2(QScrollArea** outptr_QScrollArea, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice);
2024-10-20 05:21:03 +00:00
QMetaObject* QScrollArea_MetaObject(const QScrollArea* self);
void* QScrollArea_Metacast(QScrollArea* self, const char* param1);
struct miqt_string QScrollArea_Tr(const char* s);
QWidget* QScrollArea_Widget(const QScrollArea* self);
void QScrollArea_SetWidget(QScrollArea* self, QWidget* widget);
QWidget* QScrollArea_TakeWidget(QScrollArea* self);
bool QScrollArea_WidgetResizable(const QScrollArea* self);
void QScrollArea_SetWidgetResizable(QScrollArea* self, bool resizable);
QSize* QScrollArea_SizeHint(const QScrollArea* self);
bool QScrollArea_FocusNextPrevChild(QScrollArea* self, bool next);
int QScrollArea_Alignment(const QScrollArea* self);
void QScrollArea_SetAlignment(QScrollArea* self, int alignment);
void QScrollArea_EnsureVisible(QScrollArea* self, int x, int y);
void QScrollArea_EnsureWidgetVisible(QScrollArea* self, QWidget* childWidget);
2024-11-19 06:29:06 +00:00
bool QScrollArea_Event(QScrollArea* self, QEvent* param1);
bool QScrollArea_EventFilter(QScrollArea* self, QObject* param1, QEvent* param2);
void QScrollArea_ResizeEvent(QScrollArea* self, QResizeEvent* param1);
void QScrollArea_ScrollContentsBy(QScrollArea* self, int dx, int dy);
QSize* QScrollArea_ViewportSizeHint(const QScrollArea* self);
2024-10-20 05:21:03 +00:00
struct miqt_string QScrollArea_Tr2(const char* s, const char* c);
struct miqt_string QScrollArea_Tr3(const char* s, const char* c, int n);
void QScrollArea_EnsureVisible3(QScrollArea* self, int x, int y, int xmargin);
void QScrollArea_EnsureVisible4(QScrollArea* self, int x, int y, int xmargin, int ymargin);
void QScrollArea_EnsureWidgetVisible2(QScrollArea* self, QWidget* childWidget, int xmargin);
void QScrollArea_EnsureWidgetVisible3(QScrollArea* self, QWidget* childWidget, int xmargin, int ymargin);
2024-11-19 06:29:06 +00:00
void QScrollArea_override_virtual_SizeHint(void* self, intptr_t slot);
QSize* QScrollArea_virtualbase_SizeHint(const void* self);
void QScrollArea_override_virtual_FocusNextPrevChild(void* self, intptr_t slot);
bool QScrollArea_virtualbase_FocusNextPrevChild(void* self, bool next);
void QScrollArea_override_virtual_Event(void* self, intptr_t slot);
bool QScrollArea_virtualbase_Event(void* self, QEvent* param1);
void QScrollArea_override_virtual_EventFilter(void* self, intptr_t slot);
bool QScrollArea_virtualbase_EventFilter(void* self, QObject* param1, QEvent* param2);
void QScrollArea_override_virtual_ResizeEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_ResizeEvent(void* self, QResizeEvent* param1);
void QScrollArea_override_virtual_ScrollContentsBy(void* self, intptr_t slot);
void QScrollArea_virtualbase_ScrollContentsBy(void* self, int dx, int dy);
void QScrollArea_override_virtual_ViewportSizeHint(void* self, intptr_t slot);
QSize* QScrollArea_virtualbase_ViewportSizeHint(const void* self);
void QScrollArea_override_virtual_MinimumSizeHint(void* self, intptr_t slot);
QSize* QScrollArea_virtualbase_MinimumSizeHint(const void* self);
void QScrollArea_override_virtual_SetupViewport(void* self, intptr_t slot);
void QScrollArea_virtualbase_SetupViewport(void* self, QWidget* viewport);
void QScrollArea_override_virtual_ViewportEvent(void* self, intptr_t slot);
bool QScrollArea_virtualbase_ViewportEvent(void* self, QEvent* param1);
void QScrollArea_override_virtual_PaintEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_PaintEvent(void* self, QPaintEvent* param1);
void QScrollArea_override_virtual_MousePressEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_MousePressEvent(void* self, QMouseEvent* param1);
void QScrollArea_override_virtual_MouseReleaseEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_MouseReleaseEvent(void* self, QMouseEvent* param1);
void QScrollArea_override_virtual_MouseDoubleClickEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_MouseDoubleClickEvent(void* self, QMouseEvent* param1);
void QScrollArea_override_virtual_MouseMoveEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_MouseMoveEvent(void* self, QMouseEvent* param1);
void QScrollArea_override_virtual_WheelEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_WheelEvent(void* self, QWheelEvent* param1);
void QScrollArea_override_virtual_ContextMenuEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_ContextMenuEvent(void* self, QContextMenuEvent* param1);
void QScrollArea_override_virtual_DragEnterEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_DragEnterEvent(void* self, QDragEnterEvent* param1);
void QScrollArea_override_virtual_DragMoveEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_DragMoveEvent(void* self, QDragMoveEvent* param1);
void QScrollArea_override_virtual_DragLeaveEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_DragLeaveEvent(void* self, QDragLeaveEvent* param1);
void QScrollArea_override_virtual_DropEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_DropEvent(void* self, QDropEvent* param1);
void QScrollArea_override_virtual_KeyPressEvent(void* self, intptr_t slot);
void QScrollArea_virtualbase_KeyPressEvent(void* self, QKeyEvent* param1);
void QScrollArea_Delete(QScrollArea* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif