##// 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:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QTextBlock.h
54 lines | 2.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTBLOCK_H
#define PYTHONQTWRAPPER_QTEXTBLOCK_H
#include <qtextobject.h>
#include <QObject>
#include <PythonQt.h>
#include <QTextBlock>
#include <QVariant>
#include <qtextdocument.h>
#include <qtextformat.h>
#include <qtextlayout.h>
#include <qtextlist.h>
#include <qtextobject.h>
class PythonQtWrapper_QTextBlock : public QObject
{ Q_OBJECT
public:
public slots:
QTextBlock* new_QTextBlock();
QTextBlock* new_QTextBlock(const QTextBlock& o);
void delete_QTextBlock(QTextBlock* obj) { delete obj; }
bool isValid(QTextBlock* theWrappedObject) const;
bool operator_less(QTextBlock* theWrappedObject, const QTextBlock& o) const;
QTextBlock previous(QTextBlock* theWrappedObject) const;
bool operator_equal(QTextBlock* theWrappedObject, const QTextBlock& o) const;
void setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data);
int revision(QTextBlock* theWrappedObject) const;
int blockNumber(QTextBlock* theWrappedObject) const;
QTextBlock next(QTextBlock* theWrappedObject) const;
QTextBlockUserData* userData(QTextBlock* theWrappedObject) const;
int blockFormatIndex(QTextBlock* theWrappedObject) const;
QTextLayout* layout(QTextBlock* theWrappedObject) const;
int position(QTextBlock* theWrappedObject) const;
QString text(QTextBlock* theWrappedObject) const;
QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const;
QTextBlock::iterator begin(QTextBlock* theWrappedObject) const;
void clearLayout(QTextBlock* theWrappedObject);
void setUserState(QTextBlock* theWrappedObject, int state);
QTextBlock::iterator end(QTextBlock* theWrappedObject) const;
int userState(QTextBlock* theWrappedObject) const;
const QTextDocument* document(QTextBlock* theWrappedObject) const;
bool isVisible(QTextBlock* theWrappedObject) const;
int charFormatIndex(QTextBlock* theWrappedObject) const;
bool contains(QTextBlock* theWrappedObject, int position) const;
void setRevision(QTextBlock* theWrappedObject, int rev);
void setVisible(QTextBlock* theWrappedObject, bool visible);
int length(QTextBlock* theWrappedObject) const;
QTextList* textList(QTextBlock* theWrappedObject) const;
QTextCharFormat charFormat(QTextBlock* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTBLOCK_H