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