Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_interval_symbol.cpp
- Timestamp:
- Mar 19, 2021, 9:15:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_interval_symbol.cpp
r8127 r9383 69 69 70 70 //! \brief Assignment operator 71 QwtIntervalSymbol &QwtIntervalSymbol::operator=( 71 QwtIntervalSymbol &QwtIntervalSymbol::operator=( 72 72 const QwtIntervalSymbol &other ) 73 73 { … … 77 77 78 78 //! \brief Compare two symbols 79 bool QwtIntervalSymbol::operator==( 79 bool QwtIntervalSymbol::operator==( 80 80 const QwtIntervalSymbol &other ) const 81 81 { … … 84 84 85 85 //! \brief Compare two symbols 86 bool QwtIntervalSymbol::operator!=( 86 bool QwtIntervalSymbol::operator!=( 87 87 const QwtIntervalSymbol &other ) const 88 88 { … … 153 153 } 154 154 155 /*! 155 /*! 156 156 Build and assign a pen 157 157 158 158 In Qt5 the default pen width is 1.0 ( 0.0 in Qt4 ) what makes it 159 159 non cosmetic ( see QPen::isCosmetic() ). This method has been introduced … … 163 163 \param width Pen width 164 164 \param style Pen style 165 165 166 166 \sa pen(), brush() 167 */ 168 void QwtIntervalSymbol::setPen( const QColor &color, 167 */ 168 void QwtIntervalSymbol::setPen( const QColor &color, 169 169 qreal width, Qt::PenStyle style ) 170 { 170 { 171 171 setPen( QPen( color, width, style ) ); 172 172 } … … 222 222 if ( d_data->width > pw ) 223 223 { 224 if ( ( orientation == Qt::Horizontal ) 224 if ( ( orientation == Qt::Horizontal ) 225 225 && ( p1.y() == p2.y() ) ) 226 226 { … … 233 233 p2.x(), y, p2.x(), y + sw ); 234 234 } 235 else if ( ( orientation == Qt::Vertical ) 235 else if ( ( orientation == Qt::Vertical ) 236 236 && ( p1.x() == p2.x() ) ) 237 237 { … … 274 274 else 275 275 { 276 if ( ( orientation == Qt::Horizontal ) 276 if ( ( orientation == Qt::Horizontal ) 277 277 && ( p1.y() == p2.y() ) ) 278 278 {
Note:
See TracChangeset
for help on using the changeset viewer.