##// END OF EJS Templates
added PyLauncher example...
added PyLauncher example added hadError() to scripting console added addSysPath() git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@50 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r14:59f352c6d9fb
Show More
PythonQtWrapper_QImage.cpp
409 lines | 11.0 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QImage.h"
#include <QMatrix>
#include <QStringList>
#include <QVariant>
#include <qbytearray.h>
#include <qdatastream.h>
#include <qimage.h>
#include <qiodevice.h>
#include <qmatrix.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpoint.h>
#include <qrect.h>
#include <qsize.h>
#include <qstringlist.h>
#include <qtransform.h>
#include <qvector.h>
QImage* PythonQtWrapper_QImage::new_QImage()
{
return new QImage(); }
QImage* PythonQtWrapper_QImage::new_QImage(const QImage& arg__1)
{
return new QImage(arg__1); }
QImage* PythonQtWrapper_QImage::new_QImage(const QSize& size, QImage::Format format)
{
return new QImage(size, format); }
QImage* PythonQtWrapper_QImage::new_QImage(const QString& fileName, const char* format)
{
return new QImage(fileName, format); }
QImage* PythonQtWrapper_QImage::new_QImage(int width, int height, QImage::Format format)
{
return new QImage(width, height, format); }
bool PythonQtWrapper_QImage::allGray(QImage* theWrappedObject) const
{
return theWrappedObject->allGray();
}
QImage PythonQtWrapper_QImage::alphaChannel(QImage* theWrappedObject) const
{
return theWrappedObject->alphaChannel();
}
int PythonQtWrapper_QImage::bytesPerLine(QImage* theWrappedObject) const
{
return theWrappedObject->bytesPerLine();
}
qint64 PythonQtWrapper_QImage::cacheKey(QImage* theWrappedObject) const
{
return theWrappedObject->cacheKey();
}
unsigned int PythonQtWrapper_QImage::color(QImage* theWrappedObject, int i) const
{
return theWrappedObject->color(i);
}
QVector<unsigned int > PythonQtWrapper_QImage::colorTable(QImage* theWrappedObject) const
{
return theWrappedObject->colorTable();
}
QImage PythonQtWrapper_QImage::convertToFormat(QImage* theWrappedObject, QImage::Format f, Qt::ImageConversionFlags flags) const
{
return theWrappedObject->convertToFormat(f, flags);
}
QImage PythonQtWrapper_QImage::convertToFormat(QImage* theWrappedObject, QImage::Format f, const QVector<unsigned int >& colorTable, Qt::ImageConversionFlags flags) const
{
return theWrappedObject->convertToFormat(f, colorTable, flags);
}
QImage PythonQtWrapper_QImage::copy(QImage* theWrappedObject, const QRect& rect) const
{
return theWrappedObject->copy(rect);
}
QImage PythonQtWrapper_QImage::copy(QImage* theWrappedObject, int x, int y, int w, int h) const
{
return theWrappedObject->copy(x, y, w, h);
}
QImage PythonQtWrapper_QImage::createAlphaMask(QImage* theWrappedObject, Qt::ImageConversionFlags flags) const
{
return theWrappedObject->createAlphaMask(flags);
}
QImage PythonQtWrapper_QImage::createHeuristicMask(QImage* theWrappedObject, bool clipTight) const
{
return theWrappedObject->createHeuristicMask(clipTight);
}
QImage PythonQtWrapper_QImage::createMaskFromColor(QImage* theWrappedObject, unsigned int color, Qt::MaskMode mode) const
{
return theWrappedObject->createMaskFromColor(color, mode);
}
int PythonQtWrapper_QImage::depth(QImage* theWrappedObject) const
{
return theWrappedObject->depth();
}
int PythonQtWrapper_QImage::devType(QImage* theWrappedObject) const
{
return theWrappedObject->devType();
}
int PythonQtWrapper_QImage::dotsPerMeterX(QImage* theWrappedObject) const
{
return theWrappedObject->dotsPerMeterX();
}
int PythonQtWrapper_QImage::dotsPerMeterY(QImage* theWrappedObject) const
{
return theWrappedObject->dotsPerMeterY();
}
void PythonQtWrapper_QImage::fill(QImage* theWrappedObject, uint pixel)
{
theWrappedObject->fill(pixel);
}
QImage::Format PythonQtWrapper_QImage::format(QImage* theWrappedObject) const
{
return theWrappedObject->format();
}
QImage PythonQtWrapper_QImage::static_QImage_fromData(const QByteArray& data, const char* format)
{
return QImage::fromData(data, format);
}
bool PythonQtWrapper_QImage::hasAlphaChannel(QImage* theWrappedObject) const
{
return theWrappedObject->hasAlphaChannel();
}
int PythonQtWrapper_QImage::height(QImage* theWrappedObject) const
{
return theWrappedObject->height();
}
int PythonQtWrapper_QImage::heightMM(QImage* theWrappedObject) const
{
return theWrappedObject->heightMM();
}
void PythonQtWrapper_QImage::invertPixels(QImage* theWrappedObject, QImage::InvertMode arg__1)
{
theWrappedObject->invertPixels(arg__1);
}
bool PythonQtWrapper_QImage::isGrayscale(QImage* theWrappedObject) const
{
return theWrappedObject->isGrayscale();
}
bool PythonQtWrapper_QImage::isNull(QImage* theWrappedObject) const
{
return theWrappedObject->isNull();
}
bool PythonQtWrapper_QImage::load(QImage* theWrappedObject, QIODevice* device, const char* format)
{
return theWrappedObject->load(device, format);
}
bool PythonQtWrapper_QImage::load(QImage* theWrappedObject, const QString& fileName, const char* format)
{
return theWrappedObject->load(fileName, format);
}
bool PythonQtWrapper_QImage::loadFromData(QImage* theWrappedObject, const QByteArray& data, const char* aformat)
{
return theWrappedObject->loadFromData(data, aformat);
}
int PythonQtWrapper_QImage::logicalDpiX(QImage* theWrappedObject) const
{
return theWrappedObject->logicalDpiX();
}
int PythonQtWrapper_QImage::logicalDpiY(QImage* theWrappedObject) const
{
return theWrappedObject->logicalDpiY();
}
QImage PythonQtWrapper_QImage::mirrored(QImage* theWrappedObject, bool horizontally, bool vertically) const
{
return theWrappedObject->mirrored(horizontally, vertically);
}
int PythonQtWrapper_QImage::numBytes(QImage* theWrappedObject) const
{
return theWrappedObject->numBytes();
}
int PythonQtWrapper_QImage::numColors(QImage* theWrappedObject) const
{
return theWrappedObject->numColors();
}
QPoint PythonQtWrapper_QImage::offset(QImage* theWrappedObject) const
{
return theWrappedObject->offset();
}
void PythonQtWrapper_QImage::writeTo(QImage* theWrappedObject, QDataStream& arg__1)
{
arg__1 << *theWrappedObject;
}
bool PythonQtWrapper_QImage::operator_equal(QImage* theWrappedObject, const QImage& arg__1) const
{
return *theWrappedObject == arg__1;
}
void PythonQtWrapper_QImage::readFrom(QImage* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> *theWrappedObject;
}
QPaintEngine* PythonQtWrapper_QImage::paintEngine(QImage* theWrappedObject) const
{
return theWrappedObject->paintEngine();
}
bool PythonQtWrapper_QImage::paintingActive(QImage* theWrappedObject) const
{
return theWrappedObject->paintingActive();
}
int PythonQtWrapper_QImage::physicalDpiX(QImage* theWrappedObject) const
{
return theWrappedObject->physicalDpiX();
}
int PythonQtWrapper_QImage::physicalDpiY(QImage* theWrappedObject) const
{
return theWrappedObject->physicalDpiY();
}
unsigned int PythonQtWrapper_QImage::pixel(QImage* theWrappedObject, const QPoint& pt) const
{
return theWrappedObject->pixel(pt);
}
unsigned int PythonQtWrapper_QImage::pixel(QImage* theWrappedObject, int x, int y) const
{
return theWrappedObject->pixel(x, y);
}
int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, const QPoint& pt) const
{
return theWrappedObject->pixelIndex(pt);
}
int PythonQtWrapper_QImage::pixelIndex(QImage* theWrappedObject, int x, int y) const
{
return theWrappedObject->pixelIndex(x, y);
}
QRect PythonQtWrapper_QImage::rect(QImage* theWrappedObject) const
{
return theWrappedObject->rect();
}
QImage PythonQtWrapper_QImage::rgbSwapped(QImage* theWrappedObject) const
{
return theWrappedObject->rgbSwapped();
}
bool PythonQtWrapper_QImage::save(QImage* theWrappedObject, QIODevice* device, const char* format, int quality) const
{
return theWrappedObject->save(device, format, quality);
}
bool PythonQtWrapper_QImage::save(QImage* theWrappedObject, const QString& fileName, const char* format, int quality) const
{
return theWrappedObject->save(fileName, format, quality);
}
QImage PythonQtWrapper_QImage::scaled(QImage* theWrappedObject, const QSize& s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const
{
return theWrappedObject->scaled(s, aspectMode, mode);
}
QImage PythonQtWrapper_QImage::scaled(QImage* theWrappedObject, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) const
{
return theWrappedObject->scaled(w, h, aspectMode, mode);
}
QImage PythonQtWrapper_QImage::scaledToHeight(QImage* theWrappedObject, int h, Qt::TransformationMode mode) const
{
return theWrappedObject->scaledToHeight(h, mode);
}
QImage PythonQtWrapper_QImage::scaledToWidth(QImage* theWrappedObject, int w, Qt::TransformationMode mode) const
{
return theWrappedObject->scaledToWidth(w, mode);
}
void PythonQtWrapper_QImage::setAlphaChannel(QImage* theWrappedObject, const QImage& alphaChannel)
{
theWrappedObject->setAlphaChannel(alphaChannel);
}
void PythonQtWrapper_QImage::setColor(QImage* theWrappedObject, int i, unsigned int c)
{
theWrappedObject->setColor(i, c);
}
void PythonQtWrapper_QImage::setDotsPerMeterX(QImage* theWrappedObject, int arg__1)
{
theWrappedObject->setDotsPerMeterX(arg__1);
}
void PythonQtWrapper_QImage::setDotsPerMeterY(QImage* theWrappedObject, int arg__1)
{
theWrappedObject->setDotsPerMeterY(arg__1);
}
void PythonQtWrapper_QImage::setNumColors(QImage* theWrappedObject, int arg__1)
{
theWrappedObject->setNumColors(arg__1);
}
void PythonQtWrapper_QImage::setOffset(QImage* theWrappedObject, const QPoint& arg__1)
{
theWrappedObject->setOffset(arg__1);
}
void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, const QPoint& pt, uint index_or_rgb)
{
theWrappedObject->setPixel(pt, index_or_rgb);
}
void PythonQtWrapper_QImage::setPixel(QImage* theWrappedObject, int x, int y, uint index_or_rgb)
{
theWrappedObject->setPixel(x, y, index_or_rgb);
}
void PythonQtWrapper_QImage::setText(QImage* theWrappedObject, const QString& key, const QString& value)
{
theWrappedObject->setText(key, value);
}
QSize PythonQtWrapper_QImage::size(QImage* theWrappedObject) const
{
return theWrappedObject->size();
}
QString PythonQtWrapper_QImage::text(QImage* theWrappedObject, const QString& key) const
{
return theWrappedObject->text(key);
}
QStringList PythonQtWrapper_QImage::textKeys(QImage* theWrappedObject) const
{
return theWrappedObject->textKeys();
}
QImage PythonQtWrapper_QImage::transformed(QImage* theWrappedObject, const QMatrix& matrix, Qt::TransformationMode mode) const
{
return theWrappedObject->transformed(matrix, mode);
}
QImage PythonQtWrapper_QImage::transformed(QImage* theWrappedObject, const QTransform& matrix, Qt::TransformationMode mode) const
{
return theWrappedObject->transformed(matrix, mode);
}
QMatrix PythonQtWrapper_QImage::static_QImage_trueMatrix(const QMatrix& arg__1, int w, int h)
{
return QImage::trueMatrix(arg__1, w, h);
}
QTransform PythonQtWrapper_QImage::static_QImage_trueMatrix(const QTransform& arg__1, int w, int h)
{
return QImage::trueMatrix(arg__1, w, h);
}
bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, const QPoint& pt) const
{
return theWrappedObject->valid(pt);
}
bool PythonQtWrapper_QImage::valid(QImage* theWrappedObject, int x, int y) const
{
return theWrappedObject->valid(x, y);
}
int PythonQtWrapper_QImage::width(QImage* theWrappedObject) const
{
return theWrappedObject->width();
}
int PythonQtWrapper_QImage::widthMM(QImage* theWrappedObject) const
{
return theWrappedObject->widthMM();
}