Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_plot_intervalcurve.cpp
- Timestamp:
- Mar 19, 2021, 9:15:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_plot_intervalcurve.cpp
r8127 r9383 154 154 /*! 155 155 Assign a series of samples 156 156 157 157 setSamples() is just a wrapper for setData() without any additional 158 158 value - beside that it is easier to find for the developer. 159 159 160 160 \param data Data 161 161 \warning The item takes ownership of the data object, deleting 162 162 it when its not used anymore. 163 163 */ 164 void QwtPlotIntervalCurve::setSamples( 164 void QwtPlotIntervalCurve::setSamples( 165 165 QwtSeriesData<QwtIntervalSample> *data ) 166 166 { … … 223 223 /*! 224 224 Build and assign a pen 225 225 226 226 In Qt5 the default pen width is 1.0 ( 0.0 in Qt4 ) what makes it 227 227 non cosmetic ( see QPen::isCosmetic() ). This method has been introduced 228 228 to hide this incompatibility. 229 229 230 230 \param color Pen color 231 231 \param width Pen width 232 232 \param style Pen style 233 233 234 234 \sa pen(), brush() 235 235 */ 236 236 void QwtPlotIntervalCurve::setPen( const QColor &color, qreal width, Qt::PenStyle style ) 237 { 237 { 238 238 setPen( QPen( color, width, style ) ); 239 } 239 } 240 240 241 241 /*! … … 299 299 { 300 300 QRectF rect = QwtPlotSeriesItem::boundingRect(); 301 if ( rect.isValid() &&orientation() == Qt::Vertical )301 if ( orientation() == Qt::Vertical ) 302 302 rect.setRect( rect.y(), rect.x(), rect.height(), rect.width() ); 303 303 … … 546 546 If a symbol is assigned it is scaled to size. 547 547 548 \param index Index of the legend entry 548 \param index Index of the legend entry 549 549 ( ignored as there is only one ) 550 550 \param size Icon size 551 551 552 552 \sa QwtPlotItem::setLegendIconSize(), QwtPlotItem::legendData() 553 553 */ 554 QwtGraphic QwtPlotIntervalCurve::legendIcon( 554 QwtGraphic QwtPlotIntervalCurve::legendIcon( 555 555 int index, const QSizeF &size ) const 556 556 {
Note:
See TracChangeset
for help on using the changeset viewer.