QwtPlotPrintFilter man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

QwtPlotPrintFilter(3)	       Qwt User's Guide		 QwtPlotPrintFilter(3)

NAME
       QwtPlotPrintFilter -

SYNOPSIS
       #include <qwt_plot_printfilter.h>

   Public Types
       enum Item { Title, Legend, Curve, CurveSymbol, Marker, MarkerSymbol,
	   MajorGrid, MinorGrid, CanvasBackground, AxisScale, AxisTitle,
	   WidgetBackground }
       enum Options { PrintMargin =  1, PrintTitle =  2, PrintLegend =	4,
	   PrintGrid =	8, PrintBackground =  16, PrintFrameWithScales =  32,
	   PrintAll =  ~PrintFrameWithScales }

   Public Member Functions
       QwtPlotPrintFilter ()
       virtual ~QwtPlotPrintFilter ()
       virtual void apply (QwtPlot *) const
       virtual void apply (QwtPlotItem *) const
       virtual QColor color (const QColor &, Item item) const
       virtual QFont font (const QFont &, Item item) const
       int options () const
       virtual void reset (QwtPlot *) const
       virtual void reset (QwtPlotItem *) const
       void setOptions (int options)

Detailed Description
       A base class for plot print filters.

       A print filter can be used to customize QwtPlot::print().

       Deprecated
	   In Qwt 5.0 the design of QwtPlot allows/recommends writing
	   individual QwtPlotItems, that are not known to QwtPlotPrintFilter.
	   So this concept is outdated and QwtPlotPrintFilter will be
	   removed/replaced in Qwt 6.x.

Constructor & Destructor Documentation
   QwtPlotPrintFilter::QwtPlotPrintFilter () [explicit]
       Sets filter options to PrintAll

Member Function Documentation
   void QwtPlotPrintFilter::apply (QwtPlot *plot) const [virtual]
       Change color and fonts of a plot

       See also:
	   apply()

   QColor QwtPlotPrintFilter::color (const QColor &c, Itemitem) const
       [virtual]
       Modifies a color for printing. Parameters:
	   c Color to be modified
	   item Type of item where the color belongs

       Returns:
	   Modified color.

       In case of !(QwtPlotPrintFilter::options() & PrintBackground) MajorGrid
       is modified to Qt::darkGray, MinorGrid to Qt::gray. All other colors
       are returned unmodified.

   QFont QwtPlotPrintFilter::font (const QFont &f, Itemitem) const [virtual]
       Modifies a font for printing. Parameters:
	   f Font to be modified
	   item Type of item where the font belongs

       All fonts are returned unmodified

   int QwtPlotPrintFilter::options () const
       Get plot print options. See also:
	   setOptions()

   void QwtPlotPrintFilter::reset (QwtPlot *plot) const [virtual]
       Reset color and fonts of a plot

       See also:
	   apply()

   void QwtPlotPrintFilter::setOptions (intoptions)
       Set plot print options. Parameters:
	   options Or'd QwtPlotPrintFilter::Options values

       See also:
	   options()

Author
       Generated automatically by Doxygen for Qwt User's Guide from the source
       code.

Version 5.2.3			Tue Nov 20 2012		 QwtPlotPrintFilter(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net