|
|
#include "PythonQtWrapper_QRectF.h"
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qdatastream.h>
|
|
|
#include <qpoint.h>
|
|
|
#include <qrect.h>
|
|
|
#include <qsize.h>
|
|
|
|
|
|
QRectF* PythonQtWrapper_QRectF::new_QRectF()
|
|
|
{
|
|
|
return new QRectF(); }
|
|
|
|
|
|
QRectF* PythonQtWrapper_QRectF::new_QRectF(const QPointF& topleft, const QPointF& bottomRight)
|
|
|
{
|
|
|
return new QRectF(topleft, bottomRight); }
|
|
|
|
|
|
QRectF* PythonQtWrapper_QRectF::new_QRectF(const QPointF& topleft, const QSizeF& size)
|
|
|
{
|
|
|
return new QRectF(topleft, size); }
|
|
|
|
|
|
QRectF* PythonQtWrapper_QRectF::new_QRectF(const QRect& rect)
|
|
|
{
|
|
|
return new QRectF(rect); }
|
|
|
|
|
|
QRectF* PythonQtWrapper_QRectF::new_QRectF(qreal left, qreal top, qreal width, qreal height)
|
|
|
{
|
|
|
return new QRectF(left, top, width, height); }
|
|
|
|
|
|
void PythonQtWrapper_QRectF::adjust(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2)
|
|
|
{
|
|
|
theWrappedObject->adjust(x1, y1, x2, y2);
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QRectF::adjusted(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2) const
|
|
|
{
|
|
|
return theWrappedObject->adjusted(x1, y1, x2, y2);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QRectF::bottom(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->bottom();
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QRectF::bottomLeft(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->bottomLeft();
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QRectF::bottomRight(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->bottomRight();
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QRectF::center(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->center();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QPointF& p) const
|
|
|
{
|
|
|
return theWrappedObject->contains(p);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, const QRectF& r) const
|
|
|
{
|
|
|
return theWrappedObject->contains(r);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QRectF::contains(QRectF* theWrappedObject, qreal x, qreal y) const
|
|
|
{
|
|
|
return theWrappedObject->contains(x, y);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QRectF::height(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->height();
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QRectF::intersected(QRectF* theWrappedObject, const QRectF& other) const
|
|
|
{
|
|
|
return theWrappedObject->intersected(other);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QRectF::intersects(QRectF* theWrappedObject, const QRectF& r) const
|
|
|
{
|
|
|
return theWrappedObject->intersects(r);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QRectF::isEmpty(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isEmpty();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QRectF::isNull(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isNull();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QRectF::isValid(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isValid();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QRectF::left(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->left();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveBottom(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->moveBottom(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveBottomLeft(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->moveBottomLeft(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveBottomRight(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->moveBottomRight(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveCenter(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->moveCenter(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveLeft(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->moveLeft(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveRight(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->moveRight(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveTo(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->moveTo(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveTo(QRectF* theWrappedObject, qreal x, qreal t)
|
|
|
{
|
|
|
theWrappedObject->moveTo(x, t);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveTop(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->moveTop(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveTopLeft(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->moveTopLeft(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::moveTopRight(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->moveTopRight(p);
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QRectF::normalized(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->normalized();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::writeTo(QRectF* theWrappedObject, QDataStream& arg__1)
|
|
|
{
|
|
|
arg__1 << *theWrappedObject;
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QRectF::operator_equal(QRectF* theWrappedObject, const QRectF& arg__2)
|
|
|
{
|
|
|
return *theWrappedObject == arg__2;
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::readFrom(QRectF* theWrappedObject, QDataStream& arg__1)
|
|
|
{
|
|
|
arg__1 >> *theWrappedObject;
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QRectF::right(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->right();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setBottom(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->setBottom(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setBottomLeft(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->setBottomLeft(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setBottomRight(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->setBottomRight(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setCoords(QRectF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2)
|
|
|
{
|
|
|
theWrappedObject->setCoords(x1, y1, x2, y2);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setHeight(QRectF* theWrappedObject, qreal h)
|
|
|
{
|
|
|
theWrappedObject->setHeight(h);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setLeft(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->setLeft(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setRect(QRectF* theWrappedObject, qreal x, qreal y, qreal w, qreal h)
|
|
|
{
|
|
|
theWrappedObject->setRect(x, y, w, h);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setRight(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->setRight(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setSize(QRectF* theWrappedObject, const QSizeF& s)
|
|
|
{
|
|
|
theWrappedObject->setSize(s);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setTop(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->setTop(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setTopLeft(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->setTopLeft(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setTopRight(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->setTopRight(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setWidth(QRectF* theWrappedObject, qreal w)
|
|
|
{
|
|
|
theWrappedObject->setWidth(w);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setX(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->setX(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::setY(QRectF* theWrappedObject, qreal pos)
|
|
|
{
|
|
|
theWrappedObject->setY(pos);
|
|
|
}
|
|
|
|
|
|
QSizeF PythonQtWrapper_QRectF::size(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->size();
|
|
|
}
|
|
|
|
|
|
QRect PythonQtWrapper_QRectF::toAlignedRect(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->toAlignedRect();
|
|
|
}
|
|
|
|
|
|
QRect PythonQtWrapper_QRectF::toRect(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->toRect();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QRectF::top(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->top();
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QRectF::topLeft(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->topLeft();
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QRectF::topRight(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->topRight();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
theWrappedObject->translate(p);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QRectF::translate(QRectF* theWrappedObject, qreal dx, qreal dy)
|
|
|
{
|
|
|
theWrappedObject->translate(dx, dy);
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, const QPointF& p) const
|
|
|
{
|
|
|
return theWrappedObject->translated(p);
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QRectF::translated(QRectF* theWrappedObject, qreal dx, qreal dy) const
|
|
|
{
|
|
|
return theWrappedObject->translated(dx, dy);
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QRectF::united(QRectF* theWrappedObject, const QRectF& other) const
|
|
|
{
|
|
|
return theWrappedObject->united(other);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QRectF::width(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->width();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QRectF::x(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->x();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QRectF::y(QRectF* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->y();
|
|
|
}
|
|
|
|
|
|
|