PythonQtWrapper_QTextBlockFormat.cpp
122 lines
| 3.5 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QTextBlockFormat.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qbrush.h> | ||||
#include <qcolor.h> | ||||
#include <qlist.h> | ||||
#include <qpen.h> | ||||
#include <qtextformat.h> | ||||
#include <qvector.h> | ||||
QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTextBlockFormat(); } | ||
|
r13 | |||
|
r28 | qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->bottomMargin(); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->indent(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setBottomMargin(margin); | ||
|
r13 | } | ||
|
r24 | bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->nonBreakableLines(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setLeftMargin(margin); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setPageBreakPolicy(flags); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isValid(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal margin) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setTextIndent(margin); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setTopMargin(margin); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->topMargin(); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->rightMargin(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setRightMargin(margin); | ||
|
r13 | } | ||
|
r24 | qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->textIndent(); | ||
|
r13 | } | ||
|
r24 | void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setAlignment(alignment); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->leftMargin(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setIndent(indent); | ||
|
r13 | } | ||
|
r28 | Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->alignment(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setNonBreakableLines(b); | ||
|
r13 | } | ||
|
r24 | void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList<QTextOption::Tab >& tabs) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setTabPositions(tabs); | ||
|
r13 | } | ||
|
r28 | QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->pageBreakPolicy(); | ||
|
r13 | } | ||
|
r28 | QList<QTextOption::Tab > PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->tabPositions(); | ||
|
r13 | } | ||