miqt/qt6/gen_qsizepolicy.h

55 lines
2.1 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QSIZEPOLICY_H
#define MIQT_QT6_GEN_QSIZEPOLICY_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 QSizePolicy;
#else
typedef struct QSizePolicy QSizePolicy;
#endif
2024-11-19 06:29:06 +00:00
void QSizePolicy_new(QSizePolicy** outptr_QSizePolicy);
void QSizePolicy_new2(int horizontal, int vertical, QSizePolicy** outptr_QSizePolicy);
void QSizePolicy_new3(QSizePolicy* param1, QSizePolicy** outptr_QSizePolicy);
void QSizePolicy_new4(int horizontal, int vertical, int typeVal, QSizePolicy** outptr_QSizePolicy);
2024-10-20 05:21:03 +00:00
int QSizePolicy_HorizontalPolicy(const QSizePolicy* self);
int QSizePolicy_VerticalPolicy(const QSizePolicy* self);
int QSizePolicy_ControlType(const QSizePolicy* self);
void QSizePolicy_SetHorizontalPolicy(QSizePolicy* self, int d);
void QSizePolicy_SetVerticalPolicy(QSizePolicy* self, int d);
void QSizePolicy_SetControlType(QSizePolicy* self, int typeVal);
int QSizePolicy_ExpandingDirections(const QSizePolicy* self);
void QSizePolicy_SetHeightForWidth(QSizePolicy* self, bool b);
bool QSizePolicy_HasHeightForWidth(const QSizePolicy* self);
void QSizePolicy_SetWidthForHeight(QSizePolicy* self, bool b);
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);
void QSizePolicy_SetHorizontalStretch(QSizePolicy* self, int stretchFactor);
void QSizePolicy_SetVerticalStretch(QSizePolicy* self, int stretchFactor);
bool QSizePolicy_RetainSizeWhenHidden(const QSizePolicy* self);
void QSizePolicy_SetRetainSizeWhenHidden(QSizePolicy* self, bool retainSize);
void QSizePolicy_Transpose(QSizePolicy* self);
QSizePolicy* QSizePolicy_Transposed(const QSizePolicy* self);
2024-11-19 06:29:06 +00:00
void QSizePolicy_Delete(QSizePolicy* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif