QwtPlotPrintFilter can be used to customize QwtPlot::print.
Definition at line 28 of file qwt_plot_printfilter.h.
Public Types | |
enum | Options { PrintMargin = 1, PrintTitle = 2, PrintLegend = 4, PrintGrid = 8, PrintCanvasBackground = 16, PrintWidgetBackground = 32, PrintAll = ~PrintWidgetBackground } |
enum | Item { Title, Legend, Curve, CurveSymbol, Marker, MarkerSymbol, MajorGrid, MinorGrid, CanvasBackground, AxisScale, AxisTitle, WidgetBackground } |
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 |
|
Print items.
Definition at line 45 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 66 of file qwt_plot_printfilter.cpp. |
|
Destructor.
Definition at line 73 of file qwt_plot_printfilter.cpp. |
|
|
Modifies a color for printing.
Definition at line 90 of file qwt_plot_printfilter.cpp. References options(). |
|
Modifies a font for printing.
Definition at line 115 of file qwt_plot_printfilter.cpp. |
|
Get plot print options.
Definition at line 81 of file qwt_plot_printfilter.h. Referenced by color(), QwtPlot::drawCanvasItems(), QwtPlot::print(), and QwtPlot::printCanvas(). |
|
|
Set plot print options.
Definition at line 74 of file qwt_plot_printfilter.h. |