⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qwtplotlayout.3

📁 linux下qt的第三方的一个类
💻 3
📖 第 1 页 / 共 2 页
字号:
.TH "QwtPlotLayout" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtPlotLayout \- .SH SYNOPSIS.br.PP.SH "Detailed Description".PP Layout class for \fBQwtPlot\fP. Organizes the geometry for the different \fBQwtPlot\fP components. .PPDefinition at line 25 of file qwt_plot_layout.h..SS "Public Types".in +1c.ti -1c.RI "enum \fBOptions\fP { \fBAlignScales\fP =  1, \fBIgnoreScrollbars\fP =  2, \fBIgnoreFrames\fP =  4, \fBIgnoreMargin\fP =  8, \fBIgnoreLegend\fP =  16 }".br.in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtPlotLayout\fP ()".br.ti -1c.RI "virtual \fB~QwtPlotLayout\fP ()".br.ti -1c.RI "void \fBsetMargin\fP (int)".br.ti -1c.RI "int \fBmargin\fP () const".br.ti -1c.RI "void \fBsetCanvasMargin\fP (int margin, int axis=-1)".br.ti -1c.RI "int \fBcanvasMargin\fP (int axis) const".br.ti -1c.RI "void \fBsetAlignCanvasToScales\fP (bool)".br.ti -1c.RI "bool \fBalignCanvasToScales\fP () const".br.ti -1c.RI "void \fBsetSpacing\fP (int)".br.ti -1c.RI "int \fBspacing\fP () const".br.ti -1c.RI "void \fBsetLegendPosition\fP (\fBQwtPlot::Position\fP pos, double ratio)".br.ti -1c.RI "void \fBsetLegendPosition\fP (\fBQwtPlot::Position\fP pos)".br.ti -1c.RI "\fBQwtPlot::Position\fP \fBlegendPosition\fP () const".br.ti -1c.RI "void \fBsetLegendRatio\fP (double ratio)".br.ti -1c.RI "double \fBlegendRatio\fP () const".br.ti -1c.RI "void \fBsetLegendPos\fP (int pos, double ratio=0.0)".br.ti -1c.RI "int \fBlegendPos\fP () const".br.ti -1c.RI "virtual QSize \fBminimumSizeHint\fP (const \fBQwtPlot\fP *) const".br.ti -1c.RI "virtual void \fBactivate\fP (const \fBQwtPlot\fP *, const QRect &rect, int options=0)".br.ti -1c.RI "virtual void \fBinvalidate\fP ()".br.ti -1c.RI "const QRect & \fBtitleRect\fP () const".br.ti -1c.RI "const QRect & \fBlegendRect\fP () const".br.ti -1c.RI "const QRect & \fBscaleRect\fP (int axis) const".br.ti -1c.RI "const QRect & \fBcanvasRect\fP () const".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "QRect \fBlayoutLegend\fP (int options, const QRect &) const".br.ti -1c.RI "QRect \fBalignLegend\fP (const QRect &canvasRect, const QRect &legendRect) const".br.ti -1c.RI "void \fBexpandLineBreaks\fP (int options, const QRect &rect, int &dimTitle, int dimAxes[QwtPlot::axisCnt]) const".br.ti -1c.RI "void \fBalignScales\fP (int options, QRect &canvasRect, QRect scaleRect[QwtPlot::axisCnt]) const".br.in -1c.SS "Protected Attributes".in +1c.ti -1c.RI "QRect \fBd_titleRect\fP".br.ti -1c.RI "QRect \fBd_legendRect\fP".br.ti -1c.RI "QRect \fBd_scaleRect\fP [QwtPlot::axisCnt]".br.ti -1c.RI "QRect \fBd_canvasRect\fP".br.ti -1c.RI "QwtPlotLayoutData * \fBd_layoutData\fP".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtPlotLayout::QwtPlotLayout ()".PPConstructor. .PPDefinition at line 66 of file qwt_plot_layout.cpp..PPReferences invalidate(), setCanvasMargin(), and setLegendPosition()..SS "QwtPlotLayout::~\fBQwtPlotLayout\fP ()\fC [virtual]\fP".PPDestructor. .PPDefinition at line 79 of file qwt_plot_layout.cpp..SH "Member Function Documentation".PP .SS "void QwtPlotLayout::activate (const \fBQwtPlot\fP * plot, const QRect & plotRect, int options = \fC0\fP)\fC [virtual]\fP".PPRecalculate the geometry of all components. .PP\fBParameters:\fP.RS 4\fIplot\fP Plot to be layout .br\fIplotRect\fP Rect where to place the components .br\fIoptions\fP Options.RE.PP\fBSee also:\fP.RS 4\fBQwtPlotLayout::invalidate()\fP, \fBQwtPlotLayout::titleRect()\fP, \fBQwtPlotLayout::legendRect()\fP, \fBQwtPlotLayout::scaleRect()\fP, \fBQwtPlotLayout::canvasRect()\fP .RE.PPDefinition at line 910 of file qwt_plot_layout.cpp..PPReferences alignLegend(), alignScales(), expandLineBreaks(), invalidate(), QwtLegend::isEmpty(), layoutLegend(), QwtPlot::legend(), and scaleRect()..PPReferenced by QwtPlot::print(), and QwtPlot::updateLayout()..SS "bool QwtPlotLayout::alignCanvasToScales () const".PPReturn the align-canvas-to-axis-scales setting. The canvas may:.IP "\(bu" 2extend beyond the axis scale ends to maximize its size.IP "\(bu" 2align with the axis scale ends to control its size..PP.PP\fBReturns:\fP.RS 4align-canvas-to-axis-scales setting .RE.PP\fBSee also:\fP.RS 4\fBQwtPlotLayout::setAlignCanvasToScales\fP, \fBQwtPlotLayout::setCanvasMargin()\fP .RE.PP\fBNote:\fP.RS 4In this context the term 'scale' means the backbone of a scale. .RE.PPDefinition at line 180 of file qwt_plot_layout.cpp..SS "QRect QwtPlotLayout::alignLegend (const QRect & canvasRect, const QRect & legendRect) const\fC [protected]\fP".PPAlign the legend to the canvas .PP\fBParameters:\fP.RS 4\fIcanvasRect\fP Geometry of the canvas .br\fIlegendRect\fP Maximum geometry for the legend .RE.PP\fBReturns:\fP.RS 4Geometry for the aligned legend .RE.PPDefinition at line 630 of file qwt_plot_layout.cpp..PPReferenced by activate()..SS "void QwtPlotLayout::alignScales (int options, QRect & canvasRect, QRect scaleRect[QwtPlot::axisCnt]) const\fC [protected]\fP".PPAlign the ticks of the axis to the canvas borders using the empty corners. Definition at line 773 of file qwt_plot_layout.cpp..PPReferences scaleRect()..PPReferenced by activate()..SS "int QwtPlotLayout::canvasMargin (int axis) const".PP\fBReturns:\fP.RS 4Margin around the scale tick borders .RE.PP\fBSee also:\fP.RS 4\fBQwtPlotLayout::setCanvasMargin()\fP .RE.PPDefinition at line 143 of file qwt_plot_layout.cpp..PPReferenced by QwtPlot::canvasMap(), and QwtPlot::print()..SS "const QRect & QwtPlotLayout::canvasRect () const".PP\fBReturns:\fP.RS 4Geometry for the canvas .RE.PP\fBSee also:\fP.RS 4\fBQwtPlotLayout::activate()\fP, \fBQwtPlotLayout::invalidate()\fP .RE.PPDefinition at line 374 of file qwt_plot_layout.cpp..PPReferenced by QwtPlot::print(), and QwtPlot::updateLayout()..SS "void QwtPlotLayout::expandLineBreaks (int options, const QRect & rect, int & dimTitle, int dimAxis[QwtPlot::axisCnt]) const\fC [protected]\fP".PPExpand all line breaks in text labels, and calculate the height of their widgets in orientation of the text..PP\fBParameters:\fP.RS 4\fIoptions\fP Options how to layout the legend .br\fIrect\fP Bounding rect for title, axes and canvas. .br\fIdimTitle\fP Expanded height of the title widget .br\fIdimAxis\fP Expanded heights of the axis in axis orientation. .RE.PPDefinition at line 664 of file qwt_plot_layout.cpp..PPReferenced by activate()..SS "void QwtPlotLayout::invalidate ()\fC [virtual]\fP".PPInvalidate the geometry of all components. .PP\fBSee also:\fP.RS 4\fBQwtPlotLayout::activate()\fP .RE.PPDefinition at line 383 of file qwt_plot_layout.cpp..PPReferenced by activate(), QwtPlot::print(), and QwtPlotLayout()..SS "QRect QwtPlotLayout::layoutLegend (int options, const QRect & rect) const\fC [protected]\fP".PPFind the geometry for the legend .PP\fBParameters:\fP.RS 4\fIoptions\fP Options how to layout the legend .br\fIrect\fP Rectangle where to place the legend .RE.PP\fBReturns:\fP.RS 4Geometry for the legend .RE.PPDefinition at line 572 of file qwt_plot_layout.cpp..PPReferences legendRect()..PPReferenced by activate()..SS "int QwtPlotLayout::legendPos () const"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -