PythonQtWrapper_QTextTableFormat.cpp
86 lines
| 2.5 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QTextTableFormat.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbrush.h> | ||||
#include <qcolor.h> | ||||
#include <qpen.h> | ||||
#include <qtextformat.h> | ||||
#include <qvector.h> | ||||
QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() | ||||
{ | ||||
florianlink
|
r24 | return new PythonQtShell_QTextTableFormat(); } | ||
florianlink
|
r13 | |||
qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->cellPadding(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->columns(); | ||
florianlink
|
r13 | } | ||
QVector<QTextLength > PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->columnWidthConstraints(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setCellPadding(padding); | ||
florianlink
|
r13 | } | ||
int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->headerRowCount(); | ||
florianlink
|
r13 | } | ||
bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->isValid(); | ||
florianlink
|
r24 | } | ||
void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) | ||||
{ | ||||
florianlink
|
r28 | theWrappedObject->setHeaderRowCount(count); | ||
florianlink
|
r13 | } | ||
void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) | ||||
{ | ||||
florianlink
|
r28 | theWrappedObject->setAlignment(alignment); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector<QTextLength >& constraints) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setColumnWidthConstraints(constraints); | ||
florianlink
|
r13 | } | ||
void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) | ||||
{ | ||||
florianlink
|
r28 | theWrappedObject->setCellSpacing(spacing); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->alignment(); | ||
florianlink
|
r13 | } | ||
void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) | ||||
{ | ||||
florianlink
|
r28 | theWrappedObject->setColumns(columns); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const | ||
{ | ||||
florianlink
|
r28 | return theWrappedObject->cellSpacing(); | ||
florianlink
|
r24 | } | ||
void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) | ||||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->clearColumnWidthConstraints(); | ||
florianlink
|
r13 | } | ||