miqt/qt6/gen_qitemeditorfactory.h

50 lines
1.9 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QITEMEDITORFACTORY_H
#define MIQT_QT6_GEN_QITEMEDITORFACTORY_H
2024-10-20 18:21:03 +13:00
#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 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-10-20 18:21:03 +13: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-10-20 18:21:03 +13:00
#ifdef __cplusplus
} /* extern C */
2025-02-01 13:45:16 +13:00
#endif
2024-10-20 18:21:03 +13:00
#endif