miqt/qt6/gen_qmargins.h

75 lines
2.9 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QMARGINS_H
#define MIQT_QT6_GEN_QMARGINS_H
2024-10-20 05:21:03 +00: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 QMargins;
class QMarginsF;
#else
typedef struct QMargins QMargins;
typedef struct QMarginsF QMarginsF;
#endif
2024-12-07 04:15:57 +00:00
QMargins* QMargins_new();
QMargins* QMargins_new2(int left, int top, int right, int bottom);
QMargins* QMargins_new3(QMargins* param1);
2024-10-20 05:21:03 +00:00
bool QMargins_IsNull(const QMargins* self);
int QMargins_Left(const QMargins* self);
int QMargins_Top(const QMargins* self);
int QMargins_Right(const QMargins* self);
int QMargins_Bottom(const QMargins* self);
void QMargins_SetLeft(QMargins* self, int left);
void QMargins_SetTop(QMargins* self, int top);
void QMargins_SetRight(QMargins* self, int right);
void QMargins_SetBottom(QMargins* self, int bottom);
QMargins* QMargins_OperatorPlusAssign(QMargins* self, QMargins* margins);
QMargins* QMargins_OperatorMinusAssign(QMargins* self, QMargins* margins);
QMargins* QMargins_OperatorPlusAssignWithInt(QMargins* self, int param1);
QMargins* QMargins_OperatorMinusAssignWithInt(QMargins* self, int param1);
QMargins* QMargins_OperatorMultiplyAssign(QMargins* self, int param1);
QMargins* QMargins_OperatorDivideAssign(QMargins* self, int param1);
QMargins* QMargins_OperatorMultiplyAssignWithQreal(QMargins* self, double param1);
QMargins* QMargins_OperatorDivideAssignWithQreal(QMargins* self, double param1);
QMarginsF* QMargins_ToMarginsF(const QMargins* self);
2024-11-19 06:29:06 +00:00
void QMargins_Delete(QMargins* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
2024-12-07 04:15:57 +00:00
QMarginsF* QMarginsF_new();
QMarginsF* QMarginsF_new2(double left, double top, double right, double bottom);
QMarginsF* QMarginsF_new3(QMargins* margins);
QMarginsF* QMarginsF_new4(QMarginsF* param1);
2024-10-20 05:21:03 +00:00
bool QMarginsF_IsNull(const QMarginsF* self);
double QMarginsF_Left(const QMarginsF* self);
double QMarginsF_Top(const QMarginsF* self);
double QMarginsF_Right(const QMarginsF* self);
double QMarginsF_Bottom(const QMarginsF* self);
void QMarginsF_SetLeft(QMarginsF* self, double aleft);
void QMarginsF_SetTop(QMarginsF* self, double atop);
void QMarginsF_SetRight(QMarginsF* self, double aright);
void QMarginsF_SetBottom(QMarginsF* self, double abottom);
QMarginsF* QMarginsF_OperatorPlusAssign(QMarginsF* self, QMarginsF* margins);
QMarginsF* QMarginsF_OperatorMinusAssign(QMarginsF* self, QMarginsF* margins);
QMarginsF* QMarginsF_OperatorPlusAssignWithAddend(QMarginsF* self, double addend);
QMarginsF* QMarginsF_OperatorMinusAssignWithSubtrahend(QMarginsF* self, double subtrahend);
QMarginsF* QMarginsF_OperatorMultiplyAssign(QMarginsF* self, double factor);
QMarginsF* QMarginsF_OperatorDivideAssign(QMarginsF* self, double divisor);
QMargins* QMarginsF_ToMargins(const QMarginsF* self);
2024-11-19 06:29:06 +00:00
void QMarginsF_Delete(QMarginsF* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif