2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSIZEPOLICY_H
|
|
|
|
#define GEN_QSIZEPOLICY_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QSizePolicy;
|
|
|
|
#else
|
|
|
|
typedef struct QSizePolicy QSizePolicy;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QSizePolicy* QSizePolicy_new();
|
2024-08-29 07:01:51 +00:00
|
|
|
QSizePolicy* QSizePolicy_new2(uintptr_t horizontal, uintptr_t vertical);
|
|
|
|
QSizePolicy* QSizePolicy_new3(QSizePolicy* param1);
|
|
|
|
QSizePolicy* QSizePolicy_new4(uintptr_t horizontal, uintptr_t vertical, uintptr_t typeVal);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QSizePolicy_HorizontalPolicy(const QSizePolicy* self);
|
|
|
|
uintptr_t QSizePolicy_VerticalPolicy(const QSizePolicy* self);
|
|
|
|
uintptr_t QSizePolicy_ControlType(const QSizePolicy* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QSizePolicy_SetHorizontalPolicy(QSizePolicy* self, uintptr_t d);
|
|
|
|
void QSizePolicy_SetVerticalPolicy(QSizePolicy* self, uintptr_t d);
|
|
|
|
void QSizePolicy_SetControlType(QSizePolicy* self, uintptr_t typeVal);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QSizePolicy_ExpandingDirections(const QSizePolicy* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSizePolicy_SetHeightForWidth(QSizePolicy* self, bool b);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSizePolicy_HasHeightForWidth(const QSizePolicy* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSizePolicy_SetWidthForHeight(QSizePolicy* self, bool b);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSizePolicy_HasWidthForHeight(const QSizePolicy* self);
|
|
|
|
bool QSizePolicy_OperatorEqual(const QSizePolicy* self, QSizePolicy* s);
|
|
|
|
bool QSizePolicy_OperatorNotEqual(const QSizePolicy* self, QSizePolicy* s);
|
|
|
|
int QSizePolicy_HorizontalStretch(const QSizePolicy* self);
|
|
|
|
int QSizePolicy_VerticalStretch(const QSizePolicy* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSizePolicy_SetHorizontalStretch(QSizePolicy* self, int stretchFactor);
|
|
|
|
void QSizePolicy_SetVerticalStretch(QSizePolicy* self, int stretchFactor);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSizePolicy_RetainSizeWhenHidden(const QSizePolicy* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSizePolicy_SetRetainSizeWhenHidden(QSizePolicy* self, bool retainSize);
|
|
|
|
void QSizePolicy_Transpose(QSizePolicy* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSizePolicy* QSizePolicy_Transposed(const QSizePolicy* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSizePolicy_Delete(QSizePolicy* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|