miqt/qt/gen_qframe.h

61 lines
1.8 KiB
C
Raw Normal View History

#ifndef GEN_QFRAME_H
#define GEN_QFRAME_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "binding.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QFrame;
class QMetaObject;
class QRect;
class QSize;
2024-08-29 07:01:51 +00:00
class QWidget;
#else
typedef struct QFrame QFrame;
typedef struct QMetaObject QMetaObject;
typedef struct QRect QRect;
typedef struct QSize QSize;
2024-08-29 07:01:51 +00:00
typedef struct QWidget QWidget;
#endif
2024-08-29 07:01:51 +00:00
QFrame* QFrame_new();
QFrame* QFrame_new2(QWidget* parent);
QFrame* QFrame_new3(QWidget* parent, int f);
QMetaObject* QFrame_MetaObject(const QFrame* self);
struct miqt_string* QFrame_Tr(const char* s);
struct miqt_string* QFrame_TrUtf8(const char* s);
int QFrame_FrameStyle(const QFrame* self);
void QFrame_SetFrameStyle(QFrame* self, int frameStyle);
int QFrame_FrameWidth(const QFrame* self);
QSize* QFrame_SizeHint(const QFrame* self);
uintptr_t QFrame_FrameShape(const QFrame* self);
2024-08-29 07:01:51 +00:00
void QFrame_SetFrameShape(QFrame* self, uintptr_t frameShape);
uintptr_t QFrame_FrameShadow(const QFrame* self);
2024-08-29 07:01:51 +00:00
void QFrame_SetFrameShadow(QFrame* self, uintptr_t frameShadow);
int QFrame_LineWidth(const QFrame* self);
void QFrame_SetLineWidth(QFrame* self, int lineWidth);
int QFrame_MidLineWidth(const QFrame* self);
void QFrame_SetMidLineWidth(QFrame* self, int midLineWidth);
QRect* QFrame_FrameRect(const QFrame* self);
void QFrame_SetFrameRect(QFrame* self, QRect* frameRect);
struct miqt_string* QFrame_Tr2(const char* s, const char* c);
struct miqt_string* QFrame_Tr3(const char* s, const char* c, int n);
struct miqt_string* QFrame_TrUtf82(const char* s, const char* c);
struct miqt_string* QFrame_TrUtf83(const char* s, const char* c, int n);
void QFrame_Delete(QFrame* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif