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