Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_plot_layout.h
- Timestamp:
- May 10, 2017, 3:20:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_plot_layout.h
r4271 r8127 20 20 or by QwtPlot::print() to render its content to a QPaintDevice like 21 21 a QPrinter, QPixmap/QImage or QSvgRenderer. 22 23 \sa QwtPlot::setPlotLayout() 22 24 */ 23 25 … … 44 46 45 47 //! Ignore the legend. 46 IgnoreLegend = 0x08 48 IgnoreLegend = 0x08, 49 50 //! Ignore the title. 51 IgnoreTitle = 0x10, 52 53 //! Ignore the footer. 54 IgnoreFooter = 0x20 47 55 }; 48 56 … … 57 65 58 66 void setAlignCanvasToScales( bool ); 59 bool alignCanvasToScales() const; 67 68 void setAlignCanvasToScale( int axisId, bool ); 69 bool alignCanvasToScale( int axisId ) const; 60 70 61 71 void setSpacing( int ); … … 76 86 virtual void invalidate(); 77 87 78 const QRectF &titleRect() const; 79 const QRectF &legendRect() const; 80 const QRectF &scaleRect( int axis ) const; 81 const QRectF &canvasRect() const; 88 QRectF titleRect() const; 89 QRectF footerRect() const; 90 QRectF legendRect() const; 91 QRectF scaleRect( int axis ) const; 92 QRectF canvasRect() const; 82 93 83 94 class LayoutData; … … 85 96 protected: 86 97 98 void setTitleRect( const QRectF & ); 99 void setFooterRect( const QRectF & ); 100 void setLegendRect( const QRectF & ); 101 void setScaleRect( int axis, const QRectF & ); 102 void setCanvasRect( const QRectF & ); 103 87 104 QRectF layoutLegend( Options options, const QRectF & ) const; 88 105 QRectF alignLegend( const QRectF &canvasRect, 89 106 const QRectF &legendRect ) const; 90 107 91 void expandLineBreaks( intoptions, const QRectF &rect,92 int &dimTitle, int dimAxes[QwtPlot::axisCnt] ) const;108 void expandLineBreaks( Options options, const QRectF &rect, 109 int &dimTitle, int &dimFooter, int dimAxes[QwtPlot::axisCnt] ) const; 93 110 94 void alignScales( intoptions, QRectF &canvasRect,111 void alignScales( Options options, QRectF &canvasRect, 95 112 QRectF scaleRect[QwtPlot::axisCnt] ) const; 96 113
Note:
See TracChangeset
for help on using the changeset viewer.