PythonQtWrapper_QSizeF.h
48 lines
| 1.8 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QSIZEF_H | ||
#define PYTHONQTWRAPPER_QSIZEF_H | ||||
#include <qsize.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qdatastream.h> | ||||
#include <qsize.h> | ||||
class PythonQtWrapper_QSizeF : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QSizeF* new_QSizeF(); | ||||
QSizeF* new_QSizeF(const QSize& sz); | ||||
QSizeF* new_QSizeF(qreal w, qreal h); | ||||
florianlink
|
r24 | QSizeF* new_QSizeF(const QSizeF& other) { | ||
QSizeF* a = new QSizeF(); | ||||
*((QSizeF*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QSizeF(QSizeF* obj) { delete obj; } | ||
florianlink
|
r28 | void transpose(QSizeF* theWrappedObject); | ||
florianlink
|
r13 | QSizeF expandedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const; | ||
florianlink
|
r73 | QSizeF* operator_add_assign(QSizeF* theWrappedObject, const QSizeF& arg__1); | ||
florianlink
|
r24 | void setHeight(QSizeF* theWrappedObject, qreal h); | ||
florianlink
|
r13 | void scale(QSizeF* theWrappedObject, const QSizeF& s, Qt::AspectRatioMode mode); | ||
void scale(QSizeF* theWrappedObject, qreal w, qreal h, Qt::AspectRatioMode mode); | ||||
florianlink
|
r73 | QSizeF* operator_divide_assign(QSizeF* theWrappedObject, qreal c); | ||
QSizeF boundedTo(QSizeF* theWrappedObject, const QSizeF& arg__1) const; | ||||
bool isNull(QSizeF* theWrappedObject) const; | ||||
void writeTo(QSizeF* theWrappedObject, QDataStream& arg__1); | ||||
void setWidth(QSizeF* theWrappedObject, qreal w); | ||||
QSize toSize(QSizeF* theWrappedObject) const; | ||||
bool isValid(QSizeF* theWrappedObject) const; | ||||
QSizeF* operator_multiply_assign(QSizeF* theWrappedObject, qreal c); | ||||
florianlink
|
r24 | void readFrom(QSizeF* theWrappedObject, QDataStream& arg__1); | ||
florianlink
|
r73 | QSizeF* operator_subtract_assign(QSizeF* theWrappedObject, const QSizeF& arg__1); | ||
bool operator_equal(QSizeF* theWrappedObject, const QSizeF& s2); | ||||
qreal height(QSizeF* theWrappedObject) const; | ||||
bool isEmpty(QSizeF* theWrappedObject) const; | ||||
florianlink
|
r28 | qreal width(QSizeF* theWrappedObject) const; | ||
florianlink
|
r73 | QString toString(QSizeF*); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QSIZEF_H | ||||