miqt/qt/gen_qgraphicssceneevent.cpp

579 lines
18 KiB
C++
Raw Normal View History

2024-11-19 19:29:06 +13:00
#include <QEvent>
#include <QGraphicsSceneContextMenuEvent>
#include <QGraphicsSceneDragDropEvent>
#include <QGraphicsSceneEvent>
#include <QGraphicsSceneHelpEvent>
#include <QGraphicsSceneHoverEvent>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneMoveEvent>
#include <QGraphicsSceneResizeEvent>
#include <QGraphicsSceneWheelEvent>
#include <QMimeData>
#include <QPoint>
#include <QPointF>
#include <QSizeF>
#include <QWidget>
#include <qgraphicssceneevent.h>
2024-08-29 19:01:51 +12:00
#include "gen_qgraphicssceneevent.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern C */
#endif
2025-02-01 13:45:16 +13:00
QGraphicsSceneEvent* QGraphicsSceneEvent_new(int type) {
return new QGraphicsSceneEvent(static_cast<QEvent::Type>(type));
2024-12-07 17:15:57 +13:00
}
void QGraphicsSceneEvent_virtbase(QGraphicsSceneEvent* src, QEvent** outptr_QEvent) {
*outptr_QEvent = static_cast<QEvent*>(src);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QWidget* QGraphicsSceneEvent_widget(const QGraphicsSceneEvent* self) {
return self->widget();
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneEvent_setWidget(QGraphicsSceneEvent* self, QWidget* widget) {
self->setWidget(widget);
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneEvent_delete(QGraphicsSceneEvent* self) {
delete self;
}
2024-12-07 17:15:57 +13:00
QGraphicsSceneMouseEvent* QGraphicsSceneMouseEvent_new() {
return new QGraphicsSceneMouseEvent();
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QGraphicsSceneMouseEvent* QGraphicsSceneMouseEvent_new2(int type) {
return new QGraphicsSceneMouseEvent(static_cast<QEvent::Type>(type));
2024-12-07 17:15:57 +13:00
}
void QGraphicsSceneMouseEvent_virtbase(QGraphicsSceneMouseEvent* src, QGraphicsSceneEvent** outptr_QGraphicsSceneEvent) {
*outptr_QGraphicsSceneEvent = static_cast<QGraphicsSceneEvent*>(src);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneMouseEvent_pos(const QGraphicsSceneMouseEvent* self) {
return new QPointF(self->pos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setPos(QGraphicsSceneMouseEvent* self, QPointF* pos) {
self->setPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneMouseEvent_scenePos(const QGraphicsSceneMouseEvent* self) {
return new QPointF(self->scenePos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setScenePos(QGraphicsSceneMouseEvent* self, QPointF* pos) {
self->setScenePos(*pos);
}
2025-02-01 13:45:16 +13:00
QPoint* QGraphicsSceneMouseEvent_screenPos(const QGraphicsSceneMouseEvent* self) {
return new QPoint(self->screenPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setScreenPos(QGraphicsSceneMouseEvent* self, QPoint* pos) {
self->setScreenPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneMouseEvent_buttonDownPos(const QGraphicsSceneMouseEvent* self, int button) {
return new QPointF(self->buttonDownPos(static_cast<Qt::MouseButton>(button)));
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setButtonDownPos(QGraphicsSceneMouseEvent* self, int button, QPointF* pos) {
2024-08-29 19:01:51 +12:00
self->setButtonDownPos(static_cast<Qt::MouseButton>(button), *pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneMouseEvent_buttonDownScenePos(const QGraphicsSceneMouseEvent* self, int button) {
return new QPointF(self->buttonDownScenePos(static_cast<Qt::MouseButton>(button)));
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setButtonDownScenePos(QGraphicsSceneMouseEvent* self, int button, QPointF* pos) {
2024-08-29 19:01:51 +12:00
self->setButtonDownScenePos(static_cast<Qt::MouseButton>(button), *pos);
}
2025-02-01 13:45:16 +13:00
QPoint* QGraphicsSceneMouseEvent_buttonDownScreenPos(const QGraphicsSceneMouseEvent* self, int button) {
return new QPoint(self->buttonDownScreenPos(static_cast<Qt::MouseButton>(button)));
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setButtonDownScreenPos(QGraphicsSceneMouseEvent* self, int button, QPoint* pos) {
2024-08-29 19:01:51 +12:00
self->setButtonDownScreenPos(static_cast<Qt::MouseButton>(button), *pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneMouseEvent_lastPos(const QGraphicsSceneMouseEvent* self) {
return new QPointF(self->lastPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setLastPos(QGraphicsSceneMouseEvent* self, QPointF* pos) {
self->setLastPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneMouseEvent_lastScenePos(const QGraphicsSceneMouseEvent* self) {
return new QPointF(self->lastScenePos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setLastScenePos(QGraphicsSceneMouseEvent* self, QPointF* pos) {
self->setLastScenePos(*pos);
}
2025-02-01 13:45:16 +13:00
QPoint* QGraphicsSceneMouseEvent_lastScreenPos(const QGraphicsSceneMouseEvent* self) {
return new QPoint(self->lastScreenPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setLastScreenPos(QGraphicsSceneMouseEvent* self, QPoint* pos) {
self->setLastScreenPos(*pos);
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneMouseEvent_buttons(const QGraphicsSceneMouseEvent* self) {
Qt::MouseButtons _ret = self->buttons();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setButtons(QGraphicsSceneMouseEvent* self, int buttons) {
2024-08-29 19:01:51 +12:00
self->setButtons(static_cast<Qt::MouseButtons>(buttons));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneMouseEvent_button(const QGraphicsSceneMouseEvent* self) {
Qt::MouseButton _ret = self->button();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setButton(QGraphicsSceneMouseEvent* self, int button) {
2024-08-29 19:01:51 +12:00
self->setButton(static_cast<Qt::MouseButton>(button));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneMouseEvent_modifiers(const QGraphicsSceneMouseEvent* self) {
Qt::KeyboardModifiers _ret = self->modifiers();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setModifiers(QGraphicsSceneMouseEvent* self, int modifiers) {
2024-08-29 19:01:51 +12:00
self->setModifiers(static_cast<Qt::KeyboardModifiers>(modifiers));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneMouseEvent_source(const QGraphicsSceneMouseEvent* self) {
Qt::MouseEventSource _ret = self->source();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setSource(QGraphicsSceneMouseEvent* self, int source) {
2024-08-29 19:01:51 +12:00
self->setSource(static_cast<Qt::MouseEventSource>(source));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneMouseEvent_flags(const QGraphicsSceneMouseEvent* self) {
Qt::MouseEventFlags _ret = self->flags();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_setFlags(QGraphicsSceneMouseEvent* self, int flags) {
2024-08-29 19:01:51 +12:00
self->setFlags(static_cast<Qt::MouseEventFlags>(flags));
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMouseEvent_delete(QGraphicsSceneMouseEvent* self) {
delete self;
}
2024-12-07 17:15:57 +13:00
QGraphicsSceneWheelEvent* QGraphicsSceneWheelEvent_new() {
return new QGraphicsSceneWheelEvent();
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QGraphicsSceneWheelEvent* QGraphicsSceneWheelEvent_new2(int type) {
return new QGraphicsSceneWheelEvent(static_cast<QEvent::Type>(type));
2024-12-07 17:15:57 +13:00
}
void QGraphicsSceneWheelEvent_virtbase(QGraphicsSceneWheelEvent* src, QGraphicsSceneEvent** outptr_QGraphicsSceneEvent) {
*outptr_QGraphicsSceneEvent = static_cast<QGraphicsSceneEvent*>(src);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneWheelEvent_pos(const QGraphicsSceneWheelEvent* self) {
return new QPointF(self->pos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneWheelEvent_setPos(QGraphicsSceneWheelEvent* self, QPointF* pos) {
self->setPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneWheelEvent_scenePos(const QGraphicsSceneWheelEvent* self) {
return new QPointF(self->scenePos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneWheelEvent_setScenePos(QGraphicsSceneWheelEvent* self, QPointF* pos) {
self->setScenePos(*pos);
}
2025-02-01 13:45:16 +13:00
QPoint* QGraphicsSceneWheelEvent_screenPos(const QGraphicsSceneWheelEvent* self) {
return new QPoint(self->screenPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneWheelEvent_setScreenPos(QGraphicsSceneWheelEvent* self, QPoint* pos) {
self->setScreenPos(*pos);
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneWheelEvent_buttons(const QGraphicsSceneWheelEvent* self) {
Qt::MouseButtons _ret = self->buttons();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneWheelEvent_setButtons(QGraphicsSceneWheelEvent* self, int buttons) {
2024-08-29 19:01:51 +12:00
self->setButtons(static_cast<Qt::MouseButtons>(buttons));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneWheelEvent_modifiers(const QGraphicsSceneWheelEvent* self) {
Qt::KeyboardModifiers _ret = self->modifiers();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneWheelEvent_setModifiers(QGraphicsSceneWheelEvent* self, int modifiers) {
2024-08-29 19:01:51 +12:00
self->setModifiers(static_cast<Qt::KeyboardModifiers>(modifiers));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneWheelEvent_delta(const QGraphicsSceneWheelEvent* self) {
return self->delta();
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneWheelEvent_setDelta(QGraphicsSceneWheelEvent* self, int delta) {
self->setDelta(static_cast<int>(delta));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneWheelEvent_orientation(const QGraphicsSceneWheelEvent* self) {
Qt::Orientation _ret = self->orientation();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneWheelEvent_setOrientation(QGraphicsSceneWheelEvent* self, int orientation) {
2024-08-29 19:01:51 +12:00
self->setOrientation(static_cast<Qt::Orientation>(orientation));
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneWheelEvent_delete(QGraphicsSceneWheelEvent* self) {
delete self;
}
2024-12-07 17:15:57 +13:00
QGraphicsSceneContextMenuEvent* QGraphicsSceneContextMenuEvent_new() {
return new QGraphicsSceneContextMenuEvent();
}
2025-02-01 13:45:16 +13:00
QGraphicsSceneContextMenuEvent* QGraphicsSceneContextMenuEvent_new2(int type) {
return new QGraphicsSceneContextMenuEvent(static_cast<QEvent::Type>(type));
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QGraphicsSceneContextMenuEvent_virtbase(QGraphicsSceneContextMenuEvent* src, QGraphicsSceneEvent** outptr_QGraphicsSceneEvent) {
*outptr_QGraphicsSceneEvent = static_cast<QGraphicsSceneEvent*>(src);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneContextMenuEvent_pos(const QGraphicsSceneContextMenuEvent* self) {
return new QPointF(self->pos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneContextMenuEvent_setPos(QGraphicsSceneContextMenuEvent* self, QPointF* pos) {
self->setPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneContextMenuEvent_scenePos(const QGraphicsSceneContextMenuEvent* self) {
return new QPointF(self->scenePos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneContextMenuEvent_setScenePos(QGraphicsSceneContextMenuEvent* self, QPointF* pos) {
self->setScenePos(*pos);
}
2025-02-01 13:45:16 +13:00
QPoint* QGraphicsSceneContextMenuEvent_screenPos(const QGraphicsSceneContextMenuEvent* self) {
return new QPoint(self->screenPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneContextMenuEvent_setScreenPos(QGraphicsSceneContextMenuEvent* self, QPoint* pos) {
self->setScreenPos(*pos);
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneContextMenuEvent_modifiers(const QGraphicsSceneContextMenuEvent* self) {
Qt::KeyboardModifiers _ret = self->modifiers();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneContextMenuEvent_setModifiers(QGraphicsSceneContextMenuEvent* self, int modifiers) {
2024-08-29 19:01:51 +12:00
self->setModifiers(static_cast<Qt::KeyboardModifiers>(modifiers));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneContextMenuEvent_reason(const QGraphicsSceneContextMenuEvent* self) {
QGraphicsSceneContextMenuEvent::Reason _ret = self->reason();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneContextMenuEvent_setReason(QGraphicsSceneContextMenuEvent* self, int reason) {
2024-08-29 19:01:51 +12:00
self->setReason(static_cast<QGraphicsSceneContextMenuEvent::Reason>(reason));
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneContextMenuEvent_delete(QGraphicsSceneContextMenuEvent* self) {
delete self;
}
2024-12-07 17:15:57 +13:00
QGraphicsSceneHoverEvent* QGraphicsSceneHoverEvent_new() {
return new QGraphicsSceneHoverEvent();
}
2025-02-01 13:45:16 +13:00
QGraphicsSceneHoverEvent* QGraphicsSceneHoverEvent_new2(int type) {
return new QGraphicsSceneHoverEvent(static_cast<QEvent::Type>(type));
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QGraphicsSceneHoverEvent_virtbase(QGraphicsSceneHoverEvent* src, QGraphicsSceneEvent** outptr_QGraphicsSceneEvent) {
*outptr_QGraphicsSceneEvent = static_cast<QGraphicsSceneEvent*>(src);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneHoverEvent_pos(const QGraphicsSceneHoverEvent* self) {
return new QPointF(self->pos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHoverEvent_setPos(QGraphicsSceneHoverEvent* self, QPointF* pos) {
self->setPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneHoverEvent_scenePos(const QGraphicsSceneHoverEvent* self) {
return new QPointF(self->scenePos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHoverEvent_setScenePos(QGraphicsSceneHoverEvent* self, QPointF* pos) {
self->setScenePos(*pos);
}
2025-02-01 13:45:16 +13:00
QPoint* QGraphicsSceneHoverEvent_screenPos(const QGraphicsSceneHoverEvent* self) {
return new QPoint(self->screenPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHoverEvent_setScreenPos(QGraphicsSceneHoverEvent* self, QPoint* pos) {
self->setScreenPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneHoverEvent_lastPos(const QGraphicsSceneHoverEvent* self) {
return new QPointF(self->lastPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHoverEvent_setLastPos(QGraphicsSceneHoverEvent* self, QPointF* pos) {
self->setLastPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneHoverEvent_lastScenePos(const QGraphicsSceneHoverEvent* self) {
return new QPointF(self->lastScenePos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHoverEvent_setLastScenePos(QGraphicsSceneHoverEvent* self, QPointF* pos) {
self->setLastScenePos(*pos);
}
2025-02-01 13:45:16 +13:00
QPoint* QGraphicsSceneHoverEvent_lastScreenPos(const QGraphicsSceneHoverEvent* self) {
return new QPoint(self->lastScreenPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHoverEvent_setLastScreenPos(QGraphicsSceneHoverEvent* self, QPoint* pos) {
self->setLastScreenPos(*pos);
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneHoverEvent_modifiers(const QGraphicsSceneHoverEvent* self) {
Qt::KeyboardModifiers _ret = self->modifiers();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHoverEvent_setModifiers(QGraphicsSceneHoverEvent* self, int modifiers) {
2024-08-29 19:01:51 +12:00
self->setModifiers(static_cast<Qt::KeyboardModifiers>(modifiers));
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHoverEvent_delete(QGraphicsSceneHoverEvent* self) {
delete self;
}
2024-12-07 17:15:57 +13:00
QGraphicsSceneHelpEvent* QGraphicsSceneHelpEvent_new() {
return new QGraphicsSceneHelpEvent();
}
2025-02-01 13:45:16 +13:00
QGraphicsSceneHelpEvent* QGraphicsSceneHelpEvent_new2(int type) {
return new QGraphicsSceneHelpEvent(static_cast<QEvent::Type>(type));
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QGraphicsSceneHelpEvent_virtbase(QGraphicsSceneHelpEvent* src, QGraphicsSceneEvent** outptr_QGraphicsSceneEvent) {
*outptr_QGraphicsSceneEvent = static_cast<QGraphicsSceneEvent*>(src);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneHelpEvent_scenePos(const QGraphicsSceneHelpEvent* self) {
return new QPointF(self->scenePos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHelpEvent_setScenePos(QGraphicsSceneHelpEvent* self, QPointF* pos) {
self->setScenePos(*pos);
}
2025-02-01 13:45:16 +13:00
QPoint* QGraphicsSceneHelpEvent_screenPos(const QGraphicsSceneHelpEvent* self) {
return new QPoint(self->screenPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHelpEvent_setScreenPos(QGraphicsSceneHelpEvent* self, QPoint* pos) {
self->setScreenPos(*pos);
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneHelpEvent_delete(QGraphicsSceneHelpEvent* self) {
delete self;
}
2024-12-07 17:15:57 +13:00
QGraphicsSceneDragDropEvent* QGraphicsSceneDragDropEvent_new() {
return new QGraphicsSceneDragDropEvent();
}
2025-02-01 13:45:16 +13:00
QGraphicsSceneDragDropEvent* QGraphicsSceneDragDropEvent_new2(int type) {
return new QGraphicsSceneDragDropEvent(static_cast<QEvent::Type>(type));
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QGraphicsSceneDragDropEvent_virtbase(QGraphicsSceneDragDropEvent* src, QGraphicsSceneEvent** outptr_QGraphicsSceneEvent) {
*outptr_QGraphicsSceneEvent = static_cast<QGraphicsSceneEvent*>(src);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneDragDropEvent_pos(const QGraphicsSceneDragDropEvent* self) {
return new QPointF(self->pos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setPos(QGraphicsSceneDragDropEvent* self, QPointF* pos) {
self->setPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneDragDropEvent_scenePos(const QGraphicsSceneDragDropEvent* self) {
return new QPointF(self->scenePos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setScenePos(QGraphicsSceneDragDropEvent* self, QPointF* pos) {
self->setScenePos(*pos);
}
2025-02-01 13:45:16 +13:00
QPoint* QGraphicsSceneDragDropEvent_screenPos(const QGraphicsSceneDragDropEvent* self) {
return new QPoint(self->screenPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setScreenPos(QGraphicsSceneDragDropEvent* self, QPoint* pos) {
self->setScreenPos(*pos);
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneDragDropEvent_buttons(const QGraphicsSceneDragDropEvent* self) {
Qt::MouseButtons _ret = self->buttons();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setButtons(QGraphicsSceneDragDropEvent* self, int buttons) {
2024-08-29 19:01:51 +12:00
self->setButtons(static_cast<Qt::MouseButtons>(buttons));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneDragDropEvent_modifiers(const QGraphicsSceneDragDropEvent* self) {
Qt::KeyboardModifiers _ret = self->modifiers();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setModifiers(QGraphicsSceneDragDropEvent* self, int modifiers) {
2024-08-29 19:01:51 +12:00
self->setModifiers(static_cast<Qt::KeyboardModifiers>(modifiers));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneDragDropEvent_possibleActions(const QGraphicsSceneDragDropEvent* self) {
Qt::DropActions _ret = self->possibleActions();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setPossibleActions(QGraphicsSceneDragDropEvent* self, int actions) {
2024-08-29 19:01:51 +12:00
self->setPossibleActions(static_cast<Qt::DropActions>(actions));
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneDragDropEvent_proposedAction(const QGraphicsSceneDragDropEvent* self) {
Qt::DropAction _ret = self->proposedAction();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setProposedAction(QGraphicsSceneDragDropEvent* self, int action) {
2024-08-29 19:01:51 +12:00
self->setProposedAction(static_cast<Qt::DropAction>(action));
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_acceptProposedAction(QGraphicsSceneDragDropEvent* self) {
self->acceptProposedAction();
}
2025-02-01 13:45:16 +13:00
int QGraphicsSceneDragDropEvent_dropAction(const QGraphicsSceneDragDropEvent* self) {
Qt::DropAction _ret = self->dropAction();
return static_cast<int>(_ret);
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setDropAction(QGraphicsSceneDragDropEvent* self, int action) {
2024-08-29 19:01:51 +12:00
self->setDropAction(static_cast<Qt::DropAction>(action));
}
2025-02-01 13:45:16 +13:00
QWidget* QGraphicsSceneDragDropEvent_source(const QGraphicsSceneDragDropEvent* self) {
return self->source();
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setSource(QGraphicsSceneDragDropEvent* self, QWidget* source) {
self->setSource(source);
}
2025-02-01 13:45:16 +13:00
QMimeData* QGraphicsSceneDragDropEvent_mimeData(const QGraphicsSceneDragDropEvent* self) {
return (QMimeData*) self->mimeData();
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_setMimeData(QGraphicsSceneDragDropEvent* self, QMimeData* data) {
self->setMimeData(data);
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneDragDropEvent_delete(QGraphicsSceneDragDropEvent* self) {
delete self;
}
2024-12-07 17:15:57 +13:00
QGraphicsSceneResizeEvent* QGraphicsSceneResizeEvent_new() {
return new QGraphicsSceneResizeEvent();
}
void QGraphicsSceneResizeEvent_virtbase(QGraphicsSceneResizeEvent* src, QGraphicsSceneEvent** outptr_QGraphicsSceneEvent) {
*outptr_QGraphicsSceneEvent = static_cast<QGraphicsSceneEvent*>(src);
}
2025-02-01 13:45:16 +13:00
QSizeF* QGraphicsSceneResizeEvent_oldSize(const QGraphicsSceneResizeEvent* self) {
return new QSizeF(self->oldSize());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneResizeEvent_setOldSize(QGraphicsSceneResizeEvent* self, QSizeF* size) {
self->setOldSize(*size);
}
2025-02-01 13:45:16 +13:00
QSizeF* QGraphicsSceneResizeEvent_newSize(const QGraphicsSceneResizeEvent* self) {
return new QSizeF(self->newSize());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneResizeEvent_setNewSize(QGraphicsSceneResizeEvent* self, QSizeF* size) {
self->setNewSize(*size);
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneResizeEvent_delete(QGraphicsSceneResizeEvent* self) {
delete self;
}
2024-12-07 17:15:57 +13:00
QGraphicsSceneMoveEvent* QGraphicsSceneMoveEvent_new() {
return new QGraphicsSceneMoveEvent();
}
void QGraphicsSceneMoveEvent_virtbase(QGraphicsSceneMoveEvent* src, QGraphicsSceneEvent** outptr_QGraphicsSceneEvent) {
*outptr_QGraphicsSceneEvent = static_cast<QGraphicsSceneEvent*>(src);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneMoveEvent_oldPos(const QGraphicsSceneMoveEvent* self) {
return new QPointF(self->oldPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMoveEvent_setOldPos(QGraphicsSceneMoveEvent* self, QPointF* pos) {
self->setOldPos(*pos);
}
2025-02-01 13:45:16 +13:00
QPointF* QGraphicsSceneMoveEvent_newPos(const QGraphicsSceneMoveEvent* self) {
return new QPointF(self->newPos());
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMoveEvent_setNewPos(QGraphicsSceneMoveEvent* self, QPointF* pos) {
self->setNewPos(*pos);
}
2025-02-01 13:45:16 +13:00
void QGraphicsSceneMoveEvent_delete(QGraphicsSceneMoveEvent* self) {
delete self;
}