|
|
#include "PythonQtWrapper_QTextCharFormat.h"
|
|
|
|
|
|
#include <PythonQtSignalReceiver.h>
|
|
|
#include <PythonQtMethodInfo.h>
|
|
|
#include <PythonQtConversion.h>
|
|
|
#include <QVariant>
|
|
|
#include <qbrush.h>
|
|
|
#include <qcolor.h>
|
|
|
#include <qfont.h>
|
|
|
#include <qpen.h>
|
|
|
#include <qstringlist.h>
|
|
|
#include <qtextformat.h>
|
|
|
#include <qvector.h>
|
|
|
|
|
|
QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat()
|
|
|
{
|
|
|
return new PythonQtShell_QTextCharFormat(); }
|
|
|
|
|
|
int PythonQtWrapper_QTextCharFormat::tableCellRowSpan(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->tableCellRowSpan());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan)
|
|
|
{
|
|
|
( theWrappedObject->setTableCellRowSpan(tableCellRowSpan));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style)
|
|
|
{
|
|
|
( theWrappedObject->setUnderlineStyle(style));
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextCharFormat::fontUnderline(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontUnderline());
|
|
|
}
|
|
|
|
|
|
QFont PythonQtWrapper_QTextCharFormat::font(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->font());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value)
|
|
|
{
|
|
|
( theWrappedObject->setAnchorHref(value));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontOverline(QTextCharFormat* theWrappedObject, bool overline)
|
|
|
{
|
|
|
( theWrappedObject->setFontOverline(overline));
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QTextCharFormat::fontFamily(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontFamily());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization)
|
|
|
{
|
|
|
( theWrappedObject->setFontCapitalization(capitalization));
|
|
|
}
|
|
|
|
|
|
QStringList PythonQtWrapper_QTextCharFormat::anchorNames(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->anchorNames());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontItalic(QTextCharFormat* theWrappedObject, bool italic)
|
|
|
{
|
|
|
( theWrappedObject->setFontItalic(italic));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color)
|
|
|
{
|
|
|
( theWrappedObject->setUnderlineColor(color));
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextCharFormat::isValid(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->isValid());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen)
|
|
|
{
|
|
|
( theWrappedObject->setTextOutline(pen));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names)
|
|
|
{
|
|
|
( theWrappedObject->setAnchorNames(names));
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextCharFormat::isAnchor(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->isAnchor());
|
|
|
}
|
|
|
|
|
|
QPen PythonQtWrapper_QTextCharFormat::textOutline(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->textOutline());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setAnchor(QTextCharFormat* theWrappedObject, bool anchor)
|
|
|
{
|
|
|
( theWrappedObject->setAnchor(anchor));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontPointSize(QTextCharFormat* theWrappedObject, qreal size)
|
|
|
{
|
|
|
( theWrappedObject->setFontPointSize(size));
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QTextCharFormat::tableCellColumnSpan(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->tableCellColumnSpan());
|
|
|
}
|
|
|
|
|
|
QFont::Capitalization PythonQtWrapper_QTextCharFormat::fontCapitalization(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontCapitalization());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextCharFormat::fontStrikeOut(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontStrikeOut());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setToolTip(QTextCharFormat* theWrappedObject, const QString& tip)
|
|
|
{
|
|
|
( theWrappedObject->setToolTip(tip));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing)
|
|
|
{
|
|
|
( theWrappedObject->setFontWordSpacing(spacing));
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextCharFormat::fontLetterSpacing(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontLetterSpacing());
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QTextCharFormat::fontWeight(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontWeight());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font)
|
|
|
{
|
|
|
( theWrappedObject->setFont(font));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch)
|
|
|
{
|
|
|
( theWrappedObject->setFontFixedPitch(fixedPitch));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontFamily(QTextCharFormat* theWrappedObject, const QString& family)
|
|
|
{
|
|
|
( theWrappedObject->setFontFamily(family));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontUnderline(QTextCharFormat* theWrappedObject, bool underline)
|
|
|
{
|
|
|
( theWrappedObject->setFontUnderline(underline));
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QTextCharFormat::anchorHref(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->anchorHref());
|
|
|
}
|
|
|
|
|
|
QTextCharFormat::VerticalAlignment PythonQtWrapper_QTextCharFormat::verticalAlignment(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->verticalAlignment());
|
|
|
}
|
|
|
|
|
|
QColor PythonQtWrapper_QTextCharFormat::underlineColor(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->underlineColor());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontWeight(QTextCharFormat* theWrappedObject, int weight)
|
|
|
{
|
|
|
( theWrappedObject->setFontWeight(weight));
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextCharFormat::fontItalic(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontItalic());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan)
|
|
|
{
|
|
|
( theWrappedObject->setTableCellColumnSpan(tableCellColumnSpan));
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextCharFormat::fontWordSpacing(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontWordSpacing());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextCharFormat::fontOverline(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontOverline());
|
|
|
}
|
|
|
|
|
|
QTextCharFormat::UnderlineStyle PythonQtWrapper_QTextCharFormat::underlineStyle(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->underlineStyle());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing)
|
|
|
{
|
|
|
( theWrappedObject->setFontLetterSpacing(spacing));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut)
|
|
|
{
|
|
|
( theWrappedObject->setFontStrikeOut(strikeOut));
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextCharFormat::fontPointSize(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontPointSize());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextCharFormat::fontFixedPitch(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->fontFixedPitch());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextCharFormat::setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment)
|
|
|
{
|
|
|
( theWrappedObject->setVerticalAlignment(alignment));
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QTextCharFormat::toolTip(QTextCharFormat* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->toolTip());
|
|
|
}
|
|
|
|
|
|
|