##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QGLColormap.cpp
62 lines | 1.8 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));
}
QColor PythonQtWrapper_QGLColormap::entryColor(QGLColormap* theWrappedObject, int idx) const
{
return ( theWrappedObject->entryColor(idx));
}
int PythonQtWrapper_QGLColormap::find(QGLColormap* theWrappedObject, unsigned int color) const
{
return ( theWrappedObject->find(color));
}
int PythonQtWrapper_QGLColormap::size(QGLColormap* theWrappedObject) const
{
return ( theWrappedObject->size());
}
int PythonQtWrapper_QGLColormap::findNearest(QGLColormap* theWrappedObject, unsigned int color) const
{
return ( theWrappedObject->findNearest(color));
}
void PythonQtWrapper_QGLColormap::setEntries(QGLColormap* theWrappedObject, int count, const unsigned int* colors, int base)
{
( theWrappedObject->setEntries(count, colors, base));
}
bool PythonQtWrapper_QGLColormap::isEmpty(QGLColormap* theWrappedObject) const
{
return ( theWrappedObject->isEmpty());
}
void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color)
{
( theWrappedObject->setEntry(idx, color));
}
void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color)
{
( theWrappedObject->setEntry(idx, color));
}