##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QTextBlockFormat.h
44 lines | 2.0 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H
#define PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H
#include <qtextformat.h>
#include <QObject>
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qlist.h>
#include <qpen.h>
#include <qtextformat.h>
#include <qvector.h>
class PythonQtWrapper_QTextBlockFormat : public QObject
{ Q_OBJECT
public:
public slots:
QTextBlockFormat* new_QTextBlockFormat();
void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; }
Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const;
qreal bottomMargin(QTextBlockFormat* theWrappedObject) const;
int indent(QTextBlockFormat* theWrappedObject) const;
bool isValid(QTextBlockFormat* theWrappedObject) const;
qreal leftMargin(QTextBlockFormat* theWrappedObject) const;
bool nonBreakableLines(QTextBlockFormat* theWrappedObject) const;
QTextFormat::PageBreakFlags pageBreakPolicy(QTextBlockFormat* theWrappedObject) const;
qreal rightMargin(QTextBlockFormat* theWrappedObject) const;
void setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment);
void setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin);
void setIndent(QTextBlockFormat* theWrappedObject, int indent);
void setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin);
void setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b);
void setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags);
void setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin);
void setTabPositions(QTextBlockFormat* theWrappedObject, const QList<QTextOption::Tab >& tabs);
void setTextIndent(QTextBlockFormat* theWrappedObject, qreal margin);
void setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin);
QList<QTextOption::Tab > tabPositions(QTextBlockFormat* theWrappedObject) const;
qreal textIndent(QTextBlockFormat* theWrappedObject) const;
qreal topMargin(QTextBlockFormat* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H