mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
56 lines
2.0 KiB
C++
56 lines
2.0 KiB
C++
#ifndef GEN_QGRAPHICSPROXYWIDGET_H
|
|
#define GEN_QGRAPHICSPROXYWIDGET_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 QGraphicsItem;
|
|
class QGraphicsProxyWidget;
|
|
class QMetaObject;
|
|
class QPainter;
|
|
class QRectF;
|
|
class QStyleOptionGraphicsItem;
|
|
class QWidget;
|
|
#else
|
|
typedef struct QGraphicsItem QGraphicsItem;
|
|
typedef struct QGraphicsProxyWidget QGraphicsProxyWidget;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QPainter QPainter;
|
|
typedef struct QRectF QRectF;
|
|
typedef struct QStyleOptionGraphicsItem QStyleOptionGraphicsItem;
|
|
typedef struct QWidget QWidget;
|
|
#endif
|
|
|
|
QGraphicsProxyWidget* QGraphicsProxyWidget_new();
|
|
QGraphicsProxyWidget* QGraphicsProxyWidget_new2(QGraphicsItem* parent);
|
|
QGraphicsProxyWidget* QGraphicsProxyWidget_new3(QGraphicsItem* parent, int wFlags);
|
|
QMetaObject* QGraphicsProxyWidget_MetaObject(const QGraphicsProxyWidget* self);
|
|
void* QGraphicsProxyWidget_Metacast(QGraphicsProxyWidget* self, const char* param1);
|
|
struct miqt_string QGraphicsProxyWidget_Tr(const char* s);
|
|
void QGraphicsProxyWidget_SetWidget(QGraphicsProxyWidget* self, QWidget* widget);
|
|
QWidget* QGraphicsProxyWidget_Widget(const QGraphicsProxyWidget* self);
|
|
QRectF* QGraphicsProxyWidget_SubWidgetRect(const QGraphicsProxyWidget* self, QWidget* widget);
|
|
void QGraphicsProxyWidget_SetGeometry(QGraphicsProxyWidget* self, QRectF* rect);
|
|
void QGraphicsProxyWidget_Paint(QGraphicsProxyWidget* self, QPainter* painter, QStyleOptionGraphicsItem* option, QWidget* widget);
|
|
int QGraphicsProxyWidget_Type(const QGraphicsProxyWidget* self);
|
|
QGraphicsProxyWidget* QGraphicsProxyWidget_CreateProxyForChildWidget(QGraphicsProxyWidget* self, QWidget* child);
|
|
struct miqt_string QGraphicsProxyWidget_Tr2(const char* s, const char* c);
|
|
struct miqt_string QGraphicsProxyWidget_Tr3(const char* s, const char* c, int n);
|
|
void QGraphicsProxyWidget_Delete(QGraphicsProxyWidget* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|