#ifndef PYTHONQTWRAPPER_QFONTMETRICSF_H #define PYTHONQTWRAPPER_QFONTMETRICSF_H #include #include #include #include #include #include #include #include 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; } qreal lineWidth(QFontMetricsF* theWrappedObject) const; qreal underlinePos(QFontMetricsF* theWrappedObject) const; QRectF boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const; qreal descent(QFontMetricsF* theWrappedObject) const; qreal width(QFontMetricsF* theWrappedObject, QChar arg__1) const; QRectF boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const; qreal overlinePos(QFontMetricsF* theWrappedObject) const; qreal strikeOutPos(QFontMetricsF* theWrappedObject) const; qreal rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; QRectF boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops = 0, int* tabarray = 0) const; bool inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const; qreal leading(QFontMetricsF* theWrappedObject) const; qreal lineSpacing(QFontMetricsF* theWrappedObject) const; qreal height(QFontMetricsF* theWrappedObject) const; qreal leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; qreal width(QFontMetricsF* theWrappedObject, const QString& string) const; qreal averageCharWidth(QFontMetricsF* theWrappedObject) const; qreal minLeftBearing(QFontMetricsF* theWrappedObject) const; qreal maxWidth(QFontMetricsF* theWrappedObject) const; QRectF tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const; QString elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags = 0) const; qreal minRightBearing(QFontMetricsF* theWrappedObject) const; qreal ascent(QFontMetricsF* theWrappedObject) const; qreal xHeight(QFontMetricsF* theWrappedObject) const; QSizeF size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const; }; #endif // PYTHONQTWRAPPER_QFONTMETRICSF_H