Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_plot_zoneitem.cpp


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

    r8127 r9383  
    1414
    1515class QwtPlotZoneItem::PrivateData
    16 {   
     16{
    1717public:
    1818    PrivateData():
     
    2424        brush = QBrush( c );
    2525    }
    26        
     26
    2727    Qt::Orientation orientation;
    2828    QPen pen;
    2929    QBrush brush;
    3030    QwtInterval interval;
    31 }; 
     31};
    3232
    3333/*!
     
    6868}
    6969
    70 /*! 
     70/*!
    7171  Build and assign a pen
    72    
     72
    7373  In Qt5 the default pen width is 1.0 ( 0.0 in Qt4 ) what makes it
    7474  non cosmetic ( see QPen::isCosmetic() ). This method has been introduced
    7575  to hide this incompatibility.
    76    
     76
    7777  \param color Pen color
    7878  \param width Pen width
    7979  \param style Pen style
    80    
     80
    8181  \sa pen(), brush()
    82  */ 
     82 */
    8383void QwtPlotZoneItem::setPen( const QColor &color, qreal width, Qt::PenStyle style )
    84 {   
     84{
    8585    setPen( QPen( color, width, style ) );
    8686}
    8787
    8888/*!
    89   \brief Assign a pen 
     89  \brief Assign a pen
    9090
    9191  The pen is used to draw the border lines of the zone
     
    112112}
    113113
    114 /*! 
    115   \brief Assign a brush 
    116    
     114/*!
     115  \brief Assign a brush
     116
    117117  The brush is used to fill the zone
    118118
     
    141141  \brief Set the orientation of the zone
    142142
    143   A horizontal zone highlights an interval of the y axis, 
    144   a vertical zone of the x axis. It is unbounded in the 
     143  A horizontal zone highlights an interval of the y axis,
     144  a vertical zone of the x axis. It is unbounded in the
    145145  opposite direction.
    146146
     
    196196    {
    197197        d_data->interval = interval;
    198         itemChanged(); 
    199     }   
    200 }   
     198        itemChanged();
     199    }
     200}
    201201
    202202/*!
     
    207207{
    208208    return d_data->interval;
    209 }   
     209}
    210210
    211211/*!
     
    286286}
    287287
    288 /*! 
     288/*!
    289289  The bounding rectangle is build from the interval in one direction
    290290  and something invalid for the opposite direction.
Note: See TracChangeset for help on using the changeset viewer.