##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
Show More
PythonQtWrapper_QLineF.h
64 lines | 2.8 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QLINEF_H
#define PYTHONQTWRAPPER_QLINEF_H
#include <qline.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qdatastream.h>
#include <qline.h>
#include <qpoint.h>
class PythonQtWrapper_QLineF : public QObject
{ Q_OBJECT
public:
Q_ENUMS(IntersectType )
enum IntersectType{
NoIntersection = QLineF::NoIntersection, BoundedIntersection = QLineF::BoundedIntersection, UnboundedIntersection = QLineF::UnboundedIntersection};
public slots:
QLineF* new_QLineF();
QLineF* new_QLineF(const QLine& line);
QLineF* new_QLineF(const QPointF& pt1, const QPointF& pt2);
QLineF* new_QLineF(qreal x1, qreal y1, qreal x2, qreal y2);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QLineF* new_QLineF(const QLineF& other) {
QLineF* a = new QLineF();
*((QLineF*)a) = other;
return a; }
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QLineF(QLineF* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 QPointF pointAt(QLineF* theWrappedObject, qreal t) const;
void setP1(QLineF* theWrappedObject, const QPointF& p1);
void setPoints(QLineF* theWrappedObject, const QPointF& p1, const QPointF& p2);
qreal y2(QLineF* theWrappedObject) const;
void setLength(QLineF* theWrappedObject, qreal len);
qreal angle(QLineF* theWrappedObject, const QLineF& l) const;
qreal length(QLineF* theWrappedObject) const;
void setAngle(QLineF* theWrappedObject, qreal angle);
qreal x1(QLineF* theWrappedObject) const;
QLine toLine(QLineF* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qreal y1(QLineF* theWrappedObject) const;
qreal x2(QLineF* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QLineF translated(QLineF* theWrappedObject, qreal dx, qreal dy) const;
void setLine(QLineF* theWrappedObject, qreal x1, qreal y1, qreal x2, qreal y2);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setP2(QLineF* theWrappedObject, const QPointF& p2);
florianlink
upgraded wrappers to current generator version...
r28 qreal angle(QLineF* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 qreal dx(QLineF* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QLineF translated(QLineF* theWrappedObject, const QPointF& p) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool isNull(QLineF* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QPointF p1(QLineF* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void translate(QLineF* theWrappedObject, qreal dx, qreal dy);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool operator_equal(QLineF* theWrappedObject, const QLineF& d) const;
florianlink
upgraded wrappers to current generator version...
r28 QPointF p2(QLineF* theWrappedObject) const;
void translate(QLineF* theWrappedObject, const QPointF& p);
QLineF::IntersectType intersect(QLineF* theWrappedObject, const QLineF& l, QPointF* intersectionPoint) const;
QLineF unitVector(QLineF* theWrappedObject) const;
void writeTo(QLineF* theWrappedObject, QDataStream& arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void readFrom(QLineF* theWrappedObject, QDataStream& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 qreal angleTo(QLineF* theWrappedObject, const QLineF& l) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qreal dy(QLineF* theWrappedObject) const;
QLineF static_QLineF_fromPolar(qreal length, qreal angle);
QLineF normalVector(QLineF* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QLINEF_H