##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r24:f543ed746063
r34:5daedfb035c8
Show More
PythonQtWrapper_QTextTableFormat.h
52 lines | 2.0 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H
#define PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H
#include <qtextformat.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qpen.h>
#include <qtextformat.h>
#include <qvector.h>
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; }
qreal cellPadding(QTextTableFormat* theWrappedObject) const;
int columns(QTextTableFormat* theWrappedObject) const;
QVector<QTextLength > 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<QTextLength >& 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);
};
#endif // PYTHONQTWRAPPER_QTEXTTABLEFORMAT_H