2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QITEMDELEGATE_H
|
|
|
|
#define MIQT_QT_GEN_QITEMDELEGATE_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-11-19 06:29:06 +00:00
|
|
|
class QAbstractItemDelegate;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QAbstractItemModel;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QAbstractItemView;
|
|
|
|
class QEvent;
|
|
|
|
class QHelpEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QItemDelegate;
|
|
|
|
class QItemEditorFactory;
|
|
|
|
class QMetaObject;
|
|
|
|
class QModelIndex;
|
|
|
|
class QObject;
|
|
|
|
class QPainter;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QPixmap;
|
|
|
|
class QRect;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QSize;
|
|
|
|
class QStyleOptionViewItem;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QAbstractItemDelegate QAbstractItemDelegate;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QAbstractItemModel QAbstractItemModel;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QAbstractItemView QAbstractItemView;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QHelpEvent QHelpEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QItemDelegate QItemDelegate;
|
|
|
|
typedef struct QItemEditorFactory QItemEditorFactory;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QModelIndex QModelIndex;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPainter QPainter;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QRect QRect;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QStyleOptionViewItem QStyleOptionViewItem;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QItemDelegate* QItemDelegate_new();
|
|
|
|
QItemDelegate* QItemDelegate_new2(QObject* parent);
|
|
|
|
void QItemDelegate_virtbase(QItemDelegate* src, QAbstractItemDelegate** outptr_QAbstractItemDelegate);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QItemDelegate_MetaObject(const QItemDelegate* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QItemDelegate_Metacast(QItemDelegate* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QItemDelegate_Tr(const char* s);
|
|
|
|
struct miqt_string QItemDelegate_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QItemDelegate_HasClipping(const QItemDelegate* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QItemDelegate_SetClipping(QItemDelegate* self, bool clip);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QItemDelegate_Paint(const QItemDelegate* self, QPainter* painter, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
QSize* QItemDelegate_SizeHint(const QItemDelegate* self, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
QWidget* QItemDelegate_CreateEditor(const QItemDelegate* self, QWidget* parent, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
void QItemDelegate_SetEditorData(const QItemDelegate* self, QWidget* editor, QModelIndex* index);
|
|
|
|
void QItemDelegate_SetModelData(const QItemDelegate* self, QWidget* editor, QAbstractItemModel* model, QModelIndex* index);
|
|
|
|
void QItemDelegate_UpdateEditorGeometry(const QItemDelegate* self, QWidget* editor, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
QItemEditorFactory* QItemDelegate_ItemEditorFactory(const QItemDelegate* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QItemDelegate_SetItemEditorFactory(QItemDelegate* self, QItemEditorFactory* factory);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QItemDelegate_DrawDisplay(const QItemDelegate* self, QPainter* painter, QStyleOptionViewItem* option, QRect* rect, struct miqt_string text);
|
|
|
|
void QItemDelegate_DrawDecoration(const QItemDelegate* self, QPainter* painter, QStyleOptionViewItem* option, QRect* rect, QPixmap* pixmap);
|
|
|
|
void QItemDelegate_DrawFocus(const QItemDelegate* self, QPainter* painter, QStyleOptionViewItem* option, QRect* rect);
|
|
|
|
void QItemDelegate_DrawCheck(const QItemDelegate* self, QPainter* painter, QStyleOptionViewItem* option, QRect* rect, int state);
|
|
|
|
bool QItemDelegate_EventFilter(QItemDelegate* self, QObject* object, QEvent* event);
|
|
|
|
bool QItemDelegate_EditorEvent(QItemDelegate* self, QEvent* event, QAbstractItemModel* model, QStyleOptionViewItem* option, QModelIndex* index);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QItemDelegate_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QItemDelegate_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QItemDelegate_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QItemDelegate_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QItemDelegate_override_virtual_Paint(void* self, intptr_t slot);
|
|
|
|
void QItemDelegate_virtualbase_Paint(const void* self, QPainter* painter, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
void QItemDelegate_override_virtual_SizeHint(void* self, intptr_t slot);
|
|
|
|
QSize* QItemDelegate_virtualbase_SizeHint(const void* self, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
void QItemDelegate_override_virtual_CreateEditor(void* self, intptr_t slot);
|
|
|
|
QWidget* QItemDelegate_virtualbase_CreateEditor(const void* self, QWidget* parent, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
void QItemDelegate_override_virtual_SetEditorData(void* self, intptr_t slot);
|
|
|
|
void QItemDelegate_virtualbase_SetEditorData(const void* self, QWidget* editor, QModelIndex* index);
|
|
|
|
void QItemDelegate_override_virtual_SetModelData(void* self, intptr_t slot);
|
|
|
|
void QItemDelegate_virtualbase_SetModelData(const void* self, QWidget* editor, QAbstractItemModel* model, QModelIndex* index);
|
|
|
|
void QItemDelegate_override_virtual_UpdateEditorGeometry(void* self, intptr_t slot);
|
|
|
|
void QItemDelegate_virtualbase_UpdateEditorGeometry(const void* self, QWidget* editor, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
void QItemDelegate_override_virtual_DrawDisplay(void* self, intptr_t slot);
|
|
|
|
void QItemDelegate_virtualbase_DrawDisplay(const void* self, QPainter* painter, QStyleOptionViewItem* option, QRect* rect, struct miqt_string text);
|
|
|
|
void QItemDelegate_override_virtual_DrawDecoration(void* self, intptr_t slot);
|
|
|
|
void QItemDelegate_virtualbase_DrawDecoration(const void* self, QPainter* painter, QStyleOptionViewItem* option, QRect* rect, QPixmap* pixmap);
|
|
|
|
void QItemDelegate_override_virtual_DrawFocus(void* self, intptr_t slot);
|
|
|
|
void QItemDelegate_virtualbase_DrawFocus(const void* self, QPainter* painter, QStyleOptionViewItem* option, QRect* rect);
|
|
|
|
void QItemDelegate_override_virtual_DrawCheck(void* self, intptr_t slot);
|
|
|
|
void QItemDelegate_virtualbase_DrawCheck(const void* self, QPainter* painter, QStyleOptionViewItem* option, QRect* rect, int state);
|
|
|
|
void QItemDelegate_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QItemDelegate_virtualbase_EventFilter(void* self, QObject* object, QEvent* event);
|
|
|
|
void QItemDelegate_override_virtual_EditorEvent(void* self, intptr_t slot);
|
|
|
|
bool QItemDelegate_virtualbase_EditorEvent(void* self, QEvent* event, QAbstractItemModel* model, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
void QItemDelegate_override_virtual_DestroyEditor(void* self, intptr_t slot);
|
|
|
|
void QItemDelegate_virtualbase_DestroyEditor(const void* self, QWidget* editor, QModelIndex* index);
|
|
|
|
void QItemDelegate_override_virtual_HelpEvent(void* self, intptr_t slot);
|
|
|
|
bool QItemDelegate_virtualbase_HelpEvent(void* self, QHelpEvent* event, QAbstractItemView* view, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
void QItemDelegate_override_virtual_PaintingRoles(void* self, intptr_t slot);
|
|
|
|
struct miqt_array /* of int */ QItemDelegate_virtualbase_PaintingRoles(const void* self);
|
|
|
|
void QItemDelegate_Delete(QItemDelegate* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|