2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QITEMEDITORFACTORY_H
|
|
|
|
#define MIQT_QT_GEN_QITEMEDITORFACTORY_H
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 18:07:56 +13:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-15 10:29:05 +12:00
|
|
|
|
2024-08-25 16:08:24 +12:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QItemEditorCreatorBase;
|
|
|
|
class QItemEditorFactory;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QItemEditorCreatorBase QItemEditorCreatorBase;
|
|
|
|
typedef struct QItemEditorFactory QItemEditorFactory;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2025-02-01 13:45:16 +13:00
|
|
|
QWidget* QItemEditorCreatorBase_createWidget(const QItemEditorCreatorBase* self, QWidget* parent);
|
|
|
|
struct miqt_string QItemEditorCreatorBase_valuePropertyName(const QItemEditorCreatorBase* self);
|
|
|
|
void QItemEditorCreatorBase_operatorAssign(QItemEditorCreatorBase* self, QItemEditorCreatorBase* param1);
|
|
|
|
void QItemEditorCreatorBase_delete(QItemEditorCreatorBase* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QItemEditorFactory* QItemEditorFactory_new();
|
|
|
|
QItemEditorFactory* QItemEditorFactory_new2(QItemEditorFactory* param1);
|
2025-02-01 13:45:16 +13:00
|
|
|
QWidget* QItemEditorFactory_createEditor(const QItemEditorFactory* self, int userType, QWidget* parent);
|
|
|
|
struct miqt_string QItemEditorFactory_valuePropertyName(const QItemEditorFactory* self, int userType);
|
|
|
|
void QItemEditorFactory_registerEditor(QItemEditorFactory* self, int userType, QItemEditorCreatorBase* creator);
|
|
|
|
QItemEditorFactory* QItemEditorFactory_defaultFactory();
|
|
|
|
void QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory);
|
|
|
|
bool QItemEditorFactory_override_virtual_createEditor(void* self, intptr_t slot);
|
|
|
|
QWidget* QItemEditorFactory_virtualbase_createEditor(const void* self, int userType, QWidget* parent);
|
|
|
|
bool QItemEditorFactory_override_virtual_valuePropertyName(void* self, intptr_t slot);
|
|
|
|
struct miqt_string QItemEditorFactory_virtualbase_valuePropertyName(const void* self, int userType);
|
|
|
|
void QItemEditorFactory_delete(QItemEditorFactory* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#endif
|