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

📄 qwtplot.3

📁 软件无线电的平台
💻 3
📖 第 1 页 / 共 5 页
字号:
.ti -1c.RI "virtual void \fBdrawContents\fP (QPainter *p)".br.ti -1c.RI "virtual void \fBupdateTabOrder\fP ()".br.ti -1c.RI "void \fBupdateAxes\fP ()".br.ti -1c.RI "void \fBupdateLayout\fP ()".br.ti -1c.RI "virtual void \fBresizeEvent\fP (QResizeEvent *e)".br.ti -1c.RI "virtual void \fBinsertLegendItem\fP (long curveKey)".br.ti -1c.RI "virtual void \fBupdateLegendItem\fP (long curveKey)".br.ti -1c.RI "virtual void \fBprintLegendItem\fP (QPainter *, const  QWidget *, const  QRect &) const ".br.ti -1c.RI "void \fBupdateLegendItem\fP (const  \fBQwtPlotCurve\fP *, QwtLegendItem *)".br.ti -1c.RI "virtual void \fBprintTitle\fP (QPainter *, const  QRect &) const ".br.ti -1c.RI "virtual void \fBprintScale\fP (QPainter *, int axis, int startDist, int endDist, int baseDist, const  QRect &) const ".br.ti -1c.RI "virtual void \fBprintCanvas\fP (QPainter *, const  QRect &, const  QwtArray< \fBQwtDiMap\fP > &, const  \fBQwtPlotPrintFilter\fP &) const ".br.ti -1c.RI "virtual void \fBprintLegend\fP (QPainter *, const  QRect &) const ".br.in -1c.SS "Static Protected Member Functions".in +1c.ti -1c.RI "bool \fBaxisValid\fP (int axis)".br.in -1c.SS "Friends".in +1c.ti -1c.RI "class \fBQwtPlotItem\fP".br.ti -1c.RI "class \fBQwtPlotCanvas\fP".br.ti -1c.RI "class \fBQwtPlotPrintFilter\fP".br.in -1c.SH "Member Enumeration Documentation".PP .SS "enum \fBQwtPlot::Axis\fP".PPAxis index. .SH "Constructor & Destructor Documentation".PP .SS "QwtPlot::QwtPlot (QWidget * parent = 0, const char * name = 0)".PPConstructor. \fBParameters:\fP.RS 4\fIparent\fP Parent widget .br\fIname\fP Widget name .RE.PP.SS "QwtPlot::QwtPlot (const QString & title, QWidget * parent = 0, const char * name = 0)".PPConstructor. \fBParameters:\fP.RS 4\fItitle\fP Title text .br\fIparent\fP Parent widget .br\fIname\fP Widget name .RE.PP.SS "QwtPlot::~\fBQwtPlot\fP ()\fC [virtual]\fP".PPDestructor. .SH "Member Function Documentation".PP .SS "bool QwtPlot::autoLegend () const".PP\fBReturns:\fP.RS 4TRUE if the autoLegend option is set. .RE.PP.SS "void QwtPlot::autoRefresh ()\fC [protected]\fP".PPReplots the plot if \fBQwtPlot::autoReplot()\fP is \fCTRUE\fP. .SS "bool QwtPlot::autoReplot () const".PP\fBReturns:\fP.RS 4TRUE if the autoReplot option is set. .RE.PP.SS "const  \fBQwtScale\fP * QwtPlot::axis (int axis) const".PP\fBReturns:\fP.RS 4specified axis, or \fCNULL\fP if the axis is not enabled. .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP.SS "bool QwtPlot::axisAutoScale (int axis) const".PP\fBReturns:\fP.RS 4\fCTRUE\fP if autoscaling is enabled .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP.SS "bool QwtPlot::axisEnabled (int axis) const".PP\fBReturns:\fP.RS 4\fCTRUE\fP if a specified axis is enabled .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP.SS "QFont QwtPlot::axisFont (int axis) const".PP\fBReturns:\fP.RS 4the font of the scale labels for a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP.SS "void QwtPlot::axisLabelFormat (int axis, char & f, int & prec, int & fieldwidth) const".PP\fBReturns:\fP.RS 4the number format for the major scale labels of a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP\fBReturn values:\fP.RS 4\fIf\fP format character .br\fIprec\fP precision .br\fIfieldwidth\fP minimum fieldwidth .RE.PP\fBSee also:\fP.RS 4QString::sprintf in the Qt manual .RE.PP.SS "bool QwtPlot::axisMargins (int axis, double & mlo, double & mhi) const".PPDetermine the scale margins for a specified axis. \fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP\fBReturn values:\fP.RS 4\fImlo\fP Margin at the lower limit .br\fImhi\fP Margin at the upper limit .RE.PP\fBSee also:\fP.RS 4QwtAutoScale::margins() .RE.PP.SS "int QwtPlot::axisMaxMajor (int axis) const".PP\fBReturns:\fP.RS 4the maximum number of major ticks for a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP.SS "int QwtPlot::axisMaxMinor (int axis) const".PP\fBReturns:\fP.RS 4the maximum number of minor ticks for a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP.SS "int QwtPlot::axisOptions (int axis) const".PP\fBReturns:\fP.RS 4the autoscaling options of a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP\fBSee also:\fP.RS 4\fBQwtAutoScale::options\fP .RE.PP.SS "double QwtPlot::axisReference (int axis) const".PPThe reference value is needed if the autoscaling options QwtAutoScale::Symmetric or QwtAutoScale::IncludeRef are set. .PP\fBReturns:\fP.RS 4the reference value of an axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP\fBSee also:\fP.RS 4\fBQwtAutoScale\fP, \fBQwtPlot::setAxisOptions\fP .RE.PP.SS "const  \fBQwtScaleDiv\fP * QwtPlot::axisScale (int axis) const".PP\fBReturns:\fP.RS 4the scale division of a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP\fBSee also:\fP.RS 4\fBQwtScaleDiv\fP .RE.PP.SS "const  \fBQwtScaleDraw\fP * QwtPlot::axisScaleDraw (int axis) const".PP\fBReturns:\fP.RS 4the scale draw of a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP\fBReturns:\fP.RS 4specified scaleDraw for axis, or NULL if axis is invalid. .RE.PP\fBSee also:\fP.RS 4\fBQwtScaleDraw\fP .RE.PP.SS "QString QwtPlot::axisTitle (int axis) const".PP\fBReturns:\fP.RS 4the title of a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP.SS "int QwtPlot::axisTitleAlignment (int axis) const".PP\fBReturns:\fP.RS 4the title alignment of a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP\fBSee also:\fP.RS 4\fBQwtPlot::setAxisTitleAlignment\fP .RE.PP.SS "QFont QwtPlot::axisTitleFont (int axis) const".PP\fBReturns:\fP.RS 4the title font of a specified axis .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP.SS "bool QwtPlot::axisValid (int axis)\fC [static, protected]\fP".PP\fBReturns:\fP.RS 4\fCTRUE\fP if the specified axis exists, otherwise \fCFALSE\fP .RE.PP\fBParameters:\fP.RS 4\fIaxis\fP axis index .RE.PP.SS "const  \fBQwtPlotCanvas\fP * QwtPlot::canvas () const".PP\fBReturns:\fP.RS 4the plot's canvas .RE.PP.SS "\fBQwtPlotCanvas\fP * QwtPlot::canvas ()".PP\fBReturns:\fP.RS 4the plot's canvas .RE.PP.SS "const  QColor & QwtPlot::canvasBackground () const".PPNothing else than: \fBcanvas()\fP->palette().color( QPalette::Normal, QColorGroup::Background);.PP\fBReturns:\fP.RS 4the background color of the plotting area. .RE.PP.SS "int QwtPlot::canvasLineWidth () const".PPNothing else than: \fBcanvas()\fP->lineWidth(), left for compatibility only. .PP\fBReturns:\fP.RS 4the border width of the plotting area .RE.PP.SS "\fBQwtDiMap\fP QwtPlot::canvasMap (int axis) const".PP\fBParameters:\fP.RS 4\fIaxis\fP Axis .RE.PP\fBReturns:\fP.RS 4Map for the axis on the canvas. With this map pixel coordinates can translated to plot coordinates and vice versa. .RE.PP\fBSee also:\fP.RS 4\fBQwtDiMap\fP, \fBQwtPlot::transform\fP, \fBQwtPlot::invTransform\fP .RE.PP.SS "void QwtPlot::changeAxisOptions (int axis, int opt, bool value)".PPChange specified autoscaling options of an axis. \fBParameters:\fP.RS 4\fIaxis\fP axis index .br\fIopt\fP Set of or'ed options .br\fIvalue\fP Value to be assigned to all the specified options (TRUE or FALSE) .RE.PP\fBSee also:\fP.RS 4\fBQwtAutoScale::changeOptions\fP .RE.PP.SS "void QwtPlot::clear ()".PPRemove all curves and markers. .SS "long QwtPlot::closestCurve (int xpos, int ypos, int & dist, double & xval, double & yval, int & index) const".PPFind the curve which is closest to a point in the plotting area..PPDetermines the position and index of the closest data point. .PP\fBParameters:\fP.RS 4\fIxpos\fP .br\fIypos\fP coordinates of a point in the plotting region .RE.PP\fBReturn values:\fP.RS 4\fIxval\fP .br\fIyval\fP values of the closest point in the curve's data array .br\fIdist\fP -- distance in points between (xpos, ypos) and the closest data point .br\fIindex\fP -- index of the closest point in the curve's data array .RE.PP\fBReturns:\fP.RS 4Key of the closest curve or 0 if no curve was found. .RE.PP.SS "long QwtPlot::closestCurve (int xpos, int ypos, int & dist) const".PPFind the curve which is closest to a specified point in the plotting area. .PP\fBParameters:\fP.RS 4\fIxpos\fP .br\fIypos\fP position in the plotting region .RE.PP\fBReturn values:\fP.RS 4\fIdist\fP distance in points between (xpos, ypos) and the closest data point .RE.PP\fBReturns:\fP.RS 4Key of the closest curve or 0 if no curve was found. .RE.PP.SS "long QwtPlot::closestMarker (int xpos, int ypos, int & dist) const".PPFind the marker which is closest to a given point. \fBParameters:\fP.RS 4\fIxpos\fP .br\fIypos\fP coordinates of a point in the plotting region .RE.PP\fBReturn values:\fP.RS 4\fIdist\fP Distance in points between the marker and the specified point. .RE.PP\fBReturns:\fP.RS 4Key of the closest marker or 0 if no marker was found .RE.PP.SS "const  \fBQwtPlotCurve\fP * QwtPlot::curve (long key) const".PPFind and return an existing curve. \fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PP\fBReturns:\fP.RS 4The curve for the given key or 0 if key is not valid. .RE.PP.SS "\fBQwtPlotCurve\fP * QwtPlot::curve (long key)".PPFind and return an existing curve. \fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PP\fBReturns:\fP.RS 4The curve for the given key or 0 if key is not valid. .RE.PP.SS "double QwtPlot::curveBaseline (long key) const".PPReturn the baseline offset for a specified curve. \fBParameters:\fP.RS 4\fIkey\fP curve key .RE.PP\fBReturns:\fP.RS 4Baseline offset of the specified curve, or 0 if the curve doesn't exist .RE.PP\fBSee also:\fP.RS 4\fBsetCurveBaseline()\fP .RE.PP.SS "QBrush QwtPlot::curveBrush (long key) const".PP\fBReturns:\fP.RS 4the pen 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\fBQwtPlot::setCurveBrush()\fP, \fBQwtCurve::setBrush()\fP .RE.PP.SS "QwtPlotCurveIterator QwtPlot::curveIterator () const".PPReturn an iterator for the plot curves. .SS "QwtArray< long > QwtPlot::curveKeys () const".PP\fBReturns:\fP.RS 4an array containing the keys of all curves .RE.PP.SS "int QwtPlot::curveOptions (long key) const".PP\fBReturns:\fP.RS 4the drawing options of the curve indexed by key .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE.PP.SS "QPen QwtPlot::curvePen (long key) const".PP\fBReturns:\fP.RS 4the brush of the curve indexed by key .RE.PP\fBParameters:\fP.RS 4\fIkey\fP Key of the curve .RE

⌨️ 快捷键说明

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