|
|
#include "PythonQtWrapper_QGraphicsLayoutItem.h"
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qgraphicslayoutitem.h>
|
|
|
#include <qrect.h>
|
|
|
#include <qsize.h>
|
|
|
#include <qsizepolicy.h>
|
|
|
|
|
|
QRectF PythonQtWrapper_QGraphicsLayoutItem::contentsRect(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->contentsRect();
|
|
|
}
|
|
|
|
|
|
QSizeF PythonQtWrapper_QGraphicsLayoutItem::effectiveSizeHint(QGraphicsLayoutItem* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const
|
|
|
{
|
|
|
return theWrappedObject->effectiveSizeHint(which, constraint);
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QGraphicsLayoutItem::geometry(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->geometry();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::getContentsMargins(QGraphicsLayoutItem* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const
|
|
|
{
|
|
|
theWrappedObject->getContentsMargins(left, top, right, bottom);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsLayoutItem::isLayout(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isLayout();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsLayoutItem::maximumHeight(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->maximumHeight();
|
|
|
}
|
|
|
|
|
|
QSizeF PythonQtWrapper_QGraphicsLayoutItem::maximumSize(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->maximumSize();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsLayoutItem::maximumWidth(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->maximumWidth();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsLayoutItem::minimumHeight(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->minimumHeight();
|
|
|
}
|
|
|
|
|
|
QSizeF PythonQtWrapper_QGraphicsLayoutItem::minimumSize(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->minimumSize();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsLayoutItem::minimumWidth(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->minimumWidth();
|
|
|
}
|
|
|
|
|
|
QGraphicsLayoutItem* PythonQtWrapper_QGraphicsLayoutItem::parentLayoutItem(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->parentLayoutItem();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsLayoutItem::preferredHeight(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->preferredHeight();
|
|
|
}
|
|
|
|
|
|
QSizeF PythonQtWrapper_QGraphicsLayoutItem::preferredSize(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->preferredSize();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsLayoutItem::preferredWidth(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->preferredWidth();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setGeometry(QGraphicsLayoutItem* theWrappedObject, const QRectF& rect)
|
|
|
{
|
|
|
theWrappedObject->setGeometry(rect);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setMaximumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height)
|
|
|
{
|
|
|
theWrappedObject->setMaximumHeight(height);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size)
|
|
|
{
|
|
|
theWrappedObject->setMaximumSize(size);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setMaximumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h)
|
|
|
{
|
|
|
theWrappedObject->setMaximumSize(w, h);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setMaximumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width)
|
|
|
{
|
|
|
theWrappedObject->setMaximumWidth(width);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setMinimumHeight(QGraphicsLayoutItem* theWrappedObject, qreal height)
|
|
|
{
|
|
|
theWrappedObject->setMinimumHeight(height);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size)
|
|
|
{
|
|
|
theWrappedObject->setMinimumSize(size);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setMinimumSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h)
|
|
|
{
|
|
|
theWrappedObject->setMinimumSize(w, h);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setMinimumWidth(QGraphicsLayoutItem* theWrappedObject, qreal width)
|
|
|
{
|
|
|
theWrappedObject->setMinimumWidth(width);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setParentLayoutItem(QGraphicsLayoutItem* theWrappedObject, QGraphicsLayoutItem* parent)
|
|
|
{
|
|
|
theWrappedObject->setParentLayoutItem(parent);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setPreferredHeight(QGraphicsLayoutItem* theWrappedObject, qreal height)
|
|
|
{
|
|
|
theWrappedObject->setPreferredHeight(height);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, const QSizeF& size)
|
|
|
{
|
|
|
theWrappedObject->setPreferredSize(size);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setPreferredSize(QGraphicsLayoutItem* theWrappedObject, qreal w, qreal h)
|
|
|
{
|
|
|
theWrappedObject->setPreferredSize(w, h);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setPreferredWidth(QGraphicsLayoutItem* theWrappedObject, qreal width)
|
|
|
{
|
|
|
theWrappedObject->setPreferredWidth(width);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType)
|
|
|
{
|
|
|
theWrappedObject->setSizePolicy(hPolicy, vPolicy, controlType);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::setSizePolicy(QGraphicsLayoutItem* theWrappedObject, const QSizePolicy& policy)
|
|
|
{
|
|
|
theWrappedObject->setSizePolicy(policy);
|
|
|
}
|
|
|
|
|
|
QSizePolicy PythonQtWrapper_QGraphicsLayoutItem::sizePolicy(QGraphicsLayoutItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->sizePolicy();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsLayoutItem::updateGeometry(QGraphicsLayoutItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->updateGeometry();
|
|
|
}
|
|
|
|
|
|
|