#include <qwt_plot_printfilter.h>
Public Types | |
| enum | Options { PrintMargin = 1, PrintTitle = 2, PrintLegend = 4, PrintGrid = 8, PrintBackground = 16, PrintAll = ~0 } |
| enum | Item { Title, Legend, Curve, CurveSymbol, Marker, MarkerSymbol, MajorGrid, MinorGrid, CanvasBackground, AxisScale, AxisTitle } |
Public Member Functions | |
| QwtPlotPrintFilter () | |
| virtual | ~QwtPlotPrintFilter () |
| virtual QColor | color (const QColor &, Item item, int id=-1) const |
| virtual QFont | font (const QFont &, Item item, int id=-1) const |
| void | setOptions (int options) |
| int | options () const |
| virtual void | apply (QwtPlot *) const |
| virtual void | reset (QwtPlot *) const |
Private Attributes | |
| int | d_options |
| QwtPlotPrintFilterCache * | d_cache |
QwtPlotPrintFilter can be used to customize QwtPlot::print.
Definition at line 28 of file qwt_plot_printfilter.h.
|
|
Print items.
Definition at line 44 of file qwt_plot_printfilter.h. |
|
|
Print options.
Definition at line 32 of file qwt_plot_printfilter.h. |
|
|
Sets filter options to QwtPlotPrintFilter::PrintAll Definition at line 61 of file qwt_plot_printfilter.cpp. |
|
|
Destructor.
Definition at line 68 of file qwt_plot_printfilter.cpp. References d_cache. |
|
|
||||||||||||||||
|
Modifies a color for printing.
Definition at line 85 of file qwt_plot_printfilter.cpp. References MajorGrid, MinorGrid, options(), and PrintBackground. |
|
||||||||||||||||
|
Modifies a font for printing.
Definition at line 110 of file qwt_plot_printfilter.cpp. |
|
|
Get plot print options.
Definition at line 79 of file qwt_plot_printfilter.h. Referenced by color(), QwtPlot::drawCanvasItems(), QwtPlot::print(), and QwtPlot::printCanvas(). |
|
|
|
Set plot print options.
Definition at line 72 of file qwt_plot_printfilter.h. |
|
|
Definition at line 86 of file qwt_plot_printfilter.h. Referenced by apply(), reset(), and ~QwtPlotPrintFilter(). |
|
|
Definition at line 85 of file qwt_plot_printfilter.h. |
1.3.2