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

📄 qwtplot.3

📁 软件无线电的平台
💻 3
📖 第 1 页 / 共 5 页
字号:
.PP.SS "int QwtPlot::curveSplineSize (long key) const".PP\fBReturns:\fP.RS 4the spline size of the curve indexed by key .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PP.SS "int QwtPlot::curveStyle (long key) const".PP\fBReturns:\fP.RS 4the style of the curve indexed by key .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PP\fBSee also:\fP.RS 4\fBsetCurveStyle()\fP .RE.PP.SS "\fBQwtSymbol\fP QwtPlot::curveSymbol (long key) const".PPthe symbol of the curve indexed by key \fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PP\fBReturns:\fP.RS 4The symbol of the specified curve. If the key is invalid, a symbol of type 'NoSymbol'. .RE.PP.SS "QString QwtPlot::curveTitle (long key) const".PP\fBReturns:\fP.RS 4the title of the curve indexed by key .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PP.SS "int QwtPlot::curveXAxis (long key) const".PPReturn the index of the x axis to which a curve is mapped. \fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PP\fBReturns:\fP.RS 4x axis of the curve or -1 if the key is invalid. .RE.PP.SS "int QwtPlot::curveYAxis (long key) const".PPthe index of the y axis to which a curve is mapped \fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PP\fBReturns:\fP.RS 4y axis of the curve or -1 if the key is invalid. .RE.PP.SS "void QwtPlot::drawCanvas (QPainter * painter)\fC [protected, virtual]\fP".PPRedraw the canvas. .PP\fBParameters:\fP.RS 4\fIpainter\fP Painter used for drawing.RE.PP\fBWarning:\fP.RS 4drawCanvas calls drawCanvasItems what is also used for printing. Applications that like to add individual plot items better overload \fBQwtPlot::drawCanvasItems\fP .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::drawCanvasItems\fP .RE.PP.SS "void QwtPlot::drawCanvasItems (QPainter * painter, const QRect & rect, const QwtArray< \fBQwtDiMap\fP > & map, const \fBQwtPlotPrintFilter\fP & pfilter) const\fC [protected, virtual]\fP".PPRedraw the canvas items. .PP\fBParameters:\fP.RS 4\fIpainter\fP Painter used for drawing .br\fIrect\fP Bounding rectangle where to paint .br\fImap\fP QwtPlot::axisCnt maps, mapping between plot and paint device coordinates .br\fIpfilter\fP Plot print filter .RE.PP.SS "void QwtPlot::drawContents (QPainter * p)\fC [protected, virtual]\fP".PPdrawContents .SS "void QwtPlot::drawCurve (long key, int from = 0, int to = -1)".PPDraw a set of points of a curve. When observing an measurement while it is running, new points have to be added to an existing curve. drawCurve can be used to display them avoiding a complete redraw of the canvas. \fBParameters:\fP.RS 4\fIkey\fP curve key .br\fIfrom\fP index of the first point to be painted .br\fIto\fP index of the last point to be painted. If to < 0 the curve will be painted to its last point. .RE.PP\fBSee also:\fP.RS 4\fBQwtCurve::draw\fP .RE.PP.SS "void QwtPlot::enableAxis (int axis, bool tf = TRUE)".PPEnable or disable a specified axis. When an axis is disabled, this only means that it is not visible on the screen. Curves, markers and can be attached to disabled axes, and transformation of screen coordinates into values works as normal..PPOnly xBottom and yLeft are enabled by default. .PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .br\fItf\fP \fCTRUE\fP (enabled) or \fCFALSE\fP (disabled) .RE.PP.SS "void QwtPlot::enableGridX (bool tf = TRUE)".PPEnable or disable vertical gridlines. .PP\fBParameters:\fP.RS 4\fItf\fP Enable (TRUE) or disable (FALSE). Defaults to TRUE. .RE.PP.SS "void QwtPlot::enableGridXMin (bool tf = TRUE)".PPEnable or disable vertical gridlines for the minor scale marks. \fBParameters:\fP.RS 4\fItf\fP enable (TRUE) or disable (FALSE). Defaults to TRUE. .RE.PP.SS "void QwtPlot::enableGridY (bool tf = TRUE)".PPEnable or disable horizontal gridlines. \fBParameters:\fP.RS 4\fItf\fP Enable (TRUE) or disable (FALSE). Defaults to TRUE. .RE.PP.SS "void QwtPlot::enableGridYMin (bool tf = TRUE)".PPEnable or disable horizontal gridlines for the minor scale marks. \fBParameters:\fP.RS 4\fItf\fP enable (TRUE) or disable (FALSE). Defaults to TRUE. .RE.PP.SS "void QwtPlot::enableLegend (bool enable, long curveKey = -1)".PPEnable or disable the legend. \fBParameters:\fP.RS 4\fIenable\fP \fCTRUE\fP (enabled) or \fCFALSE\fP (disabled) .br\fIcurveKey\fP Key of a existing curve. If curveKey < 0 the legends for all curves will be updated. .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::setAutoLegend()\fP .PP\fBQwtPlot::setLegendPos()\fP .RE.PP.SS "void QwtPlot::enableOutline (bool tf)".PPEnables or disables outline drawing. When the outline feature is enabled, a shape will be drawn in the plotting region when the user presses or drags the mouse. It can be used to implement crosshairs, mark a selected region, etc. \fBParameters:\fP.RS 4\fItf\fP \fCTRUE\fP (enabled) or \fCFALSE\fP (disabled) .RE.PP\fBWarning:\fP.RS 4An outline style has to be specified. .RE.PP\fBSee also:\fP.RS 4\fBsetOutlineStyle()\fP .RE.PP.SS "bool QwtPlot::event (QEvent * e)\fC [virtual]\fP".PPAdds handling of QEvent::LayoutHint. .SS "const  \fBQwtPlotGrid\fP & QwtPlot::grid () const".PPReturn the canvas grid. .SS "\fBQwtPlotGrid\fP & QwtPlot::grid ()".PPReturn the canvas grid. .SS "const  QPen & QwtPlot::gridMajPen () const".PP\fBReturns:\fP.RS 4pen of the major grid .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::setGridMajPen\fP, \fBQwtPlot::gridMinPen\fP .RE.PP.SS "const  QPen & QwtPlot::gridMinPen () const".PP\fBReturns:\fP.RS 4pen of the minor grid .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::setGridMinPen\fP, \fBQwtPlot::gridMajPen\fP .RE.PP.SS "int QwtPlot::gridXAxis () const".PP\fBReturns:\fP.RS 4x-axis where the grid is attached to. .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::setGridXAxis\fP .RE.PP.SS "int QwtPlot::gridYAxis () const".PP\fBReturns:\fP.RS 4y-axis where the grid is attached to. .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::setGridYAxis\fP .RE.PP.SS "long QwtPlot::insertCurve (const QString & title, int xAxis = xBottom, int yAxis = yLeft)".PPInsert a new curve and return a unique key. \fBParameters:\fP.RS 4\fItitle\fP title of the new curve .br\fIxAxis\fP x axis to be attached. Defaults to xBottom. .br\fIyAxis\fP y axis to be attached. Defaults to yLeft. .RE.PP\fBReturns:\fP.RS 4The key of the new curve or 0 if no new key could be found or if no new curve could be allocated. .RE.PP.SS "long QwtPlot::insertCurve (\fBQwtPlotCurve\fP * curve)".PPInsert a curve. \fBParameters:\fP.RS 4\fIcurve\fP Curve .RE.PP\fBReturns:\fP.RS 4The key of the new curve or 0 if no new key could be found or if no new curve could be allocated. .RE.PP.SS "void QwtPlot::insertLegendItem (long curveKey)\fC [protected, virtual]\fP".PPInsert a QwtLegendItem for a specified curve. In case of \fBlegend()\fP->isReadOnly the item will be a QwtLegendLabel, otherwise a \fBQwtLegendButton\fP..PP\fBParameters:\fP.RS 4\fIcurveKey\fP curve key .RE.PP\fBSee also:\fP.RS 4\fBQwtLegendButton\fP, QwtLegendItem, \fBQwtLegend\fP, \fBupdateLegendItem()\fP, printLegendItem() .RE.PP.SS "long QwtPlot::insertLineMarker (const QString & label, int axis)".PPThis function is a shortcut to insert a horizontal or vertical line marker, dependent on the specified axis. .PP\fBParameters:\fP.RS 4\fIlabel\fP Label .br\fIaxis\fP Axis to be attached .RE.PP\fBReturns:\fP.RS 4New key if the marker could be inserted, 0 if not. .RE.PP.SS "long QwtPlot::insertMarker (const QString & label = QString::null, int xAxis = xBottom, int yAxis = yLeft)".PPInsert a new marker. \fBParameters:\fP.RS 4\fIlabel\fP Label .br\fIxAxis\fP X axis to be attached .br\fIyAxis\fP Y axis to be attached .RE.PP\fBReturns:\fP.RS 4New key if the marker could be inserted, 0 if not. .RE.PP.SS "long QwtPlot::insertMarker (\fBQwtPlotMarker\fP * marker)".PPInsert a new marker. \fBParameters:\fP.RS 4\fImarker\fP Marker .RE.PP\fBReturns:\fP.RS 4New key if the marker could be inserted, 0 if not. .RE.PP.SS "double QwtPlot::invTransform (int axis, int pos) const".PPTransform the x or y coordinate of a position in the drawing region into a value. .PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .br\fIpos\fP position .RE.PP\fBWarning:\fP.RS 4The position can be an x or a y coordinate, depending on the specified axis. .RE.PP.SS "const  \fBQwtLegend\fP * QwtPlot::legend () const".PP\fBReturns:\fP.RS 4the plot's legend .RE.PP\fBSee also:\fP.RS 4\fBinsertLegendItem()\fP, \fBupdateLegendItem()\fP, printLegendItem() .RE.PP.SS "\fBQwtLegend\fP * QwtPlot::legend ()".PP\fBReturns:\fP.RS 4the plot's legend .RE.PP\fBSee also:\fP.RS 4\fBinsertLegendItem()\fP, \fBupdateLegendItem()\fP, printLegendItem() .RE.PP.SS "void QwtPlot::legendClicked (long key)\fC [protected]\fP".PPA signal which is emitted when \fBlegend()\fP->isReadOnly() and the user has clicked on a legend item,.PP\fBParameters:\fP.RS 4\fIkey\fP Key of the curve corresponding to the selected legend item.RE.PP\fBNote:\fP.RS 4To enable clicks \fBlegend()\fP->setReadOnly(TRUE) has to be set before the items have been inserted..RE.PP\fBSee also:\fP.RS 4QwtLegend::setReadOnly, QwtLegend::isReadOnly .RE.PP.SS "bool QwtPlot::legendEnabled (long curveKey) const".PP\fBParameters:\fP.RS 4\fIcurveKey\fP Curve key. .RE.PP\fBReturns:\fP.RS 4\fCTRUE\fP if legend is enabled, otherwise \fCFALSE\fP .RE.PP.SS "const  QFont QwtPlot::legendFont () const".PP\fBReturns:\fP.RS 4the font of the legend items .RE.PP.SS "int QwtPlot::legendFrameStyle () const".PP\fBReturns:\fP.RS 4the frame style of the legend .RE.PP.SS "int QwtPlot::legendPos () const".PP\fBReturns:\fP.RS 4position of the legend .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::setLegendPos\fP, \fBQwtPlotLayout::legendPos()\fP .RE.PP.SS "void QwtPlot::lgdClicked ()\fC [protected, virtual]\fP".PPCalled internally when the legend has been clicked on. Emits a \fBlegendClicked()\fP signal. .SS "int QwtPlot::margin () const".PP\fBReturns:\fP.RS 4margin .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::setMargin()\fP, \fBQwtPlotLayout::margin()\fP, \fBQwtPlot::plotLayout()\fP .RE.PP.SS "const  \fBQwtPlotMarker\fP * QwtPlot::marker (long key) const".PPFind and return an existing marker. \fBParameters:\fP.RS 4\fIkey\fP Key of the marker .RE.PP\fBReturns:\fP.RS 4The marker for the given key or 0 if key is not valid. .RE.PP.SS "\fBQwtPlotMarker\fP * QwtPlot::marker (long key)".PPFind and return an existing marker. \fBParameters:\fP.RS 4\fIkey\fP Key of the marker .RE.PP\fBReturns:\fP.RS 4The marker for the given key or 0 if key is not valid. .RE.PP.SS "QFont QwtPlot::markerFont (long key) const".PP\fBReturns:\fP.RS 4the font of a marker .RE.PP.SS "QwtPlotMarkerIterator QwtPlot::markerIterator () const".PPReturn an iterator for the plot curves. .SS "QwtArray< long > QwtPlot::markerKeys () const".PP\fBReturns:\fP.RS 4an array containing the keys of all markers .RE.PP.SS "const  QString QwtPlot::markerLabel (long key) const".PP\fBReturns:\fP.RS 4a marker's label .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PP.SS "int QwtPlot::markerLabelAlign (long key) const".PP\fBReturns:\fP.RS 4a marker's label alignment .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PP.SS "QPen QwtPlot::markerLabelPen (long key) const".PP\fBReturns:\fP.RS 4the pen of a marker's label .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PP.SS "QPen QwtPlot::markerLinePen (long key) const".PP\fBReturns:\fP.RS 4a marker's line pen .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PP.SS "\fBQwtMarker::LineStyle\fP QwtPlot::markerLineStyle (long key) const".PP\fBReturns:\fP.RS 4a marker's line style .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PP.SS "void QwtPlot::markerPos (long key, double & mx, double & my) const".PPGet the position of a marker. \fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PP

⌨️ 快捷键说明

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