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_plot_intervalcurve.cpp

    r8127 r9383  
    154154/*!
    155155  Assign a series of samples
    156    
     156
    157157  setSamples() is just a wrapper for setData() without any additional
    158158  value - beside that it is easier to find for the developer.
    159    
     159
    160160  \param data Data
    161161  \warning The item takes ownership of the data object, deleting
    162162           it when its not used anymore.
    163163*/
    164 void QwtPlotIntervalCurve::setSamples( 
     164void QwtPlotIntervalCurve::setSamples(
    165165    QwtSeriesData<QwtIntervalSample> *data )
    166166{
     
    223223/*!
    224224  Build and assign a pen
    225    
     225
    226226  In Qt5 the default pen width is 1.0 ( 0.0 in Qt4 ) what makes it
    227227  non cosmetic ( see QPen::isCosmetic() ). This method has been introduced
    228228  to hide this incompatibility.
    229    
     229
    230230  \param color Pen color
    231231  \param width Pen width
    232232  \param style Pen style
    233    
     233
    234234  \sa pen(), brush()
    235235 */
    236236void QwtPlotIntervalCurve::setPen( const QColor &color, qreal width, Qt::PenStyle style )
    237 {   
     237{
    238238    setPen( QPen( color, width, style ) );
    239 }   
     239}
    240240
    241241/*!
     
    299299{
    300300    QRectF rect = QwtPlotSeriesItem::boundingRect();
    301     if ( rect.isValid() && orientation() == Qt::Vertical )
     301    if ( orientation() == Qt::Vertical )
    302302        rect.setRect( rect.y(), rect.x(), rect.height(), rect.width() );
    303303
     
    546546  If a symbol is assigned it is scaled to size.
    547547
    548   \param index Index of the legend entry 
     548  \param index Index of the legend entry
    549549               ( ignored as there is only one )
    550550  \param size Icon size
    551    
     551
    552552  \sa QwtPlotItem::setLegendIconSize(), QwtPlotItem::legendData()
    553553*/
    554 QwtGraphic QwtPlotIntervalCurve::legendIcon( 
     554QwtGraphic QwtPlotIntervalCurve::legendIcon(
    555555    int index, const QSizeF &size ) const
    556556{
Note: See TracChangeset for help on using the changeset viewer.