QwtPlotDict(3) | Qwt User's Guide | QwtPlotDict(3) |
NAME¶
QwtPlotDict -
SYNOPSIS¶
#include <qwt_plot_dict.h>
Inherited by QwtPlot.
Public Member Functions¶
QwtPlotDict ()
~QwtPlotDict ()
bool autoDelete () const
void detachItems (int rtti=QwtPlotItem::Rtti_PlotItem, bool
autoDelete=true)
const QwtPlotItemList & itemList () const
void setAutoDelete (bool)
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:
Constructor & Destructor Documentation¶
QwtPlotDict::QwtPlotDict () [explicit]¶
Constructor
Auto deletion is enabled.
See also:
QwtPlotDict::~QwtPlotDict ()¶
Destructor
If autoDelete is on, all attached items will be deleted
See also:
Member Function Documentation¶
bool QwtPlotDict::autoDelete () const¶
Returns:
See also:
void QwtPlotDict::detachItems (intrtti = QwtPlotItem::Rtti_PlotItem, boolautoDelete = true)¶
Detach items from the dictionary
Parameters:
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:
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:
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 | Version 5.2.3 |