##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QLinearGradient.h
30 lines | 1.1 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QLINEARGRADIENT_H
#define PYTHONQTWRAPPER_QLINEARGRADIENT_H
#include <qbrush.h>
#include <QObject>
#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);
void delete_QLinearGradient(QLinearGradient* obj) { delete obj; }
QPointF finalStop(QLinearGradient* theWrappedObject) const;
void setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop);
void setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y);
void setStart(QLinearGradient* theWrappedObject, const QPointF& start);
void setStart(QLinearGradient* theWrappedObject, qreal x, qreal y);
QPointF start(QLinearGradient* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QLINEARGRADIENT_H