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