##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QPlainTextDocumentLayout.h
34 lines | 1.6 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QPlainTextDocumentLayout.h
#ifndef PYTHONQTWRAPPER_QPLAINTEXTDOCUMENTLAYOUT_H
#define PYTHONQTWRAPPER_QPLAINTEXTDOCUMENTLAYOUT_H
#include <qplaintextedit.h>
#include <QObject>
#include <QAbstractTextDocumentLayout>
#include <QVariant>
#include <qpainter.h>
#include <qpoint.h>
#include <qrect.h>
#include <qsize.h>
#include <qtextdocument.h>
#include <qtextobject.h>
class PythonQtWrapper_QPlainTextDocumentLayout : public QObject
{ Q_OBJECT
public:
public slots:
QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document);
void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; }
QRectF blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const;
int cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const;
QSizeF documentSize(QPlainTextDocumentLayout* theWrappedObject) const;
void draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2);
void ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const;
QRectF frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const;
int hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const;
int pageCount(QPlainTextDocumentLayout* theWrappedObject) const;
void requestUpdate(QPlainTextDocumentLayout* theWrappedObject);
void setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width);
};
#endif // PYTHONQTWRAPPER_QPLAINTEXTDOCUMENTLAYOUT_H