##// 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_QTimeLine.h
74 lines | 3.1 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QTIMELINE_H
#define PYTHONQTWRAPPER_QTIMELINE_H
#include <qtimeline.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 <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qtimeline.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QTimeLine : public QTimeLine
{
public:
PythonQtShell_QTimeLine(int duration = 1000, QObject* parent = 0):QTimeLine(duration, parent),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* event);
virtual qreal valueForTime(int msec) const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTimeLine : public QTimeLine
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_timerEvent(QTimerEvent* event) { QTimeLine::timerEvent(event); }
inline qreal promoted_valueForTime(int msec) const { return QTimeLine::valueForTime(msec); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QTimeLine : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Direction CurveShape State )
enum Direction{
Forward = QTimeLine::Forward, Backward = QTimeLine::Backward};
enum CurveShape{
EaseInCurve = QTimeLine::EaseInCurve, EaseOutCurve = QTimeLine::EaseOutCurve, EaseInOutCurve = QTimeLine::EaseInOutCurve, LinearCurve = QTimeLine::LinearCurve, SineCurve = QTimeLine::SineCurve, CosineCurve = QTimeLine::CosineCurve};
enum State{
NotRunning = QTimeLine::NotRunning, Paused = QTimeLine::Paused, Running = QTimeLine::Running};
public slots:
QTimeLine* new_QTimeLine(int duration = 1000, QObject* parent = 0);
void delete_QTimeLine(QTimeLine* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 void setEndFrame(QTimeLine* theWrappedObject, int frame);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setStartFrame(QTimeLine* theWrappedObject, int frame);
florianlink
upgraded wrappers to current generator version...
r28 void timerEvent(QTimeLine* theWrappedObject, QTimerEvent* event);
void setUpdateInterval(QTimeLine* theWrappedObject, int interval);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int updateInterval(QTimeLine* theWrappedObject) const;
int duration(QTimeLine* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QTimeLine::Direction direction(QTimeLine* theWrappedObject) const;
qreal currentValue(QTimeLine* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 int loopCount(QTimeLine* theWrappedObject) const;
void setDirection(QTimeLine* theWrappedObject, QTimeLine::Direction direction);
florianlink
upgraded wrappers to current generator version...
r28 int endFrame(QTimeLine* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setDuration(QTimeLine* theWrappedObject, int duration);
florianlink
upgraded wrappers to current generator version...
r28 QTimeLine::CurveShape curveShape(QTimeLine* theWrappedObject) const;
QTimeLine::State state(QTimeLine* theWrappedObject) const;
qreal valueForTime(QTimeLine* theWrappedObject, int msec) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setLoopCount(QTimeLine* theWrappedObject, int count);
florianlink
upgraded wrappers to current generator version...
r28 int frameForTime(QTimeLine* theWrappedObject, int msec) const;
void setCurveShape(QTimeLine* theWrappedObject, QTimeLine::CurveShape shape);
void setFrameRange(QTimeLine* theWrappedObject, int startFrame, int endFrame);
int startFrame(QTimeLine* theWrappedObject) const;
int currentTime(QTimeLine* theWrappedObject) const;
int currentFrame(QTimeLine* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTIMELINE_H