QwtPlotDict(3) | Qwt User's Guide | QwtPlotDict(3) |
QwtPlotDict - A dictionary for plot items.
#include <qwt_plot_dict.h>
Inherited by QwtPlot.
QwtPlotDict ()
virtual ~QwtPlotDict ()
void setAutoDelete (bool)
bool autoDelete () const
const QwtPlotItemList & itemList () const
A QwtPlotItemList of all attached plot items. QwtPlotItemList itemList
(int rtti) const
void detachItems (int rtti=QwtPlotItem::Rtti_PlotItem, bool
autoDelete=true)
void insertItem (QwtPlotItem *)
void removeItem (QwtPlotItem *)
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. QwtPlotDict can be used to get access to all QwtPlotItem items - or all items of a specific type - that are currently on the plot.
See also:
Constructor
Auto deletion is enabled.
See also:
Destructor
If autoDelete() is on, all attached items will be deleted
See also:
Returns:
See also:
Detach items from the dictionary
Parameters:
Insert a plot item
Parameters:
See also:
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:
Returns:
Parameters:
See also:
Remove a plot item
Parameters:
See also:
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:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |