miqt/qt/gen_qpagelayout.h

75 lines
3.1 KiB
C
Raw Normal View History

#ifndef GEN_QPAGELAYOUT_H
#define GEN_QPAGELAYOUT_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QMargins;
class QMarginsF;
class QPageLayout;
class QPageSize;
class QRect;
class QRectF;
#else
typedef struct QMargins QMargins;
typedef struct QMarginsF QMarginsF;
typedef struct QPageLayout QPageLayout;
typedef struct QPageSize QPageSize;
typedef struct QRect QRect;
typedef struct QRectF QRectF;
#endif
QPageLayout* QPageLayout_new();
2024-08-29 07:01:51 +00:00
QPageLayout* QPageLayout_new2(QPageSize* pageSize, uintptr_t orientation, QMarginsF* margins);
QPageLayout* QPageLayout_new3(QPageLayout* other);
QPageLayout* QPageLayout_new4(QPageSize* pageSize, uintptr_t orientation, QMarginsF* margins, uintptr_t units);
QPageLayout* QPageLayout_new5(QPageSize* pageSize, uintptr_t orientation, QMarginsF* margins, uintptr_t units, QMarginsF* minMargins);
void QPageLayout_OperatorAssign(QPageLayout* self, QPageLayout* other);
void QPageLayout_Swap(QPageLayout* self, QPageLayout* other);
bool QPageLayout_IsEquivalentTo(QPageLayout* self, QPageLayout* other);
bool QPageLayout_IsValid(QPageLayout* self);
2024-08-29 07:01:51 +00:00
void QPageLayout_SetMode(QPageLayout* self, uintptr_t mode);
uintptr_t QPageLayout_Mode(QPageLayout* self);
void QPageLayout_SetPageSize(QPageLayout* self, QPageSize* pageSize);
QPageSize* QPageLayout_PageSize(QPageLayout* self);
2024-08-29 07:01:51 +00:00
void QPageLayout_SetOrientation(QPageLayout* self, uintptr_t orientation);
uintptr_t QPageLayout_Orientation(QPageLayout* self);
void QPageLayout_SetUnits(QPageLayout* self, uintptr_t units);
uintptr_t QPageLayout_Units(QPageLayout* self);
bool QPageLayout_SetMargins(QPageLayout* self, QMarginsF* margins);
bool QPageLayout_SetLeftMargin(QPageLayout* self, double leftMargin);
bool QPageLayout_SetRightMargin(QPageLayout* self, double rightMargin);
bool QPageLayout_SetTopMargin(QPageLayout* self, double topMargin);
bool QPageLayout_SetBottomMargin(QPageLayout* self, double bottomMargin);
QMarginsF* QPageLayout_Margins(QPageLayout* self);
2024-08-29 07:01:51 +00:00
QMarginsF* QPageLayout_MarginsWithUnits(QPageLayout* self, uintptr_t units);
QMargins* QPageLayout_MarginsPoints(QPageLayout* self);
QMargins* QPageLayout_MarginsPixels(QPageLayout* self, int resolution);
void QPageLayout_SetMinimumMargins(QPageLayout* self, QMarginsF* minMargins);
QMarginsF* QPageLayout_MinimumMargins(QPageLayout* self);
QMarginsF* QPageLayout_MaximumMargins(QPageLayout* self);
QRectF* QPageLayout_FullRect(QPageLayout* self);
2024-08-29 07:01:51 +00:00
QRectF* QPageLayout_FullRectWithUnits(QPageLayout* self, uintptr_t units);
QRect* QPageLayout_FullRectPoints(QPageLayout* self);
QRect* QPageLayout_FullRectPixels(QPageLayout* self, int resolution);
QRectF* QPageLayout_PaintRect(QPageLayout* self);
2024-08-29 07:01:51 +00:00
QRectF* QPageLayout_PaintRectWithUnits(QPageLayout* self, uintptr_t units);
QRect* QPageLayout_PaintRectPoints(QPageLayout* self);
QRect* QPageLayout_PaintRectPixels(QPageLayout* self, int resolution);
void QPageLayout_SetPageSize2(QPageLayout* self, QPageSize* pageSize, QMarginsF* minMargins);
void QPageLayout_Delete(QPageLayout* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif