PythonQtWrapper_QLinearGradient.h
36 lines
| 1.3 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QLINEARGRADIENT_H | ||
#define PYTHONQTWRAPPER_QLINEARGRADIENT_H | ||||
#include <qbrush.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbrush.h> | ||||
#include <qcolor.h> | ||||
#include <qpair.h> | ||||
#include <qpoint.h> | ||||
#include <qvector.h> | ||||
class PythonQtWrapper_QLinearGradient : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QLinearGradient* new_QLinearGradient(); | ||||
QLinearGradient* new_QLinearGradient(const QPointF& start, const QPointF& finalStop); | ||||
QLinearGradient* new_QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop); | ||||
florianlink
|
r24 | QLinearGradient* new_QLinearGradient(const QLinearGradient& other) { | ||
QLinearGradient* a = new QLinearGradient(); | ||||
*((QLinearGradient*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QLinearGradient(QLinearGradient* obj) { delete obj; } | ||
florianlink
|
r28 | void setStart(QLinearGradient* theWrappedObject, qreal x, qreal y); | ||
florianlink
|
r13 | void setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop); | ||
void setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y); | ||||
QPointF start(QLinearGradient* theWrappedObject) const; | ||||
florianlink
|
r28 | void setStart(QLinearGradient* theWrappedObject, const QPointF& start); | ||
QPointF finalStop(QLinearGradient* theWrappedObject) const; | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QLINEARGRADIENT_H | ||||