##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QPlainTextDocumentLayout.h
45 lines | 1.8 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 <PythonQt.h>
#include <QAbstractTextDocumentLayout>
#include <QVariant>
#include <qpainter.h>
#include <qpoint.h>
#include <qrect.h>
#include <qsize.h>
#include <qtextdocument.h>
#include <qtextobject.h>
class PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout
{
public:
PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QPlainTextDocumentLayout : public QObject
{ Q_OBJECT
public:
public slots:
QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document);
void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; }
void draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2);
int pageCount(QPlainTextDocumentLayout* theWrappedObject) const;
int hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const;
QSizeF documentSize(QPlainTextDocumentLayout* theWrappedObject) const;
QRectF frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const;
void setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width);
QRectF blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const;
int cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const;
void ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const;
void requestUpdate(QPlainTextDocumentLayout* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QPLAINTEXTDOCUMENTLAYOUT_H