PythonQtWrapper_QFontMetricsF.h
49 lines
| 2.4 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QFONTMETRICSF_H | ||
#define PYTHONQTWRAPPER_QFONTMETRICSF_H | ||||
#include <qfontmetrics.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #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; | ||||
florianlink
|
r28 | qreal overlinePos(QFontMetricsF* theWrappedObject) const; | ||
qreal strikeOutPos(QFontMetricsF* theWrappedObject) const; | ||||
QRectF boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const; | ||||
florianlink
|
r13 | qreal leading(QFontMetricsF* theWrappedObject) const; | ||
florianlink
|
r24 | qreal descent(QFontMetricsF* theWrappedObject) const; | ||
florianlink
|
r28 | qreal minLeftBearing(QFontMetricsF* theWrappedObject) const; | ||
QRectF boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const; | ||||
florianlink
|
r13 | qreal leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const; | ||
florianlink
|
r28 | 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; | ||||
florianlink
|
r24 | QSizeF size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const; | ||
florianlink
|
r28 | qreal height(QFontMetricsF* theWrappedObject) const; | ||
qreal maxWidth(QFontMetricsF* theWrappedObject) const; | ||||
florianlink
|
r24 | qreal width(QFontMetricsF* theWrappedObject, QChar arg__1) const; | ||
florianlink
|
r28 | 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; | ||||
florianlink
|
r13 | QRectF tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const; | ||
florianlink
|
r28 | qreal lineWidth(QFontMetricsF* theWrappedObject) const; | ||
qreal minRightBearing(QFontMetricsF* theWrappedObject) const; | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QFONTMETRICSF_H | ||||