📄 qwtplot.3
字号:
.RI "const QString \fBmarkerLabel\fP (long key) const".br.ti -1c.RI "bool \fBsetMarkerLabelAlign\fP (long key, int align)".br.ti -1c.RI "int \fBmarkerLabelAlign\fP (long key) const".br.ti -1c.RI "bool \fBsetMarkerLabelPen\fP (long key, const QPen &p)".br.ti -1c.RI "QPen \fBmarkerLabelPen\fP (long key) const".br.ti -1c.RI "bool \fBsetMarkerLinePen\fP (long key, const QPen &p)".br.ti -1c.RI "QPen \fBmarkerLinePen\fP (long key) const".br.ti -1c.RI "bool \fBsetMarkerLineStyle\fP (long key, \fBQwtMarker::LineStyle\fP st)".br.ti -1c.RI "\fBQwtMarker::LineStyle\fP \fBmarkerLineStyle\fP (long key) const".br.ti -1c.RI "bool \fBsetMarkerSymbol\fP (long key, const \fBQwtSymbol\fP &s)".br.ti -1c.RI "\fBQwtSymbol\fP \fBmarkerSymbol\fP (long key) const".br.ti -1c.RI "void \fBsetAutoLegend\fP (bool enabled)".br.ti -1c.RI "bool \fBautoLegend\fP () const".br.ti -1c.RI "void \fBenableLegend\fP (bool tf, long curveKey=-1)".br.ti -1c.RI "bool \fBlegendEnabled\fP (long curveKey) const".br.ti -1c.RI "void \fBsetLegendPosition\fP (\fBPosition\fP pos, double ratio)".br.ti -1c.RI "void \fBsetLegendPosition\fP (\fBPosition\fP pos)".br.ti -1c.RI "\fBPosition\fP \fBlegendPosition\fP () const".br.ti -1c.RI "void \fBsetLegendPos\fP (int pos, double ratio=0.0)".br.ti -1c.RI "int \fBlegendPos\fP () const".br.ti -1c.RI "void \fBsetLegendFont\fP (const QFont &f)".br.ti -1c.RI "const QFont \fBlegendFont\fP () const".br.ti -1c.RI "void \fBsetLegendFrameStyle\fP (int st)".br.ti -1c.RI "int \fBlegendFrameStyle\fP () const".br.ti -1c.RI "\fBQwtLegend\fP * \fBlegend\fP ()".br.ti -1c.RI "const \fBQwtLegend\fP * \fBlegend\fP () const".br.ti -1c.RI "void \fBsetLegendDisplayPolicy\fP (\fBQwtLegend::LegendDisplayPolicy\fP, int mode=-1)".br.ti -1c.RI "virtual QSize \fBsizeHint\fP () const".br.ti -1c.RI "virtual QSize \fBminimumSizeHint\fP () const".br.ti -1c.RI "virtual bool \fBevent\fP (QEvent *)".br.in -1c.SS "Protected Slots".in +1c.ti -1c.RI "virtual void \fBlgdClicked\fP ()".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "void \fBautoRefresh\fP ()".br.ti -1c.RI "virtual void \fBdrawCanvas\fP (QPainter *)".br.ti -1c.RI "virtual void \fBdrawCanvasItems\fP (QPainter *, const QRect &, const QwtArray< \fBQwtDiMap\fP > &, const \fBQwtPlotPrintFilter\fP &) const".br.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 *, \fBQwtLegendItem\fP *)".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.SH "Member Enumeration Documentation".PP .SS "enum \fBQwtPlot::Axis\fP".PPAxis index. .PPDefinition at line 129 of file qwt_plot.h..SS "enum \fBQwtPlot::Position\fP".PPPosition. .PPDefinition at line 136 of file qwt_plot.h..PPReferenced by legendPosition(), and setLegendPos()..SH "Constructor & Destructor Documentation".PP .SS "QwtPlot::QwtPlot (QWidget * parent = \fC0\fP, const char * name = \fC0\fP)".PPConstructor. .PP\fBParameters:\fP.RS 4\fIparent\fP Parent widget .br\fIname\fP Widget name .RE.PPDefinition at line 34 of file qwt_plot.cpp..SS "QwtPlot::QwtPlot (const QString & title, QWidget * parent = \fC0\fP, const char * name = \fC0\fP)".PPConstructor. .PP\fBParameters:\fP.RS 4\fItitle\fP Title text .br\fIparent\fP Parent widget .br\fIname\fP Widget name .RE.PPDefinition at line 47 of file qwt_plot.cpp..SS "QwtPlot::~\fBQwtPlot\fP ()\fC [virtual]\fP".PPDestructor. .PPDefinition at line 54 of file qwt_plot.cpp..SH "Member Function Documentation".PP .SS "bool QwtPlot::autoLegend () const".PP\fBReturns:\fP.RS 4TRUE if the autoLegend option is set. .RE.PPDefinition at line 973 of file qwt_plot.cpp..SS "void QwtPlot::autoRefresh ()\fC [protected]\fP".PPReplots the plot if \fBQwtPlot::autoReplot()\fP is \fCTRUE\fP. .PPDefinition at line 168 of file qwt_plot.cpp..PPReferences replot()..PPReferenced by changeAxisOptions(), insertMarker(), QwtPlotItem::itemChanged(), removeCurve(), removeCurves(), removeMarker(), removeMarkers(), setAxisAutoScale(), setAxisMargins(), setAxisMaxMajor(), setAxisMaxMinor(), setAxisOptions(), setAxisReference(), setAxisScale(), and setAxisScaleDraw()..SS "bool QwtPlot::autoReplot () const".PP\fBReturns:\fP.RS 4TRUE if the autoReplot option is set. .RE.PPDefinition at line 196 of file qwt_plot.cpp..PPReferenced by replot()..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.PPDefinition at line 18 of file qwt_plot_axis.cpp..PPReferences axisEnabled()..PPReferenced by closestCurve(), closestMarker(), QwtPlotLayout::minimumSizeHint(), and print()..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.PPDefinition at line 27 of file qwt_plot_axis.cpp..PPReferences QwtAutoScale::autoScale(), and axisValid()..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.PPDefinition at line 40 of file qwt_plot_axis.cpp..PPReferences axisValid()..PPReferenced by axis(), canvasMap(), print(), and QwtPlotPicker::QwtPlotPicker()..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.PPDefinition at line 52 of file qwt_plot_axis.cpp..PPReferences axisValid()..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.PPDefinition at line 170 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtScale::labelFormat()..PPReferenced by QwtPlotZoomer::minZoomSize()..SS "bool QwtPlot::axisMargins (int axis, double & mlo, double & mhi) const".PPDetermine the scale margins for a specified axis. .PP\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.PPDefinition at line 68 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtAutoScale::loMargin()..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.PPDefinition at line 86 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtAutoScale::maxMajor()..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.PPDefinition at line 98 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtAutoScale::maxMinor()..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.PPDefinition at line 111 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtAutoScale::options()..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.PPDefinition at line 127 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtAutoScale::reference()..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.PPDefinition at line 140 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtAutoScale::scaleDiv()..PPReferenced by QwtPlotPicker::scaleRect()..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.PPDefinition at line 154 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtScale::scaleDraw()..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.PPDefinition at line 189 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtScale::title()..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.PPDefinition at line 214 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtScale::titleAlignment()..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.PPDefinition at line 201 of file qwt_plot_axis.cpp..PPReferences axisValid(), and QwtScale::titleFont()..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.PPDefinition at line 911 of file qwt_plot.cpp..PPReferenced by axisAutoScale(), axisEnabled(), axisFont(), axisLabelFormat(), axisMargins(), axisMaxMajor(), axisMaxMinor(), axisOptions(), axisReference(), axisScale(), axisScaleDraw(), axisTitle(), axisTitleAlignment(), axisTitleFont(), changeAxisOptions(), enableAxis(), invTransform(), setAxisAutoScale(), setAxisFont(), setAxisLabelAlignment(), setAxisLabelFormat(), setAxisLabelRotation(), setAxisMargins(), setAxisMaxMajor(), setAxisMaxMinor(), setAxisOptions(), setAxisReference(), setAxisScale(), setAxisScaleDraw(), setAxisTitle(), setAxisTitleAlignment(), setAxisTitleFont(), and transform()..SS "const \fBQwtPlotCanvas\fP * QwtPlot::canvas () const".PP\fBReturns:\fP.RS 4the plot's canvas .RE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -