equal
deleted
inserted
replaced
46 #include <QtCore/qstring.h> |
46 #include <QtCore/qstring.h> |
47 #include <QtCore/qmetatype.h> |
47 #include <QtCore/qmetatype.h> |
48 |
48 |
49 #include <QtGui/qtransform.h> |
49 #include <QtGui/qtransform.h> |
50 #include <QtGui/qfont.h> |
50 #include <QtGui/qfont.h> |
51 |
51 #include <QtGui/qtextoption.h> |
52 |
52 |
53 QT_BEGIN_HEADER |
53 QT_BEGIN_HEADER |
54 |
54 |
55 QT_BEGIN_NAMESPACE |
55 QT_BEGIN_NAMESPACE |
56 |
56 |
77 Qt::TextFormat textFormat() const; |
77 Qt::TextFormat textFormat() const; |
78 |
78 |
79 void setTextWidth(qreal textWidth); |
79 void setTextWidth(qreal textWidth); |
80 qreal textWidth() const; |
80 qreal textWidth() const; |
81 |
81 |
|
82 void setTextOption(const QTextOption &textOption); |
|
83 QTextOption textOption() const; |
|
84 |
82 QSizeF size() const; |
85 QSizeF size() const; |
83 |
86 |
84 void prepare(const QTransform &matrix = QTransform(), const QFont &font = QFont()); |
87 void prepare(const QTransform &matrix = QTransform(), const QFont &font = QFont()); |
85 |
88 |
86 void setPerformanceHint(PerformanceHint performanceHint); |
89 void setPerformanceHint(PerformanceHint performanceHint); |