PythonQtWrapper_QTextBlock.h
52 lines
| 2.3 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTEXTBLOCK_H | ||
#define PYTHONQTWRAPPER_QTEXTBLOCK_H | ||||
#include <qtextobject.h> | ||||
#include <QObject> | ||||
#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; } | ||||
QTextBlock::iterator begin(QTextBlock* theWrappedObject) const; | ||||
QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const; | ||||
int blockFormatIndex(QTextBlock* theWrappedObject) const; | ||||
int blockNumber(QTextBlock* theWrappedObject) const; | ||||
QTextCharFormat charFormat(QTextBlock* theWrappedObject) const; | ||||
int charFormatIndex(QTextBlock* theWrappedObject) const; | ||||
void clearLayout(QTextBlock* theWrappedObject); | ||||
bool contains(QTextBlock* theWrappedObject, int position) const; | ||||
const QTextDocument* document(QTextBlock* theWrappedObject) const; | ||||
QTextBlock::iterator end(QTextBlock* theWrappedObject) const; | ||||
bool isValid(QTextBlock* theWrappedObject) const; | ||||
bool isVisible(QTextBlock* theWrappedObject) const; | ||||
QTextLayout* layout(QTextBlock* theWrappedObject) const; | ||||
int length(QTextBlock* theWrappedObject) const; | ||||
QTextBlock next(QTextBlock* theWrappedObject) const; | ||||
bool operator_less(QTextBlock* theWrappedObject, const QTextBlock& o) const; | ||||
bool operator_equal(QTextBlock* theWrappedObject, const QTextBlock& o) const; | ||||
int position(QTextBlock* theWrappedObject) const; | ||||
QTextBlock previous(QTextBlock* theWrappedObject) const; | ||||
int revision(QTextBlock* theWrappedObject) const; | ||||
void setRevision(QTextBlock* theWrappedObject, int rev); | ||||
void setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data); | ||||
void setUserState(QTextBlock* theWrappedObject, int state); | ||||
void setVisible(QTextBlock* theWrappedObject, bool visible); | ||||
QString text(QTextBlock* theWrappedObject) const; | ||||
QTextList* textList(QTextBlock* theWrappedObject) const; | ||||
QTextBlockUserData* userData(QTextBlock* theWrappedObject) const; | ||||
int userState(QTextBlock* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTEXTBLOCK_H | ||||