#ifndef PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H #define PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H #include #include #include #include #include #include #include #include #include class PythonQtShell_QTextTableFormat : public QTextTableFormat { public: PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {}; PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {}; PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableFormat : public QObject { Q_OBJECT public: public slots: QTextTableFormat* new_QTextTableFormat(); QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) { PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat(); *((QTextTableFormat*)a) = other; return a; } void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } QVector columnWidthConstraints(QTextTableFormat* theWrappedObject) const; void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding); int headerRowCount(QTextTableFormat* theWrappedObject) const; bool isValid(QTextTableFormat* theWrappedObject) const; void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count); void setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment); void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints); void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing); Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const; void setColumns(QTextTableFormat* theWrappedObject, int columns); qreal cellSpacing(QTextTableFormat* theWrappedObject) const; void clearColumnWidthConstraints(QTextTableFormat* theWrappedObject); qreal cellPadding(QTextTableFormat* theWrappedObject) const; int columns(QTextTableFormat* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H