##// 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_QTextInlineObject.h
32 lines | 1.3 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QTextInlineObject.h
#ifndef PYTHONQTWRAPPER_QTEXTINLINEOBJECT_H
#define PYTHONQTWRAPPER_QTEXTINLINEOBJECT_H
#include <qtextlayout.h>
#include <QObject>
#include <QVariant>
#include <qrect.h>
#include <qtextformat.h>
class PythonQtWrapper_QTextInlineObject : public QObject
{ Q_OBJECT
public:
public slots:
QTextInlineObject* new_QTextInlineObject();
void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; }
qreal ascent(QTextInlineObject* theWrappedObject) const;
qreal descent(QTextInlineObject* theWrappedObject) const;
QTextFormat format(QTextInlineObject* theWrappedObject) const;
int formatIndex(QTextInlineObject* theWrappedObject) const;
qreal height(QTextInlineObject* theWrappedObject) const;
bool isValid(QTextInlineObject* theWrappedObject) const;
QRectF rect(QTextInlineObject* theWrappedObject) const;
void setAscent(QTextInlineObject* theWrappedObject, qreal a);
void setDescent(QTextInlineObject* theWrappedObject, qreal d);
void setWidth(QTextInlineObject* theWrappedObject, qreal w);
Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const;
int textPosition(QTextInlineObject* theWrappedObject) const;
qreal width(QTextInlineObject* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTINLINEOBJECT_H