##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
Show More
PythonQtWrapper_QPaintDevice.h
55 lines | 2.2 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QPAINTDEVICE_H
#define PYTHONQTWRAPPER_QPAINTDEVICE_H
#include <qpaintdevice.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qpaintdevice.h>
#include <qpaintengine.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QPaintDevice : public QPaintDevice
{
public:
PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(NULL) {};
virtual int devType() const;
virtual int metric(QPaintDevice::PaintDeviceMetric metric) const;
virtual QPaintEngine* paintEngine() const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QPaintDevice : public QPaintDevice
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline int promoted_devType() const { return QPaintDevice::devType(); }
inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDevice::metric(metric); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QPaintDevice : public QObject
{ Q_OBJECT
public:
Q_ENUMS(PaintDeviceMetric )
enum PaintDeviceMetric{
PdmWidth = QPaintDevice::PdmWidth, PdmHeight = QPaintDevice::PdmHeight, PdmWidthMM = QPaintDevice::PdmWidthMM, PdmHeightMM = QPaintDevice::PdmHeightMM, PdmNumColors = QPaintDevice::PdmNumColors, PdmDepth = QPaintDevice::PdmDepth, PdmDpiX = QPaintDevice::PdmDpiX, PdmDpiY = QPaintDevice::PdmDpiY, PdmPhysicalDpiX = QPaintDevice::PdmPhysicalDpiX, PdmPhysicalDpiY = QPaintDevice::PdmPhysicalDpiY};
public slots:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QPaintDevice* new_QPaintDevice();
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QPaintDevice(QPaintDevice* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool paintingActive(QPaintDevice* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int numColors(QPaintDevice* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 int depth(QPaintDevice* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int logicalDpiX(QPaintDevice* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int physicalDpiY(QPaintDevice* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int width(QPaintDevice* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int widthMM(QPaintDevice* theWrappedObject) const;
int logicalDpiY(QPaintDevice* theWrappedObject) const;
int heightMM(QPaintDevice* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int devType(QPaintDevice* theWrappedObject) const;
int height(QPaintDevice* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const;
int physicalDpiX(QPaintDevice* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QPAINTDEVICE_H