📄 qwtplotprintfilter.3
字号:
.TH "QwtPlotPrintFilter" 3 "4 Nov 2003" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtPlotPrintFilter \- .SH SYNOPSIS.br.PP.SH "Detailed Description".PP A base class for plot print filters. QwtPlotPrintFilter can be used to customize \fBQwtPlot::print\fP. .PP.SS "Public Types".in +1c.ti -1c.RI "enum \fBOptions\fP { \fBPrintMargin\fP = 1, \fBPrintTitle\fP = 2, \fBPrintLegend\fP = 4, \fBPrintGrid\fP = 8, \fBPrintBackground\fP = 16, \fBPrintAll\fP = ~0 }".br.ti -1c.RI "enum \fBItem\fP { \fBTitle\fP, \fBLegend\fP, \fBCurve\fP, \fBCurveSymbol\fP, \fBMarker\fP, \fBMarkerSymbol\fP, \fBMajorGrid\fP, \fBMinorGrid\fP, \fBCanvasBackground\fP, \fBAxisScale\fP, \fBAxisTitle\fP }".br.in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtPlotPrintFilter\fP ()".br.ti -1c.RI "virtual \fB~QwtPlotPrintFilter\fP ()".br.ti -1c.RI "virtual QColor \fBcolor\fP (const QColor &, \fBItem\fP item, int id=-1) const ".br.ti -1c.RI "virtual QFont \fBfont\fP (const QFont &, \fBItem\fP item, int id=-1) const ".br.ti -1c.RI "void \fBsetOptions\fP (int options)".br.ti -1c.RI "int \fBoptions\fP () const ".br.ti -1c.RI "virtual void \fBapply\fP (\fBQwtPlot\fP *) const ".br.ti -1c.RI "virtual void \fBreset\fP (\fBQwtPlot\fP *) const ".br.in -1c.SH "Member Enumeration Documentation".PP .SS "enum \fBQwtPlotPrintFilter::Item\fP".PPPrint items. .SS "enum \fBQwtPlotPrintFilter::Options\fP".PPPrint options. .SH "Constructor & Destructor Documentation".PP .SS "QwtPlotPrintFilter::QwtPlotPrintFilter ()".PPSets filter options to QwtPlotPrintFilter::PrintAll .SS "QwtPlotPrintFilter::~\fBQwtPlotPrintFilter\fP ()\fC [virtual]\fP".PPDestructor. .SH "Member Function Documentation".PP .SS "QColor QwtPlotPrintFilter::color (const QColor & c, \fBItem\fP item, int id = -1) const\fC [virtual]\fP".PPModifies a color for printing. \fBParameters:\fP.RS 4\fIc\fP Color to be modified .br\fIitem\fP Type of item where the color belongs .br\fIid\fP Optional id of the item (curveId/markerId) .RE.PP\fBReturns:\fP.RS 4Modified color..RE.PPIn case of !(\fBQwtPlotPrintFilter::options()\fP & PrintBackground) MajorGrid is modified to Qt::darkGray, MinorGrid to Qt::gray. All other colors are returned unmodified. .SS "QFont QwtPlotPrintFilter::font (const QFont & f, \fBItem\fP item, int id = -1) const\fC [virtual]\fP".PPModifies a font for printing. \fBParameters:\fP.RS 4\fIf\fP Font to be modified .br\fIitem\fP Type of item where the font belongs .br\fIid\fP Optional id of the item (curveId/markerId).RE.PPAll fonts are returned unmodified .SS "int QwtPlotPrintFilter::options () const".PPGet plot print options. \fBSee also:\fP.RS 4\fBQwtPlotPrintFilter::setOptions()\fP .RE.PP.SS "void QwtPlotPrintFilter::setOptions (int options)".PPSet plot print options. \fBParameters:\fP.RS 4\fIoptions\fP Or'd \fBQwtPlotPrintFilter::Options\fP values.RE.PP\fBSee also:\fP.RS 4\fBQwtPlotPrintFilter::options()\fP .RE.PP.SH "Author".PP Generated automatically by Doxygen for Qwt User's Guide from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -