📄 qwtplot.3
字号:
\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PPDefinition at line 274 of file qwt_plot_marker.cpp..PPReferences QwtMarker::labelPen()..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.PPDefinition at line 288 of file qwt_plot_marker.cpp..PPReferences QwtMarker::linePen()..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.PPDefinition at line 302 of file qwt_plot_marker.cpp..PPReferences QwtMarker::lineStyle()..SS "void QwtPlot::markerPos (long key, double & mx, double & my) const".PPGet the position of a marker. .PP\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PP\fBReturn values:\fP.RS 4\fImx\fP .br\fImy\fP Marker position .RE.PPDefinition at line 318 of file qwt_plot_marker.cpp..PPReferences QwtPlotMarker::xValue(), and QwtPlotMarker::yValue()..SS "\fBQwtSymbol\fP QwtPlot::markerSymbol (long key) const".PP\fBReturns:\fP.RS 4a marker's symbol .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PPDefinition at line 337 of file qwt_plot_marker.cpp..PPReferences QwtMarker::symbol()..SS "int QwtPlot::markerXAxis (long key) const".PP\fBReturns:\fP.RS 4the x axis to which a marker is attached .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PPDefinition at line 351 of file qwt_plot_marker.cpp..PPReferences QwtPlotMappedItem::xAxis()..SS "int QwtPlot::markerYAxis (long key) const".PP\fBReturns:\fP.RS 4the y axis to which a marker is attached .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Marker key .RE.PPDefinition at line 366 of file qwt_plot_marker.cpp..PPReferences QwtPlotMappedItem::yAxis()..SS "QSize QwtPlot::minimumSizeHint () const\fC [virtual]\fP".PPReturn a minimum size hint. .PPDefinition at line 343 of file qwt_plot.cpp..PPReferences QwtPlotLayout::minimumSizeHint()..PPReferenced by sizeHint()..SS "bool QwtPlot::outlineEnabled () const".PP\fBReturns:\fP.RS 4\fCTRUE\fP if the outline feature is enabled.RE.PP\fBWarning:\fP.RS 4Outlining functionality is obsolete: use \fBQwtPlotPicker\fP or \fBQwtPlotZoomer\fP. .RE.PPDefinition at line 876 of file qwt_plot.cpp..PPReferences QwtPlotCanvas::outlineEnabled()..SS "const QPen & QwtPlot::outlinePen () const".PP\fBReturns:\fP.RS 4the pen used to draw outlines.RE.PP\fBWarning:\fP.RS 4Outlining functionality is obsolete: use \fBQwtPlotPicker\fP or \fBQwtPlotZoomer\fP. .RE.PPDefinition at line 887 of file qwt_plot.cpp..PPReferences QwtPlotCanvas::outlinePen()..SS "Qwt::Shape QwtPlot::outlineStyle () const".PP\fBReturns:\fP.RS 4the outline style.RE.PP\fBWarning:\fP.RS 4Outlining functionality is obsolete: use \fBQwtPlotPicker\fP or \fBQwtPlotZoomer\fP..RE.PP\fBSee also:\fP.RS 4\fBsetOutlineStyle()\fP .RE.PPDefinition at line 900 of file qwt_plot.cpp..PPReferences QwtPlotCanvas::outlineStyle()..SS "const \fBQwtPlotLayout\fP * QwtPlot::plotLayout () const".PP\fBReturns:\fP.RS 4the plot's layout .RE.PPDefinition at line 248 of file qwt_plot.cpp..SS "\fBQwtPlotLayout\fP * QwtPlot::plotLayout ()".PP\fBReturns:\fP.RS 4the plot's layout .RE.PPDefinition at line 240 of file qwt_plot.cpp..PPReferenced by canvasMap(), and print()..SS "void QwtPlot::plotMouseMoved (const QMouseEvent & e)\fC [signal]\fP".PPA signal which is emitted when the mouse is moved in the plot canvas..PP\fBWarning:\fP.RS 4Canvas signals are obsolete: use \fBQwtPlotPicker\fP or \fBQwtPlotZoomer\fP..RE.PPThe coordinates are pixel values referring to the plot canvas. They can be translated using the canvasMaps. .PP\fBParameters:\fP.RS 4\fIe\fP Mouse event object .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::canvasMap()\fP .RE.PP.SS "void QwtPlot::plotMousePressed (const QMouseEvent & e)\fC [signal]\fP".PPA signal which is emitted when the mouse is pressed in the plot canvas..PP\fBWarning:\fP.RS 4Canvas signals are obsolete: use \fBQwtPlotPicker\fP or \fBQwtPlotZoomer\fP..RE.PPThe coordinates are pixel values referring to the plot canvas. They can be translated using the canvasMaps. .PP\fBParameters:\fP.RS 4\fIe\fP Mouse event object .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::canvasMap()\fP .RE.PP.SS "void QwtPlot::plotMouseReleased (const QMouseEvent & e)\fC [signal]\fP".PPA signal which is emitted when a mouse button has been released in the plot canvas..PP\fBWarning:\fP.RS 4Canvas signals are obsolete: use \fBQwtPlotPicker\fP or \fBQwtPlotZoomer\fP..RE.PPThe coordinates are pixel values referring to the plot canvas. They can be translated using the canvasMaps. .PP\fBParameters:\fP.RS 4\fIe\fP Mouse event object, event coordinates referring to the plot canvas .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::canvasMap()\fP .RE.PP.SS "void QwtPlot::print (QPainter * painter, const QRect & plotRect, const \fBQwtPlotPrintFilter\fP & pfilter = \fC\fBQwtPlotPrintFilter\fP()\fP) const\fC [virtual]\fP".PPPaint the plot into a given rectangle. Paint the contents of a QwtPlot instance into a given rectangle. .PP\fBParameters:\fP.RS 4\fIpainter\fP Painter .br\fIplotRect\fP Bounding rectangle .br\fIpfilter\fP Print filter .RE.PP\fBSee also:\fP.RS 4\fBQwtPlotPrintFilter\fP .RE.PPDefinition at line 95 of file qwt_plot_print.cpp..PPReferences QwtPlotLayout::activate(), QwtPlotPrintFilter::apply(), axis(), axisEnabled(), QwtScale::baseLineDist(), QwtPlotLayout::canvasMargin(), QwtPlotLayout::canvasRect(), QwtScaleDiv::hBound(), QwtPlotLayout::invalidate(), QwtLegend::isEmpty(), QwtScaleDiv::lBound(), QwtPlotLayout::legendRect(), QwtScaleDiv::logScale(), margin(), QwtPainter::metricsMap(), QwtPlotPrintFilter::options(), plotLayout(), printCanvas(), printLegend(), printScale(), printTitle(), QwtPlotPrintFilter::reset(), QwtPainter::resetMetricsMap(), QwtAutoScale::scaleDiv(), QwtPlotLayout::scaleRect(), QwtScale::setBaselineDist(), QwtPainter::setMetricsMap(), QwtScale::startBorderDist(), and QwtPlotLayout::titleRect()..SS "void QwtPlot::print (QPaintDevice & paintDev, const \fBQwtPlotPrintFilter\fP & pfilter = \fC\fBQwtPlotPrintFilter\fP()\fP) const".PPPrint the plot to a \fCQPaintDevice\fP (\fCQPrinter\fP) This function prints the contents of a QwtPlot instance to \fCQPaintDevice\fP object. The size is derived from its device metrics. .PP\fBParameters:\fP.RS 4\fIpaintDev\fP device to paint on, often a printer .br\fIpfilter\fP print filter .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::print\fP .PP\fBQwtPlotPrintFilter\fP.RE.PP\fBAttention:\fP.RS 4Using a \fCQPrinter\fP in \fCQPrinter::HighResolution\fP mode may expose a bug in the \fCQFontDatabase\fP class in Qt-X11 and Qt-Embedded..PPThe problem concerns the font metrics: the height and width of a font should measure 8 times more pixels on a 600 dpi paint device than on a 75 dpi paint device. High resolution print tests on a Mandrake-8.2 system with a 75 dpi screen show (test program available on request):.IP "\(bu" 2Qt finds more fonts with the X Font Server enabled than disabled (use qtconfig). Enabling or disabling the font server has no consequences for the print quality..IP "\(bu" 2Qt-3.0.7 finds significantly more fonts than its successors and prints well..IP "\(bu" 2Qt-3.1.2 finds less fonts than Qt-3.0.7 with the X Font Server enabled and prints well..IP "\(bu" 2Qt-3.2.0 finds less fonts than Qt-3.0.7 and printing only works for rich text. All plain text is printed at 75 dpi instead of 600 dpi. Some standard X Window fonts as 'Helvetica [Adobe]' do not print well as rich text..IP "\(bu" 2Qt-3.2.1 finds a few more fonts than Qt-3.2.0 and some standard non-scalable X Window fonts as 'Helvetica [Adobe]' do not print well as rich and plain text..IP "\(bu" 2Qt-3.2.2 still has problems with the same fonts as Qt-3.2.1, but there is improvement (text printed with non-scalable X Windows fonts is barely readable and looks ugly, because Qt gets the font metrics wrong)..IP "\(bu" 2Qt-3.2.3 prints well (but finds less fonts than Qt-3.0.7)..PP.PPRecommendations:.IP "\(bu" 2If you can, upgrade Qt-3.2.x to Qt-3.2.3..IP "\(bu" 2If you cannot, patches for Qt-3.2.1 and Qt-3.2.2 are available on request..IP "\(bu" 2Do not use Qt-3.2.0..IP "\(bu" 2Do not use non-scalable fonts for printing, especially if you print to postscript files that are to be included in other documents. .PP.RE.PPDefinition at line 72 of file qwt_plot_print.cpp..SS "void QwtPlot::printCanvas (QPainter * painter, const QRect & canvasRect, const QwtArray< \fBQwtDiMap\fP > & map, const \fBQwtPlotPrintFilter\fP & pfilter) const\fC [protected, virtual]\fP".PPPrint the canvas into a given rectangle..PP\fBParameters:\fP.RS 4\fIpainter\fP Painter .br\fImap\fP Maps mapping between plot and paint device coordinates .br\fIcanvasRect\fP Bounding rectangle .br\fIpfilter\fP Print filter .RE.PP\fBSee also:\fP.RS 4\fBQwtPlotPrintFilter\fP .RE.PPDefinition at line 446 of file qwt_plot_print.cpp..PPReferences canvasBackground(), drawCanvasItems(), QwtPainter::drawRect(), QwtPainter::fillRect(), QwtPlotPrintFilter::options(), and QwtPainter::setClipRect()..PPReferenced by print()..SS "void QwtPlot::printLegend (QPainter * painter, const QRect & rect) const\fC [protected, virtual]\fP".PPPrint the legend into a given rectangle..PP\fBParameters:\fP.RS 4\fIpainter\fP Painter .br\fIrect\fP Bounding rectangle .RE.PPDefinition at line 293 of file qwt_plot_print.cpp..PPReferences QwtDynGridLayout::columnsForWidth(), QwtLegend::contentsWidget(), QwtLegend::isEmpty(), QwtDynGridLayout::iterator(), QwtDynGridLayout::layoutItems(), printLegendItem(), and QwtPainter::setClipRect()..PPReferenced by print()..SS "void QwtPlot::printLegendItem (QPainter * painter, const QWidget * w, const QRect & rect) const\fC [protected, virtual]\fP".PPPrint the legend item into a given rectangle..PP\fBParameters:\fP.RS 4\fIpainter\fP Painter .br\fIw\fP Widget representing a legend item .br\fIrect\fP Bounding rectangle .RE.PPDefinition at line 337 of file qwt_plot_print.cpp..PPReferences QwtLegendItem::drawItem()..PPReferenced by printLegend()..SS "void QwtPlot::printScale (QPainter * painter, int axis, int startDist, int endDist, int baseDist, const QRect & rect) const\fC [protected, virtual]\fP".PPPaint a scale into a given rectangle. Paint the scale into a given rectangle. .PP\fBParameters:\fP.RS 4\fIpainter\fP Painter .br\fIaxis\fP Axis .br\fIstartDist\fP Start border distance .br\fIendDist\fP End border distance .br\fIbaseDist\fP Base distance .br\fIrect\fP Bounding rectangle .RE.PPDefinition at line 367 of file qwt_plot_print.cpp..PPReferences QwtScaleDraw::draw(), QwtScale::drawTitle(), QwtScaleDraw::length(), QwtScale::scaleDraw(), QwtScaleDraw::setGeometry(), QwtScaleDraw::x(), and QwtScaleDraw::y()..PPReferenced by print()..SS "void QwtPlot::printTitle (QPainter * painter, const QRect & rect) const\fC [protected, virtual]\fP".PPPrint the title into a given rectangle..PP\fBParameters:\fP.RS 4\fIpainter\fP Painter .br\fIrect\fP Bounding rectangle .RE.PPDefinition at line 274 of file qwt_plot_print.cpp..PPReferences QwtText::draw(), and QwtText::makeText()..PPReferenced by print()..SS "bool QwtPlot::removeCurve (long key)\fC [slot]\fP".PPremove the curve indexed by key .PP\fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PPDefinition at line 317 of file qwt_plot_curve.cpp..PPReferences autoRefresh(), QwtLegend::findItem(), and updateLayout()..SS "void QwtPlot::removeCurves ()\fC [slot]\fP".PPRemove all curves. .PPDefinition at line 941 of file qwt_plot.cpp..PPReferences autoRefresh(), and QwtLegend::clear()..SS "bool QwtPlot::removeMarker (long key)\fC [slot]\fP".PPRemove the marker indexed by key. .PP\fBParameters:\fP.RS 4\fIkey\fP unique key .RE.PPDefinition at line 380 of file qwt_plot_marker.cpp..PPReferences autoRefresh()..SS "void QwtPlot::removeMarkers ()\fC [slot]\fP".PPRemove all markers. .PPDefinition at line 949 of file qwt_plot.cpp..PPReferences autoRefresh()..SS "void QwtPlot::replot ()\fC [virtual, slot]\fP".PPRedraw the plot. .PPIf the autoReplot option is not set (which is the default) or if any curves are attached to raw data, the plot has to be refreshed explicitly in order to make changes visible..PP\fBSee also:\fP.RS 4\fBsetAutoReplot()\fP .RE.PP\fBWarning:\fP.RS 4Calls \fBcanvas()\fP->repaint, take care of infinite recursions .RE.PPDefinition at line 368 of file qwt_plot.cpp..PPReferences autoReplot(), QwtPlotCanvas::invalidateCache(), setAutoReplot(), and updateAxes()..PPReferenced by autoRefresh(), and QwtPlotZoomer::rescale()..SS "void QwtPlot::resizeEvent (QResizeEvent * e)\fC [protected, virtual]\fP".PPResize and update internal layout. .PPDefinition at line 352 of file qwt_plot.cpp..PPReferences updateLayout()..SS "void QwtPlot::setAutoLegend (bool tf)".PPSet or reset the autoLegend option If the autoLegend option is set, a item will be added to the legend whenever a curve is inserted. .PPThe autoLegend option is set to FALSE by default, which means that the user has to call enableLegend. .PP\fBParameters:\fP.RS 4\fItf\fP \fCTRUE\fP or \fCFALSE\fP. Defaults to \fCFALSE\fP. .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::enableLegend()\fP .RE.PPDefinition at line 965 of file qwt_plot.cpp..SS "void QwtPlot::setAutoReplot (bool tf = \fCTRUE\fP)".PPSet or reset the autoReplot option If the autoReplot option is set, the plot will be updated implicitly by manipulating member functions. Since this may be time-consuming, it is recommended to leave this option switched off and call \fBreplot()\fP explicitly if necessary. .PPThe autoReplot option is set to FALSE by default, which means that the user has to call \fBreplot()\fP in order to make changes visible. .PP\fBParameters:\fP.RS 4\fItf\fP \fCTRUE\fP or \fCFALSE\fP. Defaults to \fCTRUE\fP. .RE.PP\fBSee also:\fP.RS 4\fBreplot()\fP .RE.PPDefinition at line 188 of file qwt_plot.cpp..PPReferenced by replot()..SS "void QwtPlot::setAxisAutoScale (int axis)".PPEnable autoscaling for a specified axis. .PPThis member function is used to switch back to autoscaling mode after a fixed scale has been set. Autoscaling is enabled by default..PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::setAxisScale()\fP .RE.PPDefinition at line 349 of file qwt_plot_axis.cpp..PPReferences autoRefresh(), axisValid(), and QwtAut
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -