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

    r8127 r9383  
    162162}
    163163
    164 /*! 
     164/*!
    165165  Build and assign the default pen for the contour lines
    166    
     166
    167167  In Qt5 the default pen width is 1.0 ( 0.0 in Qt4 ) what makes it
    168168  non cosmetic ( see QPen::isCosmetic() ). This method has been introduced
    169169  to hide this incompatibility.
    170    
     170
    171171  \param color Pen color
    172172  \param width Pen width
    173173  \param style Pen style
    174    
     174
    175175  \sa pen(), brush()
    176  */ 
    177 void QwtPlotSpectrogram::setDefaultContourPen( 
     176 */
     177void QwtPlotSpectrogram::setDefaultContourPen(
    178178    const QColor &color, qreal width, Qt::PenStyle style )
    179 {   
     179{
    180180    setDefaultContourPen( QPen( color, width, style ) );
    181181}
     
    363363
    364364   The geometry of a pixel is used to calculated the resolution and
    365    alignment of the rendered image. 
     365   alignment of the rendered image.
    366366
    367367   The default implementation returns data()->pixelHint( rect );
     
    372372   \return Bounding rectangle of a pixel
    373373
    374    \sa QwtPlotRasterItem::pixelHint(), QwtRasterData::pixelHint(), 
     374   \sa QwtPlotRasterItem::pixelHint(), QwtRasterData::pixelHint(),
    375375       render(), renderImage()
    376376*/
     
    403403    const QRectF &area, const QSize &imageSize ) const
    404404{
    405     if ( imageSize.isEmpty() || d_data->data == NULL 
     405    if ( imageSize.isEmpty() || d_data->data == NULL
    406406        || d_data->colorMap == NULL )
    407407    {
     
    424424
    425425#if DEBUG_RENDER
    426         QElapsedTimer time;
    427         time.start();
     426    QElapsedTimer time;
     427    time.start();
    428428#endif
    429429
     
    547547   \sa drawContourLines(), QwtRasterData::contourLines()
    548548*/
    549 QSize QwtPlotSpectrogram::contourRasterSize( 
     549QSize QwtPlotSpectrogram::contourRasterSize(
    550550    const QRectF &area, const QRect &rect ) const
    551551{
Note: See TracChangeset for help on using the changeset viewer.