PythonQtWrapper_QGridLayout.cpp
633 lines
| 22.0 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QGridLayout.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qgridlayout.h> | ||||
#include <qlayout.h> | ||||
#include <qlayoutitem.h> | ||||
#include <qlist.h> | ||||
#include <qobject.h> | ||||
#include <qrect.h> | ||||
#include <qsize.h> | ||||
#include <qwidget.h> | ||||
|
r24 | void PythonQtShell_QGridLayout::addItem(QLayoutItem* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "addItem"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"addItem(QGridLayout*,QLayoutItem* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QGridLayout::addItem(arg__1); | ||||
} | ||||
void PythonQtShell_QGridLayout::childEvent(QChildEvent* e) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"childEvent(QGridLayout*,QChildEvent* )"); | ||||
void* args[2] = {NULL, (void*)&e}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QGridLayout::childEvent(e); | ||||
} | ||||
int PythonQtShell_QGridLayout::count() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "count"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"count(QGridLayout*)"); | ||||
int returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((int *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::count(); | ||||
} | ||||
void PythonQtShell_QGridLayout::customEvent(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"customEvent(QGridLayout*,QEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QGridLayout::customEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QGridLayout::event(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"event(QGridLayout*,QEvent* )"); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::event(arg__1); | ||||
} | ||||
bool PythonQtShell_QGridLayout::eventFilter(QObject* arg__1, QEvent* arg__2) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"eventFilter(QGridLayout*,QObject* ,QEvent* )"); | ||||
bool returnValue; | ||||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::eventFilter(arg__1, arg__2); | ||||
} | ||||
Qt::Orientations PythonQtShell_QGridLayout::expandingDirections() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "expandingDirections"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"expandingDirections(QGridLayout*)"); | ||||
Qt::Orientations returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((Qt::Orientations *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::expandingDirections(); | ||||
} | ||||
QRect PythonQtShell_QGridLayout::geometry() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "geometry"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"geometry(QGridLayout*)"); | ||||
QRect returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QRect *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::geometry(); | ||||
} | ||||
int PythonQtShell_QGridLayout::indexOf(QWidget* arg__1) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "indexOf"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"indexOf(QGridLayout*,QWidget* )"); | ||||
int returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((int *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::indexOf(arg__1); | ||||
} | ||||
void PythonQtShell_QGridLayout::invalidate() | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "invalidate"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"invalidate(QGridLayout*)"); | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QGridLayout::invalidate(); | ||||
} | ||||
bool PythonQtShell_QGridLayout::isEmpty() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "isEmpty"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"isEmpty(QGridLayout*)"); | ||||
bool returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::isEmpty(); | ||||
} | ||||
QLayoutItem* PythonQtShell_QGridLayout::itemAt(int index) const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "itemAt"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"itemAt(QGridLayout*,int )"); | ||||
QLayoutItem* returnValue; | ||||
void* args[2] = {NULL, (void*)&index}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QLayoutItem* *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::itemAt(index); | ||||
} | ||||
QLayout* PythonQtShell_QGridLayout::layout() | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "layout"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"layout(QGridLayout*)"); | ||||
QLayout* returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QLayout* *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::layout(); | ||||
} | ||||
QSize PythonQtShell_QGridLayout::maximumSize() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "maximumSize"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"maximumSize(QGridLayout*)"); | ||||
QSize returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QSize *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::maximumSize(); | ||||
} | ||||
QSize PythonQtShell_QGridLayout::minimumSize() const | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "minimumSize"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"minimumSize(QGridLayout*)"); | ||||
QSize returnValue; | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QSize *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::minimumSize(); | ||||
} | ||||
void PythonQtShell_QGridLayout::setGeometry(const QRect& arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setGeometry"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"setGeometry(QGridLayout*,const QRect& )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QGridLayout::setGeometry(arg__1); | ||||
} | ||||
QLayoutItem* PythonQtShell_QGridLayout::takeAt(int index) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "takeAt"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"takeAt(QGridLayout*,int )"); | ||||
QLayoutItem* returnValue; | ||||
void* args[2] = {NULL, (void*)&index}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QLayoutItem* *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QGridLayout::takeAt(index); | ||||
} | ||||
void PythonQtShell_QGridLayout::timerEvent(QTimerEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QGridLayout::staticMetaObject, | ||||
"timerEvent(QGridLayout*,QTimerEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QGridLayout::timerEvent(arg__1); | ||||
} | ||||
|
r13 | QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout() | ||
{ | ||||
|
r24 | return new PythonQtShell_QGridLayout(); } | ||
|
r13 | |||
QGridLayout* PythonQtWrapper_QGridLayout::new_QGridLayout(QWidget* parent) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QGridLayout(parent); } | ||
|
r13 | |||
|
r28 | void PythonQtWrapper_QGridLayout::setGeometry(QGridLayout* theWrappedObject, const QRect& arg__1) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_setGeometry(arg__1); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::setVerticalSpacing(QGridLayout* theWrappedObject, int spacing) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setVerticalSpacing(spacing); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::rowCount(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->rowCount(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::verticalSpacing(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->verticalSpacing(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::getItemPosition(QGridLayout* theWrappedObject, int idx, int* row, int* column, int* rowSpan, int* columnSpan) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->getItemPosition(idx, row, column, rowSpan, columnSpan); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, Qt::Alignment arg__4) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->addLayout(arg__1, row, column, arg__4); | ||
|
r13 | } | ||
|
r28 | QSize PythonQtWrapper_QGridLayout::minimumSize(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_minimumSize(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::setOriginCorner(QGridLayout* theWrappedObject, Qt::Corner arg__1) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setOriginCorner(arg__1); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::setRowStretch(QGridLayout* theWrappedObject, int row, int stretch) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setRowStretch(row, stretch); | ||
|
r24 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::minimumHeightForWidth(QGridLayout* theWrappedObject, int arg__1) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->minimumHeightForWidth(arg__1); | ||
|
r13 | } | ||
|
r28 | Qt::Corner PythonQtWrapper_QGridLayout::originCorner(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->originCorner(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, QLayoutItem* arg__1) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_addItem(arg__1); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::spacing(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->spacing(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::setColumnStretch(QGridLayout* theWrappedObject, int column, int stretch) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setColumnStretch(column, stretch); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::setHorizontalSpacing(QGridLayout* theWrappedObject, int spacing) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setHorizontalSpacing(spacing); | ||
|
r13 | } | ||
|
r28 | QLayoutItem* PythonQtWrapper_QGridLayout::takeAt(QGridLayout* theWrappedObject, int index) | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_takeAt(index); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::setRowMinimumHeight(QGridLayout* theWrappedObject, int row, int minSize) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setRowMinimumHeight(row, minSize); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, Qt::Alignment arg__4) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->addWidget(arg__1, row, column, arg__4); | ||
|
r13 | } | ||
|
r28 | QSize PythonQtWrapper_QGridLayout::sizeHint(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->sizeHint(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::addLayout(QGridLayout* theWrappedObject, QLayout* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->addLayout(arg__1, row, column, rowSpan, columnSpan, arg__6); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QGridLayout::hasHeightForWidth(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->hasHeightForWidth(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::invalidate(QGridLayout* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_invalidate(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::horizontalSpacing(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->horizontalSpacing(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::addWidget(QGridLayout* theWrappedObject, QWidget* arg__1, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->addWidget(arg__1, row, column, rowSpan, columnSpan, arg__6); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::columnStretch(QGridLayout* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->columnStretch(column); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::setDefaultPositioning(QGridLayout* theWrappedObject, int n, Qt::Orientation orient) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setDefaultPositioning(n, orient); | ||
|
r13 | } | ||
|
r24 | int PythonQtWrapper_QGridLayout::columnCount(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->columnCount(); | ||
|
r13 | } | ||
|
r28 | QLayoutItem* PythonQtWrapper_QGridLayout::itemAt(QGridLayout* theWrappedObject, int index) const | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_itemAt(index); | ||
|
r13 | } | ||
|
r28 | QRect PythonQtWrapper_QGridLayout::cellRect(QGridLayout* theWrappedObject, int row, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->cellRect(row, column); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::heightForWidth(QGridLayout* theWrappedObject, int arg__1) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->heightForWidth(arg__1); | ||
|
r13 | } | ||
|
r28 | QSize PythonQtWrapper_QGridLayout::maximumSize(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_maximumSize(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::setColumnMinimumWidth(QGridLayout* theWrappedObject, int column, int minSize) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setColumnMinimumWidth(column, minSize); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::rowMinimumHeight(QGridLayout* theWrappedObject, int row) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->rowMinimumHeight(row); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::rowStretch(QGridLayout* theWrappedObject, int row) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->rowStretch(row); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::addItem(QGridLayout* theWrappedObject, QLayoutItem* item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment arg__6) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->addItem(item, row, column, rowSpan, columnSpan, arg__6); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::columnMinimumWidth(QGridLayout* theWrappedObject, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->columnMinimumWidth(column); | ||
|
r13 | } | ||
|
r28 | Qt::Orientations PythonQtWrapper_QGridLayout::expandingDirections(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_expandingDirections(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QGridLayout::count(QGridLayout* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QGridLayout*)theWrappedObject)->promoted_count(); | ||
|
r13 | } | ||
|
r28 | QLayoutItem* PythonQtWrapper_QGridLayout::itemAtPosition(QGridLayout* theWrappedObject, int row, int column) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->itemAtPosition(row, column); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QGridLayout::setSpacing(QGridLayout* theWrappedObject, int spacing) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setSpacing(spacing); | ||
|
r13 | } | ||