Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_text.h


Ignore:
Timestamp:
Mar 19, 2021, 9:15:03 AM (3 years ago)
Author:
stoecker
Message:

update to qwt verion 6.1.1 to fix build with newer Qt5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_text.h

    r8127 r9383  
    8181          Use a MathML (http://en.wikipedia.org/wiki/MathML) render engine
    8282          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.
    8484          To enable MathML support the following code needs to be added to the
    8585          application:
    86 \verbatim QwtText::setTextEngine(QwtText::MathMLText, new QwtMathMLTextEngine()); \endverbatim
     86
     87          \code
     88            QwtText::setTextEngine( QwtText::MathMLText, new QwtMathMLTextEngine() );
     89          \endcode
    8790         */
    8891        MathMLText,
     
    140143    typedef QFlags<LayoutAttribute> LayoutAttributes;
    141144
    142     QwtText( const QString & = QString::null,
     145    QwtText( const QString & = QString(),
    143146             TextFormat textFormat = AutoText );
    144147    QwtText( const QwtText & );
     
    162165    QFont usedFont( const QFont & ) const;
    163166
    164     void setRenderFlags( int flags );
     167    void setRenderFlags( int );
    165168    int renderFlags() const;
    166169
     
    190193    void draw( QPainter *painter, const QRectF &rect ) const;
    191194
    192     static const QwtTextEngine *textEngine( 
     195    static const QwtTextEngine *textEngine(
    193196        const QString &text, QwtText::TextFormat = AutoText );
    194197
Note: See TracChangeset for help on using the changeset viewer.