Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_text.h
- Timestamp:
- Mar 19, 2021, 9:15:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_text.h
r8127 r9383 81 81 Use a MathML (http://en.wikipedia.org/wiki/MathML) render engine 82 82 to display the text. The Qwt MathML extension offers such an engine 83 based on the MathML renderer of the Qt solutions package.83 based on the MathML renderer of the former Qt solutions package. 84 84 To enable MathML support the following code needs to be added to the 85 85 application: 86 \verbatim QwtText::setTextEngine(QwtText::MathMLText, new QwtMathMLTextEngine()); \endverbatim 86 87 \code 88 QwtText::setTextEngine( QwtText::MathMLText, new QwtMathMLTextEngine() ); 89 \endcode 87 90 */ 88 91 MathMLText, … … 140 143 typedef QFlags<LayoutAttribute> LayoutAttributes; 141 144 142 QwtText( const QString & = QString ::null,145 QwtText( const QString & = QString(), 143 146 TextFormat textFormat = AutoText ); 144 147 QwtText( const QwtText & ); … … 162 165 QFont usedFont( const QFont & ) const; 163 166 164 void setRenderFlags( int flags);167 void setRenderFlags( int ); 165 168 int renderFlags() const; 166 169 … … 190 193 void draw( QPainter *painter, const QRectF &rect ) const; 191 194 192 static const QwtTextEngine *textEngine( 195 static const QwtTextEngine *textEngine( 193 196 const QString &text, QwtText::TextFormat = AutoText ); 194 197
Note:
See TracChangeset
for help on using the changeset viewer.