Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_plot_marker.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_plot_marker.h

    r4271 r8127  
    2929  be drawn around a center point inside a bounding rectangle.
    3030
    31   The QwtPlotMarker::setSymbol() member assigns a symbol to the marker.
     31  The setSymbol() member assigns a symbol to the marker.
    3232  The symbol is drawn at the specified point.
    3333
     
    4040  left above the center point if the alignment was set to
    4141  Qt::AlignLeft | Qt::AlignTop.
     42
     43  \note QwtPlotTextLabel is intended to align a text label
     44        according to the geometry of canvas
     45        ( unrelated to plot coordinates )
    4246*/
    4347
     
    6569    };
    6670
    67     explicit QwtPlotMarker();
     71    explicit QwtPlotMarker( const QString &title = QString::null );
     72    explicit QwtPlotMarker( const QwtText &title );
     73
    6874    virtual ~QwtPlotMarker();
    6975
     
    8288    LineStyle lineStyle() const;
    8389
     90    void setLinePen( const QColor &, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
    8491    void setLinePen( const QPen &p );
    8592    const QPen &linePen() const;
     
    106113    virtual QRectF boundingRect() const;
    107114
    108     virtual void updateLegend( QwtLegend * ) const;
    109     virtual void drawLegendIdentifier( QPainter *, const QRectF & ) const;
     115    virtual QwtGraphic legendIcon( int index, const QSizeF & ) const;
    110116
    111117protected:
Note: See TracChangeset for help on using the changeset viewer.