##// 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_QSize.h
45 lines | 1.7 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSIZE_H
#define PYTHONQTWRAPPER_QSIZE_H
#include <qsize.h>
#include <QObject>
#include <PythonQt.h>
#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);
QSize* new_QSize(const QSize& other) {
QSize* a = new QSize();
*((QSize*)a) = other;
return a; }
void delete_QSize(QSize* obj) { delete obj; }
bool isEmpty(QSize* theWrappedObject) const;
bool operator_equal(QSize* theWrappedObject, const QSize& s2);
void transpose(QSize* theWrappedObject);
int height(QSize* theWrappedObject) const;
bool isNull(QSize* theWrappedObject) const;
void writeTo(QSize* theWrappedObject, QDataStream& arg__1);
QSize& operator_subtract_assign(QSize* theWrappedObject, const QSize& arg__1);
bool isValid(QSize* theWrappedObject) const;
void readFrom(QSize* theWrappedObject, QDataStream& arg__1);
QSize expandedTo(QSize* theWrappedObject, const QSize& arg__1) const;
QSize& operator_add_assign(QSize* theWrappedObject, const QSize& arg__1);
QSize& operator_multiply_assign(QSize* theWrappedObject, qreal c);
QSize& operator_divide_assign(QSize* theWrappedObject, qreal c);
QSize boundedTo(QSize* theWrappedObject, const QSize& arg__1) const;
void setHeight(QSize* theWrappedObject, int h);
void setWidth(QSize* theWrappedObject, int w);
void scale(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode);
void scale(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode);
int width(QSize* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSIZE_H