Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_plot_glcanvas.cpp
- Timestamp:
- Mar 19, 2021, 9:15:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_plot_glcanvas.cpp
r8127 r9383 25 25 for ( ; w->parentWidget() != NULL; w = w->parentWidget() ) 26 26 { 27 if ( w->autoFillBackground() || 27 if ( w->autoFillBackground() || 28 28 w->testAttribute( Qt::WA_StyledBackground ) ) 29 29 { … … 66 66 }; 67 67 68 /*! 68 /*! 69 69 \brief Constructor 70 70 … … 94 94 Set the frame style 95 95 96 \param style The bitwise OR between a shape and a shadow. 97 98 \sa frameStyle(), QFrame::setFrameStyle(), 96 \param style The bitwise OR between a shape and a shadow. 97 98 \sa frameStyle(), QFrame::setFrameStyle(), 99 99 setFrameShadow(), setFrameShape() 100 100 */ … … 209 209 \return Midline width of the frame 210 210 \sa setMidLineWidth(), lineWidth() 211 */ 211 */ 212 212 int QwtPlotGLCanvas::midLineWidth() const 213 213 { … … 279 279 280 280 \sa QwtPlot::drawCanvas() 281 */ 281 */ 282 282 void QwtPlotGLCanvas::drawItems( QPainter *painter ) 283 283 { … … 296 296 Draw the background of the canvas 297 297 \param painter Painter 298 */ 298 */ 299 299 void QwtPlotGLCanvas::drawBackground( QPainter *painter ) 300 300 { … … 316 316 w->style()->drawPrimitive( QStyle::PE_Widget, &opt, painter, w); 317 317 } 318 else 318 else 319 319 { 320 320 painter->fillRect( fillRect, … … 337 337 if ( frameShadow() == QwtPlotGLCanvas::Plain ) 338 338 { 339 qDrawPlainRect( painter, frameRect(), 339 qDrawPlainRect( painter, frameRect(), 340 340 palette().shadow().color(), lineWidth() ); 341 341 } … … 349 349 else 350 350 { 351 qDrawShadePanel( painter, frameRect(), palette(), 351 qDrawShadePanel( painter, frameRect(), palette(), 352 352 frameShadow() == Sunken, lineWidth() ); 353 353 }
Note:
See TracChangeset
for help on using the changeset viewer.