##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r24:f543ed746063
r96:3170eb771a99
Show More
PythonQtWrapper_QTextObjectInterface.h
35 lines | 1.0 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QTextObjectInterface.h
#ifndef PYTHONQTWRAPPER_QTEXTOBJECTINTERFACE_H
#define PYTHONQTWRAPPER_QTEXTOBJECTINTERFACE_H
#include <qabstracttextdocumentlayout.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qpainter.h>
#include <qrect.h>
#include <qsize.h>
#include <qtextdocument.h>
#include <qtextformat.h>
class PythonQtShell_QTextObjectInterface : public QTextObjectInterface
{
public:
PythonQtShell_QTextObjectInterface():QTextObjectInterface(),_wrapper(NULL) {};
virtual void drawObject(QPainter* painter, const QRectF& rect, QTextDocument* doc, int posInDocument, const QTextFormat& format);
virtual QSizeF intrinsicSize(QTextDocument* doc, int posInDocument, const QTextFormat& format);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextObjectInterface : public QObject
{ Q_OBJECT
public:
public slots:
QTextObjectInterface* new_QTextObjectInterface();
void delete_QTextObjectInterface(QTextObjectInterface* obj) { delete obj; }
};
#endif // PYTHONQTWRAPPER_QTEXTOBJECTINTERFACE_H