#ifndef PYTHONQTWRAPPER_QTEXTTABLECELLFORMAT_H #define PYTHONQTWRAPPER_QTEXTTABLECELLFORMAT_H #include #include #include #include #include #include #include #include #include #include #include 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; } 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; void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding); void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding); void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding); void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding); }; #endif // PYTHONQTWRAPPER_QTEXTTABLECELLFORMAT_H