📄 qwtplotpicker.3
字号:
.TH "QwtPlotPicker" 3 "4 Nov 2003" "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.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 "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.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 = 0)".PPCreate a plot picker. The 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.SS "QwtPlotPicker::QwtPlotPicker (int xAxis, int yAxis, \fBQwtPlotCanvas\fP * canvas, const char * name = 0)".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.SS "QwtPlotPicker::QwtPlotPicker (int xAxis, int yAxis, int selectionFlags, \fBRubberBand\fP rubberBand, \fBDisplayMode\fP cursorLabelMode, \fBQwtPlotCanvas\fP * canvas, const char * name = 0)".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.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.PPReimplemented from \fBQwtPicker\fP..SS "void QwtPlotPicker::appended (const \fBQwtDoublePoint\fP & pos)\fC [protected]\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.SS "const \fBQwtPlotCanvas\fP * QwtPlotPicker::canvas () const".PPReturn Observed plot canvas. .SS "\fBQwtPlotCanvas\fP * QwtPlotPicker::canvas ()".PPReturn observed plot canvas. .SS "QString QwtPlotPicker::cursorLabel (const \fBQwtDoublePoint\fP & pos) const\fC [protected, virtual]\fP".PPTranslate a position into a position string. In 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 + -