|
|
#ifndef PYTHONQTWRAPPER_QTEXTTABLECELLFORMAT_H
|
|
|
#define PYTHONQTWRAPPER_QTEXTTABLECELLFORMAT_H
|
|
|
|
|
|
#include <qtextformat.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <PythonQt.h>
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qbrush.h>
|
|
|
#include <qcolor.h>
|
|
|
#include <qfont.h>
|
|
|
#include <qpen.h>
|
|
|
#include <qstringlist.h>
|
|
|
#include <qtextformat.h>
|
|
|
#include <qvector.h>
|
|
|
|
|
|
class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {};
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTextTableCellFormat : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QTextTableCellFormat* new_QTextTableCellFormat();
|
|
|
QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other) {
|
|
|
PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat();
|
|
|
*((QTextTableCellFormat*)a) = other;
|
|
|
return a; }
|
|
|
void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; }
|
|
|
void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
|
|
|
void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
|
|
|
void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
|
|
|
void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
|
|
|
bool isValid(QTextTableCellFormat* theWrappedObject) const;
|
|
|
void setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
|
|
|
qreal topPadding(QTextTableCellFormat* theWrappedObject) const;
|
|
|
qreal rightPadding(QTextTableCellFormat* theWrappedObject) const;
|
|
|
qreal leftPadding(QTextTableCellFormat* theWrappedObject) const;
|
|
|
qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QTEXTTABLECELLFORMAT_H
|
|
|
|