|
|
#include "PythonQtWrapper_QTextFrameFormat.h"
|
|
|
|
|
|
#include <PythonQtSignalReceiver.h>
|
|
|
#include <PythonQtMethodInfo.h>
|
|
|
#include <PythonQtConversion.h>
|
|
|
#include <QVariant>
|
|
|
#include <qbrush.h>
|
|
|
#include <qcolor.h>
|
|
|
#include <qpen.h>
|
|
|
#include <qtextformat.h>
|
|
|
#include <qvector.h>
|
|
|
|
|
|
QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat()
|
|
|
{
|
|
|
return new PythonQtShell_QTextFrameFormat(); }
|
|
|
|
|
|
QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->borderBrush();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f)
|
|
|
{
|
|
|
theWrappedObject->setPosition(f);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->topMargin();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush)
|
|
|
{
|
|
|
theWrappedObject->setBorderBrush(brush);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width)
|
|
|
{
|
|
|
theWrappedObject->setWidth(width);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextFrameFormat::rightMargin(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->rightMargin();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height)
|
|
|
{
|
|
|
theWrappedObject->setHeight(height);
|
|
|
}
|
|
|
|
|
|
QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->height();
|
|
|
}
|
|
|
|
|
|
QTextFormat::PageBreakFlags PythonQtWrapper_QTextFrameFormat::pageBreakPolicy(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->pageBreakPolicy();
|
|
|
}
|
|
|
|
|
|
QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->width();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height)
|
|
|
{
|
|
|
theWrappedObject->setHeight(height);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextFrameFormat::border(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->border();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextFrameFormat::margin(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->margin();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin)
|
|
|
{
|
|
|
theWrappedObject->setLeftMargin(margin);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags)
|
|
|
{
|
|
|
theWrappedObject->setPageBreakPolicy(flags);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin)
|
|
|
{
|
|
|
theWrappedObject->setRightMargin(margin);
|
|
|
}
|
|
|
|
|
|
QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->position();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setBorder(QTextFrameFormat* theWrappedObject, qreal border)
|
|
|
{
|
|
|
theWrappedObject->setBorder(border);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->leftMargin();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin)
|
|
|
{
|
|
|
theWrappedObject->setTopMargin(margin);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding)
|
|
|
{
|
|
|
theWrappedObject->setPadding(padding);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style)
|
|
|
{
|
|
|
theWrappedObject->setBorderStyle(style);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isValid();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin)
|
|
|
{
|
|
|
theWrappedObject->setMargin(margin);
|
|
|
}
|
|
|
|
|
|
QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->borderStyle();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->bottomMargin();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin)
|
|
|
{
|
|
|
theWrappedObject->setBottomMargin(margin);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length)
|
|
|
{
|
|
|
theWrappedObject->setWidth(length);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QTextFrameFormat::padding(QTextFrameFormat* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->padding();
|
|
|
}
|
|
|
|
|
|
|