2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QABSTRACTITEMDELEGATE_H
|
|
|
|
#define MIQT_QT_GEN_QABSTRACTITEMDELEGATE_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
|
|
|
|
class QAbstractItemDelegate;
|
|
|
|
class QAbstractItemModel;
|
|
|
|
class QAbstractItemView;
|
|
|
|
class QEvent;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QFontMetrics;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QHelpEvent;
|
|
|
|
class QMetaObject;
|
|
|
|
class QModelIndex;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QPainter;
|
|
|
|
class QSize;
|
|
|
|
class QStyleOptionViewItem;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QAbstractItemDelegate QAbstractItemDelegate;
|
|
|
|
typedef struct QAbstractItemModel QAbstractItemModel;
|
|
|
|
typedef struct QAbstractItemView QAbstractItemView;
|
|
|
|
typedef struct QEvent QEvent;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QFontMetrics QFontMetrics;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QHelpEvent QHelpEvent;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QModelIndex QModelIndex;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QObject QObject;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QPainter QPainter;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QStyleOptionViewItem QStyleOptionViewItem;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QAbstractItemDelegate_MetaObject(const QAbstractItemDelegate* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QAbstractItemDelegate_Metacast(QAbstractItemDelegate* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QAbstractItemDelegate_Tr(const char* s);
|
|
|
|
struct miqt_string QAbstractItemDelegate_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QAbstractItemDelegate_Paint(const QAbstractItemDelegate* self, QPainter* painter, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
QSize* QAbstractItemDelegate_SizeHint(const QAbstractItemDelegate* self, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
QWidget* QAbstractItemDelegate_CreateEditor(const QAbstractItemDelegate* self, QWidget* parent, QStyleOptionViewItem* option, QModelIndex* index);
|
|
|
|
void QAbstractItemDelegate_DestroyEditor(const QAbstractItemDelegate* self, QWidget* editor, QModelIndex* index);
|
|
|
|
void QAbstractItemDelegate_SetEditorData(const QAbstractItemDelegate* self, QWidget* editor, QModelIndex* index);
|
|
|
|
void QAbstractItemDelegate_SetModelData(const QAbstractItemDelegate* self, QWidget* editor, QAbstractItemModel* model, QModelIndex* index);
|
|
|
|
void QAbstractItemDelegate_UpdateEditorGeometry(const QAbstractItemDelegate* self, QWidget* editor, QStyleOptionViewItem* option, QModelIndex* index);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QAbstractItemDelegate_EditorEvent(QAbstractItemDelegate* self, QEvent* event, QAbstractItemModel* model, QStyleOptionViewItem* option, QModelIndex* index);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QAbstractItemDelegate_ElidedText(QFontMetrics* fontMetrics, int width, int mode, struct miqt_string text);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QAbstractItemDelegate_HelpEvent(QAbstractItemDelegate* self, QHelpEvent* event, QAbstractItemView* view, QStyleOptionViewItem* option, QModelIndex* index);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of int */ QAbstractItemDelegate_PaintingRoles(const QAbstractItemDelegate* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QAbstractItemDelegate_CommitData(QAbstractItemDelegate* self, QWidget* editor);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QAbstractItemDelegate_connect_CommitData(QAbstractItemDelegate* self, intptr_t slot);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QAbstractItemDelegate_CloseEditor(QAbstractItemDelegate* self, QWidget* editor);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QAbstractItemDelegate_connect_CloseEditor(QAbstractItemDelegate* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QAbstractItemDelegate_SizeHintChanged(QAbstractItemDelegate* self, QModelIndex* param1);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QAbstractItemDelegate_connect_SizeHintChanged(QAbstractItemDelegate* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QAbstractItemDelegate_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QAbstractItemDelegate_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QAbstractItemDelegate_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QAbstractItemDelegate_TrUtf83(const char* s, const char* c, int n);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QAbstractItemDelegate_CloseEditor2(QAbstractItemDelegate* self, QWidget* editor, int hint);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QAbstractItemDelegate_connect_CloseEditor2(QAbstractItemDelegate* self, intptr_t slot);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QAbstractItemDelegate_Delete(QAbstractItemDelegate* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|