##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QFontMetricsF.h
49 lines | 2.4 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QFONTMETRICSF_H
#define PYTHONQTWRAPPER_QFONTMETRICSF_H
#include <qfontmetrics.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qfont.h>
#include <qpaintdevice.h>
#include <qrect.h>
#include <qsize.h>
class PythonQtWrapper_QFontMetricsF : public QObject
{ Q_OBJECT
public:
public slots:
QFontMetricsF* new_QFontMetricsF(const QFont& arg__1);
QFontMetricsF* new_QFontMetricsF(const QFont& arg__1, QPaintDevice* pd);
void delete_QFontMetricsF(QFontMetricsF* obj) { delete obj; }
bool inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const;
qreal overlinePos(QFontMetricsF* theWrappedObject) const;
qreal strikeOutPos(QFontMetricsF* theWrappedObject) const;
QRectF boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const;
qreal leading(QFontMetricsF* theWrappedObject) const;
qreal descent(QFontMetricsF* theWrappedObject) const;
qreal minLeftBearing(QFontMetricsF* theWrappedObject) const;
QRectF boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const;
qreal leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const;
qreal averageCharWidth(QFontMetricsF* theWrappedObject) const;
QRectF boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops = 0, int* tabarray = 0) const;
qreal underlinePos(QFontMetricsF* theWrappedObject) const;
qreal ascent(QFontMetricsF* theWrappedObject) const;
QSizeF size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const;
qreal height(QFontMetricsF* theWrappedObject) const;
qreal maxWidth(QFontMetricsF* theWrappedObject) const;
qreal width(QFontMetricsF* theWrappedObject, QChar arg__1) const;
qreal rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const;
qreal width(QFontMetricsF* theWrappedObject, const QString& string) const;
qreal lineSpacing(QFontMetricsF* theWrappedObject) const;
qreal xHeight(QFontMetricsF* theWrappedObject) const;
QString elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags = 0) const;
QRectF tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const;
qreal lineWidth(QFontMetricsF* theWrappedObject) const;
qreal minRightBearing(QFontMetricsF* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QFONTMETRICSF_H