##// END OF EJS Templates
started to update/improve docs...
started to update/improve docs git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@68 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r32:ae159b178ea0
Show More
PythonQtWrapper_QTextBlockFormat.h
60 lines | 2.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H
#define PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H
#include <qtextformat.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qlist.h>
#include <qpen.h>
#include <qtextformat.h>
#include <qvector.h>
class PythonQtShell_QTextBlockFormat : public QTextBlockFormat
{
public:
PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(NULL) {};
PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextBlockFormat : public QObject
{ Q_OBJECT
public:
public slots:
QTextBlockFormat* new_QTextBlockFormat();
QTextBlockFormat* new_QTextBlockFormat(const QTextBlockFormat& other) {
PythonQtShell_QTextBlockFormat* a = new PythonQtShell_QTextBlockFormat();
*((QTextBlockFormat*)a) = other;
return a; }
void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; }
qreal bottomMargin(QTextBlockFormat* theWrappedObject) const;
int indent(QTextBlockFormat* theWrappedObject) const;
void setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin);
bool nonBreakableLines(QTextBlockFormat* theWrappedObject) const;
void setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin);
void setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags);
bool isValid(QTextBlockFormat* theWrappedObject) const;
void setTextIndent(QTextBlockFormat* theWrappedObject, qreal margin);
void setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin);
qreal topMargin(QTextBlockFormat* theWrappedObject) const;
qreal rightMargin(QTextBlockFormat* theWrappedObject) const;
void setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin);
qreal textIndent(QTextBlockFormat* theWrappedObject) const;
void setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment);
qreal leftMargin(QTextBlockFormat* theWrappedObject) const;
void setIndent(QTextBlockFormat* theWrappedObject, int indent);
Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const;
void setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b);
void setTabPositions(QTextBlockFormat* theWrappedObject, const QList<QTextOption::Tab >& tabs);
QTextFormat::PageBreakFlags pageBreakPolicy(QTextBlockFormat* theWrappedObject) const;
QList<QTextOption::Tab > tabPositions(QTextBlockFormat* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H