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

📄 qwtplotpicker.3

📁 linux下qt的第三方的一个类
💻 3
字号:
.TH "QwtPlotPicker" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtPlotPicker \- .SH SYNOPSIS.br.PPInherits \fBQwtPicker\fP..PPInherited by \fBQwtPlotZoomer\fP..PP.SH "Detailed Description".PP QwtPlotPicker provides selections on a plot canvas. QwtPlotPicker is a \fBQwtPicker\fP tailored for selections on a plot canvas. It is set to a x-Axis and y-Axis and translates all pixel coordinates into this coodinate system..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, your must call \fBQwtPlot::replot()\fP before calling \fBQwtPlotPicker::scaleRect()\fP, \fBQwtPlotZoomer::scaleRect()\fP, \fBQwtPlotPicker::QwtPlotPicker()\fP or \fBQwtPlotZoomer::QwtPlotZoomer()\fP. This quirk will be removed in a future release. .RE.PP.PPDefinition at line 38 of file qwt_plot_picker.h..SS "Signals".in +1c.ti -1c.RI "void \fBselected\fP (const \fBQwtDoublePoint\fP &pos)".br.ti -1c.RI "void \fBselected\fP (const \fBQwtDoubleRect\fP &rect)".br.ti -1c.RI "void \fBselected\fP (const QwtArray< \fBQwtDoublePoint\fP > &pa)".br.ti -1c.RI "void \fBappended\fP (const \fBQwtDoublePoint\fP &pos)".br.ti -1c.RI "void \fBmoved\fP (const \fBQwtDoublePoint\fP &pos)".br.in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtPlotPicker\fP (\fBQwtPlotCanvas\fP *, const char *name=0)".br.ti -1c.RI "\fBQwtPlotPicker\fP (int xAxis, int yAxis, \fBQwtPlotCanvas\fP *, const char *name=0)".br.ti -1c.RI "\fBQwtPlotPicker\fP (int xAxis, int yAxis, int selectionFlags, \fBRubberBand\fP rubberBand, \fBDisplayMode\fP cursorLabelMode, \fBQwtPlotCanvas\fP *, const char *name=0)".br.ti -1c.RI "virtual void \fBsetAxis\fP (int xAxis, int yAxis)".br.ti -1c.RI "int \fBxAxis\fP () const".br.ti -1c.RI "int \fByAxis\fP () const".br.ti -1c.RI "\fBQwtPlot\fP * \fBplot\fP ()".br.ti -1c.RI "const \fBQwtPlot\fP * \fBplot\fP () const".br.ti -1c.RI "\fBQwtPlotCanvas\fP * \fBcanvas\fP ()".br.ti -1c.RI "const \fBQwtPlotCanvas\fP * \fBcanvas\fP () const".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "\fBQwtDoubleRect\fP \fBscaleRect\fP () const".br.ti -1c.RI "\fBQwtDoubleRect\fP \fBinvTransform\fP (const QRect &) const".br.ti -1c.RI "QRect \fBtransform\fP (const \fBQwtDoubleRect\fP &) const".br.ti -1c.RI "\fBQwtDoublePoint\fP \fBinvTransform\fP (const QPoint &) const".br.ti -1c.RI "QPoint \fBtransform\fP (const \fBQwtDoublePoint\fP &) const".br.ti -1c.RI "virtual QString \fBcursorLabel\fP (const QPoint &) const".br.ti -1c.RI "virtual QString \fBcursorLabel\fP (const \fBQwtDoublePoint\fP &) const".br.ti -1c.RI "virtual void \fBmove\fP (const QPoint &)".br.ti -1c.RI "virtual void \fBappend\fP (const QPoint &)".br.ti -1c.RI "virtual bool \fBend\fP (bool ok=TRUE)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtPlotPicker::QwtPlotPicker (\fBQwtPlotCanvas\fP * canvas, const char * name = \fC0\fP)".PPCreate a plot picker. .PPThe picker is set to those x- and y-axis of the plot that are enabled. If both or no x-axis are enabled, the picker is set to QwtPlot::xBottom. If both or no y-axis are enabled, it is set to QwtPlot::yLeft..PP\fBParameters:\fP.RS 4\fIcanvas\fP Plot canvas to observe, also the parent object .br\fIname\fP Object name.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 \fBQwtPlotPicker()\fP. This quirk will be removed in a future release..RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::autoReplot()\fP, \fBQwtPlot::replot()\fP, \fBQwtPlotPicker::scaleRect()\fP .RE.PPDefinition at line 38 of file qwt_plot_picker.cpp..PPReferences QwtPlot::axisEnabled(), plot(), setAxis(), xAxis(), and yAxis()..SS "QwtPlotPicker::QwtPlotPicker (int xAxis, int yAxis, \fBQwtPlotCanvas\fP * canvas, const char * name = \fC0\fP)".PPCreate a plot picker.PP\fBParameters:\fP.RS 4\fIxAxis\fP Set the x axis of the picker .br\fIyAxis\fP Set the y axis of the picker .br\fIcanvas\fP Plot canvas to observe, also the parent object .br\fIname\fP Object name.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 \fBQwtPlotPicker()\fP. This quirk will be removed in a future release..RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::autoReplot()\fP, \fBQwtPlot::replot()\fP, \fBQwtPlotPicker::scaleRect()\fP .RE.PPDefinition at line 83 of file qwt_plot_picker.cpp..SS "QwtPlotPicker::QwtPlotPicker (int xAxis, int yAxis, int selectionFlags, \fBRubberBand\fP rubberBand, \fBDisplayMode\fP cursorLabelMode, \fBQwtPlotCanvas\fP * canvas, const char * name = \fC0\fP)".PPCreate a plot picker.PP\fBParameters:\fP.RS 4\fIxAxis\fP X axis of the picker .br\fIyAxis\fP Y axis of the picker .br\fIselectionFlags\fP Or磀 value of SelectionType, RectSelectionType and SelectionMode .br\fIrubberBand\fP Rubberband style .br\fIcursorLabelMode\fP Cursor label mode .br\fIcanvas\fP Plot canvas to observe, also the parent object .br\fIname\fP Object name.RE.PP\fBSee also:\fP.RS 4\fBQwtPicker\fP, \fBQwtPicker::setSelectionFlags()\fP, \fBQwtPicker::setRubberBand()\fP, \fBQwtPicker::setCursorLabelMode\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 \fBQwtPlotPicker()\fP. This quirk will be removed in a future release..RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::autoReplot()\fP, \fBQwtPlot::replot()\fP, \fBQwtPlotPicker::scaleRect()\fP .RE.PPDefinition at line 114 of file qwt_plot_picker.cpp..SH "Member Function Documentation".PP .SS "void QwtPlotPicker::append (const QPoint & pos)\fC [protected, virtual]\fP".PPAppend a point to the selection and update rubberband and cursor label..PP\fBParameters:\fP.RS 4\fIpos\fP Additional point .RE.PP\fBSee also:\fP.RS 4\fBisActive\fP, \fBbegin()\fP, \fBend()\fP, \fBmove()\fP, \fBappended()\fP.RE.PP\fBNote:\fP.RS 4The \fBappended(const QPoint &)\fP, appended(const QDoublePoint &) signals are emitted. .RE.PP.PPReimplemented from \fBQwtPicker\fP..PPDefinition at line 261 of file qwt_plot_picker.cpp..PPReferences QwtPicker::append(), appended(), and invTransform()..SS "void QwtPlotPicker::appended (const \fBQwtDoublePoint\fP & pos)\fC [signal]\fP".PPA signal emitted when a point has been appended to the selection.PP\fBParameters:\fP.RS 4\fIpos\fP Position of the appended point. .RE.PP\fBSee also:\fP.RS 4\fBappend()\fP. \fBmoved()\fP .RE.PP.PPReferenced by append()..SS "const \fBQwtPlotCanvas\fP * QwtPlotPicker::canvas () const".PPReturn Observed plot canvas. .PPDefinition at line 134 of file qwt_plot_picker.cpp..SS "\fBQwtPlotCanvas\fP * QwtPlotPicker::canvas ()".PPReturn observed plot canvas. .PPDefinition at line 124 of file qwt_plot_picker.cpp..PPReferences QwtPicker::parentWidget()..PPReferenced by plot()..SS "QString QwtPlotPicker::cursorLabel (const \fBQwtDoublePoint\fP & pos) const\fC [protected, virtual]\fP".PPTranslate a position into a position string. .PPIn case of HLineRubberBand the label is the value of the y position, in case of VLineRubberBand the value of the x position. Otherwise the label contains x and y position separated by a 

⌨️ 快捷键说明

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