Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qwtplotdict(3) [debian man page]

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

NAME
QwtPlotDict - A dictionary for plot items. SYNOPSIS
#include <qwt_plot_dict.h> Inherited by QwtPlot. Public Member Functions bool autoDelete () const void detachItems (int rtti=QwtPlotItem::Rtti_PlotItem, bool autoDelete=true) const QwtPlotItemList & itemList () const QwtPlotDict () void setAutoDelete (bool) ~QwtPlotDict () Friends class QwtPlotItem Detailed Description A dictionary for plot items. QwtPlotDict organizes plot items in increasing z-order. If autoDelete() is enabled, all attached items will be deleted in the destructor of the dictionary. See also: QwtPlotItem::attach(), QwtPlotItem::detach(), QwtPlotItem::z() Constructor &; Destructor Documentation QwtPlotDict::QwtPlotDict () [explicit] Constructor Auto deletion is enabled. See also: setAutoDelete(), attachItem() QwtPlotDict::~QwtPlotDict () Destructor If autoDelete is on, all attached items will be deleted See also: setAutoDelete(), autoDelete(), attachItem() Member Function Documentation bool QwtPlotDict::autoDelete () const Returns: true if auto deletion is enabled See also: setAutoDelete(), attachItem() void QwtPlotDict::detachItems (intrtti = QwtPlotItem::Rtti_PlotItem, boolautoDelete = true) Detach items from the dictionary Parameters: rtti In case of QwtPlotItem::Rtti_PlotItem detach all items otherwise only those items of the type rtti. autoDelete If true, delete all detached items const QwtPlotItemList & QwtPlotDict::itemList () const A QwtPlotItemList of all attached plot items. Use caution when iterating these lists, as removing/detaching an item will invalidate the iterator. Instead you can place pointers to objects to be removed in a removal list, and traverse that list later. Returns: List of all attached plot items. void QwtPlotDict::setAutoDelete (boolautoDelete) En/Disable Auto deletion If Auto deletion is on all attached plot items will be deleted in the destructor of QwtPlotDict. The default value is on. See also: autoDelete(), attachItem() Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtPlotDict(3)

Check Out this Related Man Page

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

NAME
QwtPlotPrintFilter - A base class for plot print filters. 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 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 QwtPlotPrintFilter () virtual void reset (QwtPlotItem *) const virtual void reset (QwtPlot *) const void setOptions (int options) virtual ~QwtPlotPrintFilter () 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. Member Enumeration Documentation enum QwtPlotPrintFilter::Item Print items. enum QwtPlotPrintFilter::Options Print options. Constructor &; Destructor Documentation QwtPlotPrintFilter::QwtPlotPrintFilter () [explicit] Sets filter options to PrintAll QwtPlotPrintFilter::~QwtPlotPrintFilter () [virtual] Destructor. 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.2 Mon Aug 1 2011 QwtPlotPrintFilter(3)
Man Page