2024-11-19 06:29:06 +00:00
|
|
|
#include <QChildEvent>
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QGridLayout>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include <QLayout>
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QLayoutItem>
|
|
|
|
#include <QMetaObject>
|
2024-11-19 06:29:06 +00:00
|
|
|
#include <QObject>
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QRect>
|
|
|
|
#include <QSize>
|
|
|
|
#include <QString>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include <QByteArray>
|
|
|
|
#include <cstring>
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QWidget>
|
2024-10-16 05:07:56 +00:00
|
|
|
#include <qgridlayout.h>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "gen_qgridlayout.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "_cgo_export.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
class MiqtVirtualQGridLayout : public virtual QGridLayout {
|
|
|
|
public:
|
|
|
|
|
|
|
|
MiqtVirtualQGridLayout(QWidget* parent): QGridLayout(parent) {};
|
|
|
|
MiqtVirtualQGridLayout(): QGridLayout() {};
|
|
|
|
|
|
|
|
virtual ~MiqtVirtualQGridLayout() = default;
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__SizeHint = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual QSize sizeHint() const override {
|
|
|
|
if (handle__SizeHint == 0) {
|
|
|
|
return QGridLayout::sizeHint();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QSize* callback_return_value = miqt_exec_callback_QGridLayout_SizeHint(const_cast<MiqtVirtualQGridLayout*>(this), handle__SizeHint);
|
|
|
|
|
|
|
|
return *callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
QSize* virtualbase_SizeHint() const {
|
|
|
|
|
|
|
|
return new QSize(QGridLayout::sizeHint());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__MinimumSize = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual QSize minimumSize() const override {
|
|
|
|
if (handle__MinimumSize == 0) {
|
|
|
|
return QGridLayout::minimumSize();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QSize* callback_return_value = miqt_exec_callback_QGridLayout_MinimumSize(const_cast<MiqtVirtualQGridLayout*>(this), handle__MinimumSize);
|
|
|
|
|
|
|
|
return *callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
QSize* virtualbase_MinimumSize() const {
|
|
|
|
|
|
|
|
return new QSize(QGridLayout::minimumSize());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__MaximumSize = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual QSize maximumSize() const override {
|
|
|
|
if (handle__MaximumSize == 0) {
|
|
|
|
return QGridLayout::maximumSize();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QSize* callback_return_value = miqt_exec_callback_QGridLayout_MaximumSize(const_cast<MiqtVirtualQGridLayout*>(this), handle__MaximumSize);
|
|
|
|
|
|
|
|
return *callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
QSize* virtualbase_MaximumSize() const {
|
|
|
|
|
|
|
|
return new QSize(QGridLayout::maximumSize());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__HasHeightForWidth = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual bool hasHeightForWidth() const override {
|
|
|
|
if (handle__HasHeightForWidth == 0) {
|
|
|
|
return QGridLayout::hasHeightForWidth();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool callback_return_value = miqt_exec_callback_QGridLayout_HasHeightForWidth(const_cast<MiqtVirtualQGridLayout*>(this), handle__HasHeightForWidth);
|
|
|
|
|
|
|
|
return callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
bool virtualbase_HasHeightForWidth() const {
|
|
|
|
|
|
|
|
return QGridLayout::hasHeightForWidth();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__HeightForWidth = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual int heightForWidth(int param1) const override {
|
|
|
|
if (handle__HeightForWidth == 0) {
|
|
|
|
return QGridLayout::heightForWidth(param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
int sigval1 = param1;
|
|
|
|
|
|
|
|
int callback_return_value = miqt_exec_callback_QGridLayout_HeightForWidth(const_cast<MiqtVirtualQGridLayout*>(this), handle__HeightForWidth, sigval1);
|
|
|
|
|
|
|
|
return static_cast<int>(callback_return_value);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
int virtualbase_HeightForWidth(int param1) const {
|
|
|
|
|
|
|
|
return QGridLayout::heightForWidth(static_cast<int>(param1));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__MinimumHeightForWidth = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual int minimumHeightForWidth(int param1) const override {
|
|
|
|
if (handle__MinimumHeightForWidth == 0) {
|
|
|
|
return QGridLayout::minimumHeightForWidth(param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
int sigval1 = param1;
|
|
|
|
|
|
|
|
int callback_return_value = miqt_exec_callback_QGridLayout_MinimumHeightForWidth(const_cast<MiqtVirtualQGridLayout*>(this), handle__MinimumHeightForWidth, sigval1);
|
|
|
|
|
|
|
|
return static_cast<int>(callback_return_value);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
int virtualbase_MinimumHeightForWidth(int param1) const {
|
|
|
|
|
|
|
|
return QGridLayout::minimumHeightForWidth(static_cast<int>(param1));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__ExpandingDirections = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual Qt::Orientations expandingDirections() const override {
|
|
|
|
if (handle__ExpandingDirections == 0) {
|
|
|
|
return QGridLayout::expandingDirections();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int callback_return_value = miqt_exec_callback_QGridLayout_ExpandingDirections(const_cast<MiqtVirtualQGridLayout*>(this), handle__ExpandingDirections);
|
|
|
|
|
|
|
|
return static_cast<Qt::Orientations>(callback_return_value);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
int virtualbase_ExpandingDirections() const {
|
|
|
|
|
|
|
|
Qt::Orientations _ret = QGridLayout::expandingDirections();
|
|
|
|
return static_cast<int>(_ret);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__Invalidate = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual void invalidate() override {
|
|
|
|
if (handle__Invalidate == 0) {
|
|
|
|
QGridLayout::invalidate();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
miqt_exec_callback_QGridLayout_Invalidate(this, handle__Invalidate);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
void virtualbase_Invalidate() {
|
|
|
|
|
|
|
|
QGridLayout::invalidate();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__ItemAt = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual QLayoutItem* itemAt(int index) const override {
|
|
|
|
if (handle__ItemAt == 0) {
|
|
|
|
return QGridLayout::itemAt(index);
|
|
|
|
}
|
|
|
|
|
|
|
|
int sigval1 = index;
|
|
|
|
|
|
|
|
QLayoutItem* callback_return_value = miqt_exec_callback_QGridLayout_ItemAt(const_cast<MiqtVirtualQGridLayout*>(this), handle__ItemAt, sigval1);
|
|
|
|
|
|
|
|
return callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
QLayoutItem* virtualbase_ItemAt(int index) const {
|
|
|
|
|
|
|
|
return QGridLayout::itemAt(static_cast<int>(index));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__TakeAt = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual QLayoutItem* takeAt(int index) override {
|
|
|
|
if (handle__TakeAt == 0) {
|
|
|
|
return QGridLayout::takeAt(index);
|
|
|
|
}
|
|
|
|
|
|
|
|
int sigval1 = index;
|
|
|
|
|
|
|
|
QLayoutItem* callback_return_value = miqt_exec_callback_QGridLayout_TakeAt(this, handle__TakeAt, sigval1);
|
|
|
|
|
|
|
|
return callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
QLayoutItem* virtualbase_TakeAt(int index) {
|
|
|
|
|
|
|
|
return QGridLayout::takeAt(static_cast<int>(index));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__Count = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual int count() const override {
|
|
|
|
if (handle__Count == 0) {
|
|
|
|
return QGridLayout::count();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int callback_return_value = miqt_exec_callback_QGridLayout_Count(const_cast<MiqtVirtualQGridLayout*>(this), handle__Count);
|
|
|
|
|
|
|
|
return static_cast<int>(callback_return_value);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
int virtualbase_Count() const {
|
|
|
|
|
|
|
|
return QGridLayout::count();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__SetGeometry = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual void setGeometry(const QRect& geometry) override {
|
|
|
|
if (handle__SetGeometry == 0) {
|
|
|
|
QGridLayout::setGeometry(geometry);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
const QRect& geometry_ret = geometry;
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
QRect* sigval1 = const_cast<QRect*>(&geometry_ret);
|
|
|
|
|
|
|
|
miqt_exec_callback_QGridLayout_SetGeometry(this, handle__SetGeometry, sigval1);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
void virtualbase_SetGeometry(QRect* geometry) {
|
|
|
|
|
|
|
|
QGridLayout::setGeometry(*geometry);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__AddItemWithQLayoutItem = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual void addItem(QLayoutItem* param1) override {
|
|
|
|
if (handle__AddItemWithQLayoutItem == 0) {
|
|
|
|
QGridLayout::addItem(param1);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLayoutItem* sigval1 = param1;
|
|
|
|
|
|
|
|
miqt_exec_callback_QGridLayout_AddItemWithQLayoutItem(this, handle__AddItemWithQLayoutItem, sigval1);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
void virtualbase_AddItemWithQLayoutItem(QLayoutItem* param1) {
|
|
|
|
|
|
|
|
QGridLayout::addItem(param1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__Geometry = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual QRect geometry() const override {
|
|
|
|
if (handle__Geometry == 0) {
|
|
|
|
return QGridLayout::geometry();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QRect* callback_return_value = miqt_exec_callback_QGridLayout_Geometry(const_cast<MiqtVirtualQGridLayout*>(this), handle__Geometry);
|
|
|
|
|
|
|
|
return *callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
QRect* virtualbase_Geometry() const {
|
|
|
|
|
|
|
|
return new QRect(QGridLayout::geometry());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__IndexOf = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual int indexOf(QWidget* param1) const override {
|
|
|
|
if (handle__IndexOf == 0) {
|
|
|
|
return QGridLayout::indexOf(param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QWidget* sigval1 = param1;
|
|
|
|
|
|
|
|
int callback_return_value = miqt_exec_callback_QGridLayout_IndexOf(const_cast<MiqtVirtualQGridLayout*>(this), handle__IndexOf, sigval1);
|
|
|
|
|
|
|
|
return static_cast<int>(callback_return_value);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
int virtualbase_IndexOf(QWidget* param1) const {
|
|
|
|
|
|
|
|
return QGridLayout::indexOf(param1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__IsEmpty = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual bool isEmpty() const override {
|
|
|
|
if (handle__IsEmpty == 0) {
|
|
|
|
return QGridLayout::isEmpty();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool callback_return_value = miqt_exec_callback_QGridLayout_IsEmpty(const_cast<MiqtVirtualQGridLayout*>(this), handle__IsEmpty);
|
|
|
|
|
|
|
|
return callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
bool virtualbase_IsEmpty() const {
|
|
|
|
|
|
|
|
return QGridLayout::isEmpty();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__ControlTypes = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual QSizePolicy::ControlTypes controlTypes() const override {
|
|
|
|
if (handle__ControlTypes == 0) {
|
|
|
|
return QGridLayout::controlTypes();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int callback_return_value = miqt_exec_callback_QGridLayout_ControlTypes(const_cast<MiqtVirtualQGridLayout*>(this), handle__ControlTypes);
|
|
|
|
|
|
|
|
return static_cast<QSizePolicy::ControlTypes>(callback_return_value);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
int virtualbase_ControlTypes() const {
|
|
|
|
|
|
|
|
QSizePolicy::ControlTypes _ret = QGridLayout::controlTypes();
|
|
|
|
return static_cast<int>(_ret);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__Layout = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual QLayout* layout() override {
|
|
|
|
if (handle__Layout == 0) {
|
|
|
|
return QGridLayout::layout();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QLayout* callback_return_value = miqt_exec_callback_QGridLayout_Layout(this, handle__Layout);
|
|
|
|
|
|
|
|
return callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
QLayout* virtualbase_Layout() {
|
|
|
|
|
|
|
|
return QGridLayout::layout();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__ChildEvent = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual void childEvent(QChildEvent* e) override {
|
|
|
|
if (handle__ChildEvent == 0) {
|
|
|
|
QGridLayout::childEvent(e);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
QChildEvent* sigval1 = e;
|
|
|
|
|
|
|
|
miqt_exec_callback_QGridLayout_ChildEvent(this, handle__ChildEvent, sigval1);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
void virtualbase_ChildEvent(QChildEvent* e) {
|
|
|
|
|
|
|
|
QGridLayout::childEvent(e);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
void QGridLayout_new(QWidget* parent, QGridLayout** outptr_QGridLayout, QLayout** outptr_QLayout, QObject** outptr_QObject, QLayoutItem** outptr_QLayoutItem) {
|
|
|
|
MiqtVirtualQGridLayout* ret = new MiqtVirtualQGridLayout(parent);
|
|
|
|
*outptr_QGridLayout = ret;
|
|
|
|
*outptr_QLayout = static_cast<QLayout*>(ret);
|
|
|
|
*outptr_QObject = static_cast<QObject*>(ret);
|
|
|
|
*outptr_QLayoutItem = static_cast<QLayoutItem*>(ret);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QGridLayout_new2(QGridLayout** outptr_QGridLayout, QLayout** outptr_QLayout, QObject** outptr_QObject, QLayoutItem** outptr_QLayoutItem) {
|
|
|
|
MiqtVirtualQGridLayout* ret = new MiqtVirtualQGridLayout();
|
|
|
|
*outptr_QGridLayout = ret;
|
|
|
|
*outptr_QLayout = static_cast<QLayout*>(ret);
|
|
|
|
*outptr_QObject = static_cast<QObject*>(ret);
|
|
|
|
*outptr_QLayoutItem = static_cast<QLayoutItem*>(ret);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QGridLayout_MetaObject(const QGridLayout* self) {
|
|
|
|
return (QMetaObject*) self->metaObject();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QGridLayout_Metacast(QGridLayout* self, const char* param1) {
|
|
|
|
return self->qt_metacast(param1);
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QGridLayout_Tr(const char* s) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QGridLayout::tr(s);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QGridLayout_TrUtf8(const char* s) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QGridLayout::trUtf8(s);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QGridLayout_SizeHint(const QGridLayout* self) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QSize(self->sizeHint());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QGridLayout_MinimumSize(const QGridLayout* self) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QSize(self->minimumSize());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QGridLayout_MaximumSize(const QGridLayout* self) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QSize(self->maximumSize());
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_SetHorizontalSpacing(QGridLayout* self, int spacing) {
|
|
|
|
self->setHorizontalSpacing(static_cast<int>(spacing));
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_HorizontalSpacing(const QGridLayout* self) {
|
|
|
|
return self->horizontalSpacing();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_SetVerticalSpacing(QGridLayout* self, int spacing) {
|
|
|
|
self->setVerticalSpacing(static_cast<int>(spacing));
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_VerticalSpacing(const QGridLayout* self) {
|
|
|
|
return self->verticalSpacing();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_SetSpacing(QGridLayout* self, int spacing) {
|
|
|
|
self->setSpacing(static_cast<int>(spacing));
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_Spacing(const QGridLayout* self) {
|
|
|
|
return self->spacing();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_SetRowStretch(QGridLayout* self, int row, int stretch) {
|
|
|
|
self->setRowStretch(static_cast<int>(row), static_cast<int>(stretch));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_SetColumnStretch(QGridLayout* self, int column, int stretch) {
|
|
|
|
self->setColumnStretch(static_cast<int>(column), static_cast<int>(stretch));
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_RowStretch(const QGridLayout* self, int row) {
|
|
|
|
return self->rowStretch(static_cast<int>(row));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_ColumnStretch(const QGridLayout* self, int column) {
|
|
|
|
return self->columnStretch(static_cast<int>(column));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_SetRowMinimumHeight(QGridLayout* self, int row, int minSize) {
|
|
|
|
self->setRowMinimumHeight(static_cast<int>(row), static_cast<int>(minSize));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_SetColumnMinimumWidth(QGridLayout* self, int column, int minSize) {
|
|
|
|
self->setColumnMinimumWidth(static_cast<int>(column), static_cast<int>(minSize));
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_RowMinimumHeight(const QGridLayout* self, int row) {
|
|
|
|
return self->rowMinimumHeight(static_cast<int>(row));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_ColumnMinimumWidth(const QGridLayout* self, int column) {
|
|
|
|
return self->columnMinimumWidth(static_cast<int>(column));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_ColumnCount(const QGridLayout* self) {
|
|
|
|
return self->columnCount();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_RowCount(const QGridLayout* self) {
|
|
|
|
return self->rowCount();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QRect* QGridLayout_CellRect(const QGridLayout* self, int row, int column) {
|
2024-09-17 06:29:11 +00:00
|
|
|
return new QRect(self->cellRect(static_cast<int>(row), static_cast<int>(column)));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QGridLayout_HasHeightForWidth(const QGridLayout* self) {
|
|
|
|
return self->hasHeightForWidth();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_HeightForWidth(const QGridLayout* self, int param1) {
|
|
|
|
return self->heightForWidth(static_cast<int>(param1));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_MinimumHeightForWidth(const QGridLayout* self, int param1) {
|
|
|
|
return self->minimumHeightForWidth(static_cast<int>(param1));
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_ExpandingDirections(const QGridLayout* self) {
|
2024-09-14 22:29:05 +00:00
|
|
|
Qt::Orientations _ret = self->expandingDirections();
|
|
|
|
return static_cast<int>(_ret);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_Invalidate(QGridLayout* self) {
|
|
|
|
self->invalidate();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddWidget(QGridLayout* self, QWidget* w) {
|
|
|
|
self->addWidget(w);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
void QGridLayout_AddWidget2(QGridLayout* self, QWidget* param1, int row, int column) {
|
|
|
|
self->addWidget(param1, static_cast<int>(row), static_cast<int>(column));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddWidget3(QGridLayout* self, QWidget* param1, int row, int column, int rowSpan, int columnSpan) {
|
|
|
|
self->addWidget(param1, static_cast<int>(row), static_cast<int>(column), static_cast<int>(rowSpan), static_cast<int>(columnSpan));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddLayout(QGridLayout* self, QLayout* param1, int row, int column) {
|
|
|
|
self->addLayout(param1, static_cast<int>(row), static_cast<int>(column));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddLayout2(QGridLayout* self, QLayout* param1, int row, int column, int rowSpan, int columnSpan) {
|
|
|
|
self->addLayout(param1, static_cast<int>(row), static_cast<int>(column), static_cast<int>(rowSpan), static_cast<int>(columnSpan));
|
|
|
|
}
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
void QGridLayout_SetOriginCorner(QGridLayout* self, int originCorner) {
|
2024-08-29 07:01:51 +00:00
|
|
|
self->setOriginCorner(static_cast<Qt::Corner>(originCorner));
|
|
|
|
}
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
int QGridLayout_OriginCorner(const QGridLayout* self) {
|
2024-09-14 22:29:05 +00:00
|
|
|
Qt::Corner _ret = self->originCorner();
|
2024-09-18 00:12:02 +00:00
|
|
|
return static_cast<int>(_ret);
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QLayoutItem* QGridLayout_ItemAt(const QGridLayout* self, int index) {
|
|
|
|
return self->itemAt(static_cast<int>(index));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QLayoutItem* QGridLayout_ItemAtPosition(const QGridLayout* self, int row, int column) {
|
|
|
|
return self->itemAtPosition(static_cast<int>(row), static_cast<int>(column));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QLayoutItem* QGridLayout_TakeAt(QGridLayout* self, int index) {
|
|
|
|
return self->takeAt(static_cast<int>(index));
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
int QGridLayout_Count(const QGridLayout* self) {
|
|
|
|
return self->count();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_SetGeometry(QGridLayout* self, QRect* geometry) {
|
|
|
|
self->setGeometry(*geometry);
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
void QGridLayout_AddItem(QGridLayout* self, QLayoutItem* item, int row, int column) {
|
|
|
|
self->addItem(item, static_cast<int>(row), static_cast<int>(column));
|
|
|
|
}
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
void QGridLayout_SetDefaultPositioning(QGridLayout* self, int n, int orient) {
|
2024-08-29 07:01:51 +00:00
|
|
|
self->setDefaultPositioning(static_cast<int>(n), static_cast<Qt::Orientation>(orient));
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
void QGridLayout_GetItemPosition(const QGridLayout* self, int idx, int* row, int* column, int* rowSpan, int* columnSpan) {
|
|
|
|
self->getItemPosition(static_cast<int>(idx), static_cast<int*>(row), static_cast<int*>(column), static_cast<int*>(rowSpan), static_cast<int*>(columnSpan));
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QGridLayout_Tr2(const char* s, const char* c) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QGridLayout::tr(s, c);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QGridLayout_Tr3(const char* s, const char* c, int n) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QGridLayout::tr(s, c, static_cast<int>(n));
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QGridLayout_TrUtf82(const char* s, const char* c) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QGridLayout::trUtf8(s, c);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QGridLayout_TrUtf83(const char* s, const char* c, int n) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QGridLayout::trUtf8(s, c, static_cast<int>(n));
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
void QGridLayout_AddWidget4(QGridLayout* self, QWidget* param1, int row, int column, int param4) {
|
|
|
|
self->addWidget(param1, static_cast<int>(row), static_cast<int>(column), static_cast<Qt::Alignment>(param4));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddWidget6(QGridLayout* self, QWidget* param1, int row, int column, int rowSpan, int columnSpan, int param6) {
|
|
|
|
self->addWidget(param1, static_cast<int>(row), static_cast<int>(column), static_cast<int>(rowSpan), static_cast<int>(columnSpan), static_cast<Qt::Alignment>(param6));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddLayout4(QGridLayout* self, QLayout* param1, int row, int column, int param4) {
|
|
|
|
self->addLayout(param1, static_cast<int>(row), static_cast<int>(column), static_cast<Qt::Alignment>(param4));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddLayout6(QGridLayout* self, QLayout* param1, int row, int column, int rowSpan, int columnSpan, int param6) {
|
|
|
|
self->addLayout(param1, static_cast<int>(row), static_cast<int>(column), static_cast<int>(rowSpan), static_cast<int>(columnSpan), static_cast<Qt::Alignment>(param6));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddItem4(QGridLayout* self, QLayoutItem* item, int row, int column, int rowSpan) {
|
|
|
|
self->addItem(item, static_cast<int>(row), static_cast<int>(column), static_cast<int>(rowSpan));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddItem5(QGridLayout* self, QLayoutItem* item, int row, int column, int rowSpan, int columnSpan) {
|
|
|
|
self->addItem(item, static_cast<int>(row), static_cast<int>(column), static_cast<int>(rowSpan), static_cast<int>(columnSpan));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_AddItem6(QGridLayout* self, QLayoutItem* item, int row, int column, int rowSpan, int columnSpan, int param6) {
|
|
|
|
self->addItem(item, static_cast<int>(row), static_cast<int>(column), static_cast<int>(rowSpan), static_cast<int>(columnSpan), static_cast<Qt::Alignment>(param6));
|
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QGridLayout_override_virtual_SizeHint(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__SizeHint = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSize* QGridLayout_virtualbase_SizeHint(const void* self) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_SizeHint();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_MinimumSize(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__MinimumSize = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSize* QGridLayout_virtualbase_MinimumSize(const void* self) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_MinimumSize();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_MaximumSize(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__MaximumSize = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
QSize* QGridLayout_virtualbase_MaximumSize(const void* self) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_MaximumSize();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_HasHeightForWidth(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__HasHeightForWidth = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QGridLayout_virtualbase_HasHeightForWidth(const void* self) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_HasHeightForWidth();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_HeightForWidth(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__HeightForWidth = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
int QGridLayout_virtualbase_HeightForWidth(const void* self, int param1) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_HeightForWidth(param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_MinimumHeightForWidth(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__MinimumHeightForWidth = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
int QGridLayout_virtualbase_MinimumHeightForWidth(const void* self, int param1) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_MinimumHeightForWidth(param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_ExpandingDirections(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__ExpandingDirections = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
int QGridLayout_virtualbase_ExpandingDirections(const void* self) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_ExpandingDirections();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_Invalidate(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__Invalidate = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_virtualbase_Invalidate(void* self) {
|
|
|
|
( (MiqtVirtualQGridLayout*)(self) )->virtualbase_Invalidate();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_ItemAt(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__ItemAt = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLayoutItem* QGridLayout_virtualbase_ItemAt(const void* self, int index) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_ItemAt(index);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_TakeAt(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__TakeAt = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLayoutItem* QGridLayout_virtualbase_TakeAt(void* self, int index) {
|
|
|
|
return ( (MiqtVirtualQGridLayout*)(self) )->virtualbase_TakeAt(index);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_Count(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__Count = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
int QGridLayout_virtualbase_Count(const void* self) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_Count();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_SetGeometry(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__SetGeometry = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_virtualbase_SetGeometry(void* self, QRect* geometry) {
|
|
|
|
( (MiqtVirtualQGridLayout*)(self) )->virtualbase_SetGeometry(geometry);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_AddItemWithQLayoutItem(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__AddItemWithQLayoutItem = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_virtualbase_AddItemWithQLayoutItem(void* self, QLayoutItem* param1) {
|
|
|
|
( (MiqtVirtualQGridLayout*)(self) )->virtualbase_AddItemWithQLayoutItem(param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_Geometry(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__Geometry = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
QRect* QGridLayout_virtualbase_Geometry(const void* self) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_Geometry();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_IndexOf(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__IndexOf = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
int QGridLayout_virtualbase_IndexOf(const void* self, QWidget* param1) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_IndexOf(param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_IsEmpty(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__IsEmpty = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QGridLayout_virtualbase_IsEmpty(const void* self) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_IsEmpty();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_ControlTypes(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__ControlTypes = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
int QGridLayout_virtualbase_ControlTypes(const void* self) {
|
|
|
|
return ( (const MiqtVirtualQGridLayout*)(self) )->virtualbase_ControlTypes();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_Layout(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__Layout = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLayout* QGridLayout_virtualbase_Layout(void* self) {
|
|
|
|
return ( (MiqtVirtualQGridLayout*)(self) )->virtualbase_Layout();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_override_virtual_ChildEvent(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQGridLayout*>( (QGridLayout*)(self) )->handle__ChildEvent = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_virtualbase_ChildEvent(void* self, QChildEvent* e) {
|
|
|
|
( (MiqtVirtualQGridLayout*)(self) )->virtualbase_ChildEvent(e);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QGridLayout_Delete(QGridLayout* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<MiqtVirtualQGridLayout*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|