##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QFontMetrics.h
51 lines | 2.6 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QFONTMETRICS_H
#define PYTHONQTWRAPPER_QFONTMETRICS_H
#include <qfontmetrics.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qfont.h>
#include <qpaintdevice.h>
#include <qrect.h>
#include <qsize.h>
class PythonQtWrapper_QFontMetrics : public QObject
{ Q_OBJECT
public:
public slots:
QFontMetrics* new_QFontMetrics(const QFont& arg__1);
QFontMetrics* new_QFontMetrics(const QFont& arg__1, QPaintDevice* pd);
void delete_QFontMetrics(QFontMetrics* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 int leading(QFontMetrics* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int maxWidth(QFontMetrics* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 int underlinePos(QFontMetrics* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int xHeight(QFontMetrics* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len = -1) const;
florianlink
recreated wrappers to match current python qt version...
r73 int overlinePos(QFontMetrics* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int width(QFontMetrics* theWrappedObject, QChar arg__1) const;
florianlink
recreated wrappers to match current python qt version...
r73 int minRightBearing(QFontMetrics* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QString elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags = 0) const;
florianlink
recreated wrappers to match current python qt version...
r73 QRect boundingRect(QFontMetrics* theWrappedObject, const QString& text) const;
florianlink
upgraded wrappers to current generator version...
r28 QSize size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const;
florianlink
recreated wrappers to match current python qt version...
r73 QRect boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const;
int height(QFontMetrics* theWrappedObject) const;
QRect tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const;
florianlink
upgraded wrappers to current generator version...
r28 QRect boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops = 0, int* tabarray = 0) const;
florianlink
recreated wrappers to match current python qt version...
r73 QRect boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops = 0, int* tabarray = 0) const;
bool inFont(QFontMetrics* theWrappedObject, QChar arg__1) const;
int rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const;
florianlink
upgraded wrappers to current generator version...
r28 int strikeOutPos(QFontMetrics* theWrappedObject) const;
int averageCharWidth(QFontMetrics* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 int descent(QFontMetrics* theWrappedObject) const;
int ascent(QFontMetrics* theWrappedObject) const;
int charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const;
int leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const;
int lineWidth(QFontMetrics* theWrappedObject) const;
int minLeftBearing(QFontMetrics* theWrappedObject) const;
int lineSpacing(QFontMetrics* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QFONTMETRICS_H