##// END OF EJS Templates
updated version number, next version will be 2.0 due to the wrapping generator addition...
updated version number, next version will be 2.0 due to the wrapping generator addition git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@69 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r33:1742cf875fd9
Show More
PythonQtWrapper_QGLColormap.h
41 lines | 1.4 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QGLCOLORMAP_H
#define PYTHONQTWRAPPER_QGLCOLORMAP_H
#include <qglcolormap.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qcolor.h>
#include <qglcolormap.h>
class PythonQtShell_QGLColormap : public QGLColormap
{
public:
PythonQtShell_QGLColormap():QGLColormap(),_wrapper(NULL) {};
PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QGLColormap : public QObject
{ Q_OBJECT
public:
public slots:
QGLColormap* new_QGLColormap();
QGLColormap* new_QGLColormap(const QGLColormap& arg__1);
void delete_QGLColormap(QGLColormap* obj) { delete obj; }
unsigned int entryRgb(QGLColormap* theWrappedObject, int idx) const;
void setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color);
void setEntries(QGLColormap* theWrappedObject, int count, const unsigned int* colors, int base = 0);
void setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color);
QColor entryColor(QGLColormap* theWrappedObject, int idx) const;
int findNearest(QGLColormap* theWrappedObject, unsigned int color) const;
bool isEmpty(QGLColormap* theWrappedObject) const;
int find(QGLColormap* theWrappedObject, unsigned int color) const;
int size(QGLColormap* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QGLCOLORMAP_H