Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_text_label.h


Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

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

    r4271 r8127  
    2929    Q_PROPERTY( int indent READ indent WRITE setIndent )
    3030    Q_PROPERTY( int margin READ margin WRITE setMargin )
     31    Q_PROPERTY( QString plainText READ plainText WRITE setPlainText )
    3132
    3233public:
     
    3435    explicit QwtTextLabel( const QwtText &, QWidget *parent = NULL );
    3536    virtual ~QwtTextLabel();
     37
     38    void setPlainText( const QString & );
     39    QString plainText() const;
    3640
    3741public Q_SLOTS:
     
    5761    QRect textRect() const;
    5862
     63    virtual void drawText( QPainter *, const QRectF & );
     64
    5965protected:
    6066    virtual void paintEvent( QPaintEvent *e );
    6167    virtual void drawContents( QPainter * );
    62     virtual void drawText( QPainter *, const QRect & );
    6368
    6469private:
Note: See TracChangeset for help on using the changeset viewer.