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

📄 qwtplotzoomer.3

📁 linux下qt的第三方的一个类
💻 3
📖 第 1 页 / 共 2 页
字号:
.SS "void QwtPlotZoomer::move (double x, double y)\fC [virtual, slot]\fP".PPMove the the current zoom rectangle..PP\fBParameters:\fP.RS 4\fIx\fP X value .br\fIy\fP value.RE.PP\fBSee also:\fP.RS 4\fBQwtDoubleRect::move\fP .RE.PP\fBNote:\fP.RS 4The changed rectangle is limited by the zoom base .RE.PPDefinition at line 430 of file qwt_plot_zoomer.cpp..PPReferences rescale(), QwtDoubleRect::x1(), QwtDoubleRect::y1(), zoomBase(), and zoomRect()..PPReferenced by moveBy()..SS "void QwtPlotZoomer::moveBy (double dx, double dy)\fC [slot]\fP".PPMove the current zoom rectangle..PP\fBParameters:\fP.RS 4\fIdx\fP X offset .br\fIdy\fP Y offset.RE.PP\fBNote:\fP.RS 4The changed rectangle is limited by the zoom base .RE.PPDefinition at line 415 of file qwt_plot_zoomer.cpp..PPReferences move(), QwtDoubleRect::x1(), and QwtDoubleRect::y1()..SS "void QwtPlotZoomer::rescale ()\fC [protected, virtual]\fP".PPAdjust the observed plot to \fBzoomRect()\fP.PP\fBNote:\fP.RS 4Initiates \fBQwtPlot::replot\fP .RE.PPDefinition at line 327 of file qwt_plot_zoomer.cpp..PPReferences QwtPlotPicker::plot(), QwtPlot::replot(), QwtPlotPicker::scaleRect(), QwtPlot::setAxisScale(), QwtDoubleRect::x1(), QwtDoubleRect::x2(), QwtPlotPicker::xAxis(), QwtDoubleRect::y1(), QwtDoubleRect::y2(), and QwtPlotPicker::yAxis()..PPReferenced by move(), setZoomBase(), and zoom()..SS "void QwtPlotZoomer::setAxis (int xAxis, int yAxis)\fC [virtual]\fP".PPReinitialize the axes, and set the zoom base to their scales..PP\fBParameters:\fP.RS 4\fIxAxis\fP X axis .br\fIyAxis\fP Y axis .RE.PP.PPReimplemented from \fBQwtPlotPicker\fP..PPDefinition at line 350 of file qwt_plot_zoomer.cpp..PPReferences QwtPlotPicker::scaleRect(), QwtPlotPicker::setAxis(), setZoomBase(), QwtPlotPicker::xAxis(), and QwtPlotPicker::yAxis()..SS "void QwtPlotZoomer::setMaxStackDepth (int depth)".PPLimit the number of recursive zoom operations to depth. .PPA value of -1 set the depth to unlimited, 0 disables zooming. If the current zoom rectangle is below depth, the plot is unzoomed..PP\fBParameters:\fP.RS 4\fIdepth\fP Maximum for the stack depth .RE.PP\fBSee also:\fP.RS 4\fBmaxStackDepth()\fP .RE.PP\fBNote:\fP.RS 4depth doesn磘 include the zoom base, so \fBzoomStack()\fP.count() might be \fBmaxStackDepth()\fP + 1. .RE.PPDefinition at line 135 of file qwt_plot_zoomer.cpp..PPReferences zoom()..SS "void QwtPlotZoomer::setSelectionFlags (int flags)\fC [virtual]\fP".PPSet the selection flags.PP\fBParameters:\fP.RS 4\fIflags\fP Or磀 value of \fBQwtPicker::RectSelectionType\fP and \fBQwtPicker::SelectionMode\fP. The default value is QwtPicker::RectSelection & QwtPicker::ClickSelection..RE.PP\fBSee also:\fP.RS 4\fBselectionFlags()\fP, \fBSelectionType\fP, \fBRectSelectionType\fP, \fBSelectionMode\fP .RE.PP\fBNote:\fP.RS 4QwtPicker::RectSelection will be auto added. .RE.PP.PPReimplemented from \fBQwtPicker\fP..PPDefinition at line 578 of file qwt_plot_zoomer.cpp..PPReferences QwtPicker::setSelectionFlags()..SS "void QwtPlotZoomer::setZoomBase (const \fBQwtDoubleRect\fP & base)\fC [virtual]\fP".PPSet the initial size of the zoomer. .PPbase is united with the current \fBscaleRect()\fP and the zoom stack is reinitalized with it as zoom base. plot is zoomed to \fBscaleRect()\fP..PP\fBParameters:\fP.RS 4\fIbase\fP Zoom base.RE.PP\fBSee also:\fP.RS 4\fBzoomBase()\fP, \fBscaleRect()\fP .RE.PPDefinition at line 227 of file qwt_plot_zoomer.cpp..PPReferences QwtPlotPicker::plot(), rescale(), and QwtPlotPicker::scaleRect()..SS "void QwtPlotZoomer::setZoomBase ()\fC [virtual]\fP".PPReinitialized the zoom stack with \fBscaleRect()\fP as base..PP\fBSee also:\fP.RS 4\fBzoomBase()\fP, \fBscaleRect()\fP.RE.PP\fBWarning:\fP.RS 4Calling \fBQwtPlot::setAxisScale()\fP while \fBQwtPlot::autoReplot()\fP is FALSE leaves the axis in an 'intermediate' state. In this case, to prevent buggy behaviour, you must call \fBQwtPlot::replot()\fP before calling \fBQwtPlotZoomer::setZoomBase()\fP. This quirk will be removed in a future release..RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::autoReplot()\fP, \fBQwtPlot::replot()\fP. .RE.PPDefinition at line 204 of file qwt_plot_zoomer.cpp..PPReferences QwtPlotPicker::plot(), rescale(), and QwtPlotPicker::scaleRect()..PPReferenced by setAxis()..SS "void QwtPlotZoomer::widgetKeyPressEvent (QKeyEvent * ke)\fC [protected, virtual]\fP".PPQt::Key_Plus zooms out, Qt::Key_Minus zooms in one position on the zoom stack, Qt::Key_Escape zooms out to the zoom base..PPChanges the current position on the stack, but doesn磘 pop any rectangle..PP\fBNote:\fP.RS 4The keys codes can be changed, using \fBQwtEventPattern::setKeyPattern\fP: 3, 4, 5 .RE.PP.PPReimplemented from \fBQwtPicker\fP..PPDefinition at line 392 of file qwt_plot_zoomer.cpp..PPReferences QwtPicker::isActive(), QwtEventPattern::keyMatch(), QwtPicker::widgetKeyPressEvent(), and zoom()..SS "void QwtPlotZoomer::widgetMouseReleaseEvent (QMouseEvent * me)\fC [protected, virtual]\fP".PPQt::MidButton zooms out one position on the zoom stack, Qt::RightButton to the zoom base..PPChanges the current position on the stack, but doesn磘 pop any rectangle..PP\fBNote:\fP.RS 4The mouse events can be changed, using \fBQwtEventPattern::setMousePattern\fP: 2, 1 .RE.PP.PPReimplemented from \fBQwtPicker\fP..PPDefinition at line 369 of file qwt_plot_zoomer.cpp..PPReferences QwtEventPattern::mouseMatch(), QwtPicker::widgetMouseReleaseEvent(), and zoom()..SS "void QwtPlotZoomer::zoom (int offset)\fC [virtual, slot]\fP".PPZoom in or out. .PPActivate a rectangle on the zoom stack with an offset relative to the current position. Negative values of offest will zoom out, positive zoom in. A value of 0 zooms out to the zoom base..PP\fBParameters:\fP.RS 4\fIoffset\fP Offset relative to the current position of the zoom stack. .RE.PP\fBSee also:\fP.RS 4\fBzoomRectIndex()\fP .RE.PPDefinition at line 305 of file qwt_plot_zoomer.cpp..PPReferences rescale()..SS "void QwtPlotZoomer::zoom (const \fBQwtDoubleRect\fP & rect)\fC [virtual, slot]\fP".PPZoom in. .PPClears all rectangles above the current position of the zoom stack and pushs the intersection of \fBzoomRect()\fP and the normalized rect on it..PP\fBNote:\fP.RS 4If the maximal stack depth is reached, zoom is ignored. .RE.PPDefinition at line 277 of file qwt_plot_zoomer.cpp..PPReferences QwtDoubleRect::normalize(), rescale(), and zoomRect()..PPReferenced by end(), setMaxStackDepth(), widgetKeyPressEvent(), and widgetMouseReleaseEvent()..SS "\fBQwtDoubleRect\fP QwtPlotZoomer::zoomBase () const".PP\fBReturns:\fP.RS 4Initial rectangle of the zoomer .RE.PP\fBSee also:\fP.RS 4\fBsetZoomBase()\fP, \fBzoomRect()\fP .RE.PPDefinition at line 186 of file qwt_plot_zoomer.cpp..PPReferenced by move()..SS "void QwtPlotZoomer::zoomed (const \fBQwtDoubleRect\fP & rect)\fC [signal]\fP".PPA signal emitting the \fBzoomRect()\fP, when the plot has been zoomed in or out..PP\fBParameters:\fP.RS 4\fIrect\fP Current zoom rectangle. .RE.PP\fBWarning:\fP.RS 4\fBzoomed()\fP is only emitted after selections in \fBend()\fP, but never in \fBzoom()\fP. .RE.PP.PPReferenced by end()..SS "\fBQwtDoubleRect\fP QwtPlotZoomer::zoomRect () const".PPRectangle at the current position on the zoom stack..PP\fBSee also:\fP.RS 4\fBQwtPlotZoomer::zoomRectIndex()\fP, \fBQwtPlotZoomer::scaleRect()\fP. .RE.PPDefinition at line 254 of file qwt_plot_zoomer.cpp..PPReferenced by end(), move(), and zoom()..SS "uint QwtPlotZoomer::zoomRectIndex () const".PP\fBReturns:\fP.RS 4Index of current position of zoom stack. .RE.PPDefinition at line 262 of file qwt_plot_zoomer.cpp..SS "QValueStack< \fBQwtDoubleRect\fP > & QwtPlotZoomer::zoomStack ()\fC [protected]\fP".PPReturn the zoom stack. \fBzoomStack()\fP[0] is the zoom base, \fBzoomStack()\fP[1] the first zoomed rectangle. Definition at line 177 of file qwt_plot_zoomer.cpp..SS "const QValueStack< \fBQwtDoubleRect\fP > & QwtPlotZoomer::zoomStack () const".PPReturn the zoom stack. \fBzoomStack()\fP[0] is the zoom base, \fBzoomStack()\fP[1] the first zoomed rectangle. Definition at line 168 of file qwt_plot_zoomer.cpp..SH "Author".PP Generated automatically by Doxygen for Qwt User's Guide from the source code.

⌨️ 快捷键说明

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