QwtPlotDict organizes plot items in increasing z-order. If autoDelete() is enabled, all attached items will be deleted in the destructor of the dictionary.
Definition at line 37 of file qwt_plot_dict.h.
Public Member Functions | |
QwtPlotDict () | |
~QwtPlotDict () | |
void | setAutoDelete (bool) |
bool | autoDelete () const |
const QwtPlotItemList & | itemList () const |
void | detachItems (int rtti=QwtPlotItem::Rtti_PlotItem, bool autoDelete=true) |
Friends | |
class | QwtPlotItem |
|
Constructor Auto deletion is enabled.
Definition at line 94 of file qwt_plot_dict.cpp. |
|
Destructor If autoDelete is on, all attached items will be deleted
Definition at line 106 of file qwt_plot_dict.cpp. References detachItems(). |
|
Definition at line 129 of file qwt_plot_dict.cpp. Referenced by QwtPlot::~QwtPlot(). |
|
Detach items from the dictionary
Definition at line 161 of file qwt_plot_dict.cpp. Referenced by QwtPlot::clear(), QwtPlot::~QwtPlot(), and ~QwtPlotDict(). |
|
Definition at line 181 of file qwt_plot_dict.cpp. Referenced by QwtPlot::drawItems(), QwtPlot::insertLegend(), and QwtPlot::updateAxes(). |
|
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.
Definition at line 120 of file qwt_plot_dict.cpp. |