.TH "QwtPlotPrintFilter" 3 "Tue Nov 20 2012" "Version 5.2.3" "Qwt User's Guide" \" -*- nroff -*- .ad l .nh .SH NAME QwtPlotPrintFilter \- .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .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, \fBWidgetBackground\fP }" .br .ti -1c .RI "enum \fBOptions\fP { \fBPrintMargin\fP = 1, \fBPrintTitle\fP = 2, \fBPrintLegend\fP = 4, \fBPrintGrid\fP = 8, \fBPrintBackground\fP = 16, \fBPrintFrameWithScales\fP = 32, \fBPrintAll\fP = ~PrintFrameWithScales }" .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 void \fBapply\fP (\fBQwtPlot\fP *) const " .br .ti -1c .RI "virtual void \fBapply\fP (\fBQwtPlotItem\fP *) const " .br .ti -1c .RI "virtual QColor \fBcolor\fP (const QColor &, \fBItem\fP item) const " .br .ti -1c .RI "virtual QFont \fBfont\fP (const QFont &, \fBItem\fP item) const " .br .ti -1c .RI "int \fBoptions\fP () const " .br .ti -1c .RI "virtual void \fBreset\fP (\fBQwtPlot\fP *) const " .br .ti -1c .RI "virtual void \fBreset\fP (\fBQwtPlotItem\fP *) const " .br .ti -1c .RI "void \fBsetOptions\fP (int \fBoptions\fP)" .br .in -1c .SH "Detailed Description" .PP A base class for plot print filters\&. A print filter can be used to customize \fBQwtPlot::print()\fP\&. .PP \fBDeprecated\fP .RS 4 In Qwt 5\&.0 the design of \fBQwtPlot\fP allows/recommends writing individual QwtPlotItems, that are not known to \fBQwtPlotPrintFilter\fP\&. So this concept is outdated and \fBQwtPlotPrintFilter\fP will be removed/replaced in Qwt 6\&.x\&. .RE .PP .SH "Constructor & Destructor Documentation" .PP .SS "QwtPlotPrintFilter::QwtPlotPrintFilter ()\fC [explicit]\fP" Sets filter options to PrintAll .SH "Member Function Documentation" .PP .SS "void QwtPlotPrintFilter::apply (\fBQwtPlot\fP *plot) const\fC [virtual]\fP" Change color and fonts of a plot .PP \fBSee also:\fP .RS 4 \fBapply()\fP .RE .PP .SS "QColor QwtPlotPrintFilter::color (const QColor &c, \fBItem\fPitem) const\fC [virtual]\fP" .PP Modifies a color for printing\&. \fBParameters:\fP .RS 4 \fIc\fP Color to be modified .br \fIitem\fP Type of item where the color belongs .RE .PP \fBReturns:\fP .RS 4 Modified color\&. .RE .PP In 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\fPitem) const\fC [virtual]\fP" .PP Modifies a font for printing\&. \fBParameters:\fP .RS 4 \fIf\fP Font to be modified .br \fIitem\fP Type of item where the font belongs .RE .PP All fonts are returned unmodified .SS "int QwtPlotPrintFilter::options () const" .PP Get plot print options\&. \fBSee also:\fP .RS 4 \fBsetOptions()\fP .RE .PP .SS "void QwtPlotPrintFilter::reset (\fBQwtPlot\fP *plot) const\fC [virtual]\fP" Reset color and fonts of a plot .PP \fBSee also:\fP .RS 4 \fBapply()\fP .RE .PP .SS "void QwtPlotPrintFilter::setOptions (intoptions)" .PP Set plot print options\&. \fBParameters:\fP .RS 4 \fIoptions\fP Or'd \fBQwtPlotPrintFilter::Options\fP values .RE .PP \fBSee also:\fP .RS 4 \fBoptions()\fP .RE .PP .SH "Author" .PP Generated automatically by Doxygen for Qwt User's Guide from the source code\&.