##// 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_QTextFormat.cpp
262 lines | 7.3 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QTextFormat.h"
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qdatastream.h>
#include <qpen.h>
#include <qtextformat.h>
#include <qvector.h>
QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat()
{
return new QTextFormat(); }
QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat(const QTextFormat& rhs)
{
return new QTextFormat(rhs); }
QTextFormat* PythonQtWrapper_QTextFormat::new_QTextFormat(int type)
{
return new QTextFormat(type); }
QBrush PythonQtWrapper_QTextFormat::background(QTextFormat* theWrappedObject) const
{
return theWrappedObject->background();
}
bool PythonQtWrapper_QTextFormat::boolProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->boolProperty(propertyId);
}
QBrush PythonQtWrapper_QTextFormat::brushProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->brushProperty(propertyId);
}
void PythonQtWrapper_QTextFormat::clearBackground(QTextFormat* theWrappedObject)
{
theWrappedObject->clearBackground();
}
void PythonQtWrapper_QTextFormat::clearForeground(QTextFormat* theWrappedObject)
{
theWrappedObject->clearForeground();
}
void PythonQtWrapper_QTextFormat::clearProperty(QTextFormat* theWrappedObject, int propertyId)
{
theWrappedObject->clearProperty(propertyId);
}
QColor PythonQtWrapper_QTextFormat::colorProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->colorProperty(propertyId);
}
qreal PythonQtWrapper_QTextFormat::doubleProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->doubleProperty(propertyId);
}
QBrush PythonQtWrapper_QTextFormat::foreground(QTextFormat* theWrappedObject) const
{
return theWrappedObject->foreground();
}
bool PythonQtWrapper_QTextFormat::hasProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->hasProperty(propertyId);
}
int PythonQtWrapper_QTextFormat::intProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->intProperty(propertyId);
}
bool PythonQtWrapper_QTextFormat::isBlockFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->isBlockFormat();
}
bool PythonQtWrapper_QTextFormat::isCharFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->isCharFormat();
}
bool PythonQtWrapper_QTextFormat::isFrameFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->isFrameFormat();
}
bool PythonQtWrapper_QTextFormat::isImageFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->isImageFormat();
}
bool PythonQtWrapper_QTextFormat::isListFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->isListFormat();
}
bool PythonQtWrapper_QTextFormat::isTableCellFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->isTableCellFormat();
}
bool PythonQtWrapper_QTextFormat::isTableFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->isTableFormat();
}
bool PythonQtWrapper_QTextFormat::isValid(QTextFormat* theWrappedObject) const
{
return theWrappedObject->isValid();
}
Qt::LayoutDirection PythonQtWrapper_QTextFormat::layoutDirection(QTextFormat* theWrappedObject) const
{
return theWrappedObject->layoutDirection();
}
QTextLength PythonQtWrapper_QTextFormat::lengthProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->lengthProperty(propertyId);
}
QVector<QTextLength > PythonQtWrapper_QTextFormat::lengthVectorProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->lengthVectorProperty(propertyId);
}
void PythonQtWrapper_QTextFormat::merge(QTextFormat* theWrappedObject, const QTextFormat& other)
{
theWrappedObject->merge(other);
}
int PythonQtWrapper_QTextFormat::objectIndex(QTextFormat* theWrappedObject) const
{
return theWrappedObject->objectIndex();
}
int PythonQtWrapper_QTextFormat::objectType(QTextFormat* theWrappedObject) const
{
return theWrappedObject->objectType();
}
void PythonQtWrapper_QTextFormat::writeTo(QTextFormat* theWrappedObject, QDataStream& arg__1)
{
arg__1 << *theWrappedObject;
}
bool PythonQtWrapper_QTextFormat::operator_equal(QTextFormat* theWrappedObject, const QTextFormat& rhs) const
{
return *theWrappedObject == rhs;
}
void PythonQtWrapper_QTextFormat::readFrom(QTextFormat* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> *theWrappedObject;
}
QPen PythonQtWrapper_QTextFormat::penProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->penProperty(propertyId);
}
QMap<int , QVariant > PythonQtWrapper_QTextFormat::properties(QTextFormat* theWrappedObject) const
{
return theWrappedObject->properties();
}
QVariant PythonQtWrapper_QTextFormat::property(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->property(propertyId);
}
int PythonQtWrapper_QTextFormat::propertyCount(QTextFormat* theWrappedObject) const
{
return theWrappedObject->propertyCount();
}
void PythonQtWrapper_QTextFormat::setBackground(QTextFormat* theWrappedObject, const QBrush& brush)
{
theWrappedObject->setBackground(brush);
}
void PythonQtWrapper_QTextFormat::setForeground(QTextFormat* theWrappedObject, const QBrush& brush)
{
theWrappedObject->setForeground(brush);
}
void PythonQtWrapper_QTextFormat::setLayoutDirection(QTextFormat* theWrappedObject, Qt::LayoutDirection direction)
{
theWrappedObject->setLayoutDirection(direction);
}
void PythonQtWrapper_QTextFormat::setObjectIndex(QTextFormat* theWrappedObject, int object)
{
theWrappedObject->setObjectIndex(object);
}
void PythonQtWrapper_QTextFormat::setObjectType(QTextFormat* theWrappedObject, int type)
{
theWrappedObject->setObjectType(type);
}
void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVariant& value)
{
theWrappedObject->setProperty(propertyId, value);
}
void PythonQtWrapper_QTextFormat::setProperty(QTextFormat* theWrappedObject, int propertyId, const QVector<QTextLength >& lengths)
{
theWrappedObject->setProperty(propertyId, lengths);
}
QString PythonQtWrapper_QTextFormat::stringProperty(QTextFormat* theWrappedObject, int propertyId) const
{
return theWrappedObject->stringProperty(propertyId);
}
QTextBlockFormat PythonQtWrapper_QTextFormat::toBlockFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->toBlockFormat();
}
QTextCharFormat PythonQtWrapper_QTextFormat::toCharFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->toCharFormat();
}
QTextFrameFormat PythonQtWrapper_QTextFormat::toFrameFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->toFrameFormat();
}
QTextImageFormat PythonQtWrapper_QTextFormat::toImageFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->toImageFormat();
}
QTextListFormat PythonQtWrapper_QTextFormat::toListFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->toListFormat();
}
QTextTableCellFormat PythonQtWrapper_QTextFormat::toTableCellFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->toTableCellFormat();
}
QTextTableFormat PythonQtWrapper_QTextFormat::toTableFormat(QTextFormat* theWrappedObject) const
{
return theWrappedObject->toTableFormat();
}
int PythonQtWrapper_QTextFormat::type(QTextFormat* theWrappedObject) const
{
return theWrappedObject->type();
}