##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QLine.h
48 lines | 1.7 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QLINE_H
#define PYTHONQTWRAPPER_QLINE_H
#include <qline.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qdatastream.h>
#include <qline.h>
#include <qpoint.h>
class PythonQtWrapper_QLine : public QObject
{ Q_OBJECT
public:
public slots:
QLine* new_QLine();
QLine* new_QLine(const QPoint& pt1, const QPoint& pt2);
QLine* new_QLine(int x1, int y1, int x2, int y2);
QLine* new_QLine(const QLine& other) {
QLine* a = new QLine();
*((QLine*)a) = other;
return a; }
void delete_QLine(QLine* obj) { delete obj; }
int y1(QLine* theWrappedObject) const;
void translate(QLine* theWrappedObject, const QPoint& p);
QLine translated(QLine* theWrappedObject, const QPoint& p) const;
void setP2(QLine* theWrappedObject, const QPoint& p2);
bool isNull(QLine* theWrappedObject) const;
void setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2);
int dy(QLine* theWrappedObject) const;
QPoint p2(QLine* theWrappedObject) const;
int y2(QLine* theWrappedObject) const;
int dx(QLine* theWrappedObject) const;
void setP1(QLine* theWrappedObject, const QPoint& p1);
QLine translated(QLine* theWrappedObject, int dx, int dy) const;
void setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2);
void writeTo(QLine* theWrappedObject, QDataStream& arg__1);
void translate(QLine* theWrappedObject, int dx, int dy);
int x1(QLine* theWrappedObject) const;
void readFrom(QLine* theWrappedObject, QDataStream& arg__1);
int x2(QLine* theWrappedObject) const;
QPoint p1(QLine* theWrappedObject) const;
bool operator_equal(QLine* theWrappedObject, const QLine& d) const;
};
#endif // PYTHONQTWRAPPER_QLINE_H