##// 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_QGLColormap.cpp
62 lines | 1.7 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QGLColormap.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qcolor.h>
#include <qglcolormap.h>
QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap()
{
return new PythonQtShell_QGLColormap(); }
QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap(const QGLColormap& arg__1)
{
return new PythonQtShell_QGLColormap(arg__1); }
unsigned int PythonQtWrapper_QGLColormap::entryRgb(QGLColormap* theWrappedObject, int idx) const
{
return theWrappedObject->entryRgb(idx);
}
void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color)
{
theWrappedObject->setEntry(idx, color);
}
void PythonQtWrapper_QGLColormap::setEntries(QGLColormap* theWrappedObject, int count, const unsigned int* colors, int base)
{
theWrappedObject->setEntries(count, colors, base);
}
void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color)
{
theWrappedObject->setEntry(idx, color);
}
QColor PythonQtWrapper_QGLColormap::entryColor(QGLColormap* theWrappedObject, int idx) const
{
return theWrappedObject->entryColor(idx);
}
int PythonQtWrapper_QGLColormap::findNearest(QGLColormap* theWrappedObject, unsigned int color) const
{
return theWrappedObject->findNearest(color);
}
bool PythonQtWrapper_QGLColormap::isEmpty(QGLColormap* theWrappedObject) const
{
return theWrappedObject->isEmpty();
}
int PythonQtWrapper_QGLColormap::find(QGLColormap* theWrappedObject, unsigned int color) const
{
return theWrappedObject->find(color);
}
int PythonQtWrapper_QGLColormap::size(QGLColormap* theWrappedObject) const
{
return theWrappedObject->size();
}