PythonQtWrapper_QPolygonF.cpp
257 lines
| 6.5 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QPolygonF.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qdatastream.h> | ||||
#include <qlist.h> | ||||
#include <qpoint.h> | ||||
#include <qpolygon.h> | ||||
#include <qrect.h> | ||||
#include <qvector.h> | ||||
QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF() | ||||
{ | ||||
return new QPolygonF(); } | ||||
QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygon& a) | ||||
{ | ||||
return new QPolygonF(a); } | ||||
QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygonF& a) | ||||
{ | ||||
return new QPolygonF(a); } | ||||
QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QRectF& r) | ||||
{ | ||||
return new QPolygonF(r); } | ||||
QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QVector<QPointF >& v) | ||||
{ | ||||
return new QPolygonF(v); } | ||||
QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(int size) | ||||
{ | ||||
return new QPolygonF(size); } | ||||
|
r28 | void PythonQtWrapper_QPolygonF::push_back(QPolygonF* theWrappedObject, const QPointF& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->push_back(t); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::clear(QPolygonF* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->clear(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QPolygonF::contains(QPolygonF* theWrappedObject, const QPointF& t) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->contains(t); | ||
|
r13 | } | ||
|
r28 | const QPointF& PythonQtWrapper_QPolygonF::first(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->first(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QPolygonF::containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->containsPoint(pt, fillRule); | ||
|
r13 | } | ||
|
r28 | const QPointF& PythonQtWrapper_QPolygonF::at(QPolygonF* theWrappedObject, int i) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->at(i); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QPolygonF::capacity(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->capacity(); | ||
|
r13 | } | ||
|
r28 | QVector<QPointF > PythonQtWrapper_QPolygonF::static_QPolygonF_fromList(const QList<QPointF >& list) | ||
|
r13 | { | ||
|
r28 | return QPolygonF::fromList(list); | ||
|
r13 | } | ||
|
r24 | bool PythonQtWrapper_QPolygonF::empty(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->empty(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QPolygonF::indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->indexOf(t, from); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QPolygonF::isClosed(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isClosed(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::squeeze(QPolygonF* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->squeeze(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isEmpty(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QPolygonF::operator_equal(QPolygonF* theWrappedObject, const QVector<QPointF >& v) const | ||
|
r13 | { | ||
|
r28 | return (*theWrappedObject)== v; | ||
|
r13 | } | ||
|
r28 | QList<QPointF > PythonQtWrapper_QPolygonF::toList(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->toList(); | ||
|
r13 | } | ||
|
r28 | QPolygonF PythonQtWrapper_QPolygonF::intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->intersected(r); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::pop_front(QPolygonF* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->pop_front(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject, const QPointF& t) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->count(t); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->value(i); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->count(); | ||
|
r13 | } | ||
|
r28 | QVector<QPointF >& PythonQtWrapper_QPolygonF::fill(QPolygonF* theWrappedObject, const QPointF& t, int size) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->fill(t, size); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QPointF& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->append(t); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QPolygonF::lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->lastIndexOf(t, from); | ||
|
r13 | } | ||
|
r28 | QVector<QPointF > PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int length) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->mid(pos, length); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::setSharable(QPolygonF* theWrappedObject, bool sharable) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setSharable(sharable); | ||
|
r13 | } | ||
|
r28 | QRectF PythonQtWrapper_QPolygonF::boundingRect(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->boundingRect(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::writeTo(QPolygonF* theWrappedObject, QDataStream& stream) | ||
|
r13 | { | ||
|
r28 | stream << (*theWrappedObject); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, qreal dx, qreal dy) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->translate(dx, dy); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::reserve(QPolygonF* theWrappedObject, int size) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->reserve(size); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::resize(QPolygonF* theWrappedObject, int size) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->resize(size); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, const QPointF& offset) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->translate(offset); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, const QPointF& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->prepend(t); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::replace(QPolygonF* theWrappedObject, int i, const QPointF& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->replace(i, t); | ||
|
r13 | } | ||
|
r28 | QPolygon PythonQtWrapper_QPolygonF::toPolygon(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->toPolygon(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::pop_back(QPolygonF* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->pop_back(); | ||
|
r13 | } | ||
|
r28 | QPolygonF PythonQtWrapper_QPolygonF::subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->subtracted(r); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i, int n) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->remove(i, n); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::readFrom(QPolygonF* theWrappedObject, QDataStream& stream) | ||
|
r13 | { | ||
|
r28 | stream >> (*theWrappedObject); | ||
|
r13 | } | ||
|
r28 | const QPointF& PythonQtWrapper_QPolygonF::last(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->last(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QPolygonF::size(QPolygonF* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->size(); | ||
|
r13 | } | ||
|
r28 | QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->value(i, defaultValue); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->remove(i); | ||
|
r13 | } | ||
|
r28 | QPolygonF PythonQtWrapper_QPolygonF::united(QPolygonF* theWrappedObject, const QPolygonF& r) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->united(r); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QPolygonF::push_front(QPolygonF* theWrappedObject, const QPointF& t) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->push_front(t); | ||
|
r13 | } | ||