2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QITEMEDITORFACTORY_H
|
|
|
|
#define GEN_QITEMEDITORFACTORY_H
|
|
|
|
|
|
|
|
#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 QByteArray;
|
|
|
|
class QItemEditorCreatorBase;
|
|
|
|
class QItemEditorFactory;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QByteArray QByteArray;
|
|
|
|
typedef struct QItemEditorCreatorBase QItemEditorCreatorBase;
|
|
|
|
typedef struct QItemEditorFactory QItemEditorFactory;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QItemEditorCreatorBase_CreateWidget(const QItemEditorCreatorBase* self, QWidget* parent);
|
|
|
|
QByteArray* QItemEditorCreatorBase_ValuePropertyName(const QItemEditorCreatorBase* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QItemEditorCreatorBase_OperatorAssign(QItemEditorCreatorBase* self, QItemEditorCreatorBase* param1);
|
|
|
|
void QItemEditorCreatorBase_Delete(QItemEditorCreatorBase* self);
|
|
|
|
|
|
|
|
QItemEditorFactory* QItemEditorFactory_new();
|
|
|
|
QItemEditorFactory* QItemEditorFactory_new2(QItemEditorFactory* param1);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QItemEditorFactory_CreateEditor(const QItemEditorFactory* self, int userType, QWidget* parent);
|
|
|
|
QByteArray* QItemEditorFactory_ValuePropertyName(const QItemEditorFactory* self, int userType);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QItemEditorFactory_RegisterEditor(QItemEditorFactory* self, int userType, QItemEditorCreatorBase* creator);
|
|
|
|
QItemEditorFactory* QItemEditorFactory_DefaultFactory();
|
|
|
|
void QItemEditorFactory_SetDefaultFactory(QItemEditorFactory* factory);
|
|
|
|
void QItemEditorFactory_Delete(QItemEditorFactory* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|