mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
70 lines
2.9 KiB
C++
70 lines
2.9 KiB
C++
#ifndef GEN_QSTYLEDITEMDELEGATE_H
|
|
#define GEN_QSTYLEDITEMDELEGATE_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 QAbstractItemModel;
|
|
class QItemEditorFactory;
|
|
class QLocale;
|
|
class QMetaObject;
|
|
class QModelIndex;
|
|
class QObject;
|
|
class QPainter;
|
|
class QSize;
|
|
class QStyleOptionViewItem;
|
|
class QStyledItemDelegate;
|
|
class QVariant;
|
|
class QWidget;
|
|
#else
|
|
typedef struct QAbstractItemModel QAbstractItemModel;
|
|
typedef struct QItemEditorFactory QItemEditorFactory;
|
|
typedef struct QLocale QLocale;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QModelIndex QModelIndex;
|
|
typedef struct QObject QObject;
|
|
typedef struct QPainter QPainter;
|
|
typedef struct QSize QSize;
|
|
typedef struct QStyleOptionViewItem QStyleOptionViewItem;
|
|
typedef struct QStyledItemDelegate QStyledItemDelegate;
|
|
typedef struct QVariant QVariant;
|
|
typedef struct QWidget QWidget;
|
|
#endif
|
|
|
|
QStyledItemDelegate* QStyledItemDelegate_new();
|
|
QStyledItemDelegate* QStyledItemDelegate_new2(QObject* parent);
|
|
QMetaObject* QStyledItemDelegate_MetaObject(const QStyledItemDelegate* self);
|
|
void* QStyledItemDelegate_Metacast(QStyledItemDelegate* self, const char* param1);
|
|
struct miqt_string QStyledItemDelegate_Tr(const char* s);
|
|
struct miqt_string QStyledItemDelegate_TrUtf8(const char* s);
|
|
void QStyledItemDelegate_Paint(const QStyledItemDelegate* self, QPainter* painter, QStyleOptionViewItem* option, QModelIndex* index);
|
|
QSize* QStyledItemDelegate_SizeHint(const QStyledItemDelegate* self, QStyleOptionViewItem* option, QModelIndex* index);
|
|
QWidget* QStyledItemDelegate_CreateEditor(const QStyledItemDelegate* self, QWidget* parent, QStyleOptionViewItem* option, QModelIndex* index);
|
|
void QStyledItemDelegate_SetEditorData(const QStyledItemDelegate* self, QWidget* editor, QModelIndex* index);
|
|
void QStyledItemDelegate_SetModelData(const QStyledItemDelegate* self, QWidget* editor, QAbstractItemModel* model, QModelIndex* index);
|
|
void QStyledItemDelegate_UpdateEditorGeometry(const QStyledItemDelegate* self, QWidget* editor, QStyleOptionViewItem* option, QModelIndex* index);
|
|
QItemEditorFactory* QStyledItemDelegate_ItemEditorFactory(const QStyledItemDelegate* self);
|
|
void QStyledItemDelegate_SetItemEditorFactory(QStyledItemDelegate* self, QItemEditorFactory* factory);
|
|
struct miqt_string QStyledItemDelegate_DisplayText(const QStyledItemDelegate* self, QVariant* value, QLocale* locale);
|
|
struct miqt_string QStyledItemDelegate_Tr2(const char* s, const char* c);
|
|
struct miqt_string QStyledItemDelegate_Tr3(const char* s, const char* c, int n);
|
|
struct miqt_string QStyledItemDelegate_TrUtf82(const char* s, const char* c);
|
|
struct miqt_string QStyledItemDelegate_TrUtf83(const char* s, const char* c, int n);
|
|
void QStyledItemDelegate_Delete(QStyledItemDelegate* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|