|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
A dictionary for plot items. More...
#include <qwt_plot_dict.h>
Classes | |
| class | PrivateData |
Public Member Functions | |
| QwtPlotDict () | |
| Constructor. | |
| virtual | ~QwtPlotDict () |
| Destructor. | |
| void | setAutoDelete (bool) |
| Enable/disable auto deletion. | |
| bool | autoDelete () const |
| Check if auto deletion is enabled. | |
| const QwtPlotItemList & | itemList () const |
| Get the list of all attached plot items. | |
| QwtPlotItemList | itemList (int rtti) const |
| Get the list of all attached plot items of a specific type. | |
| void | detachItems (int rtti=QwtPlotItem::Rtti_PlotItem, bool autoDelete=true) |
| Detach items from the dictionary. | |
Protected Member Functions | |
| void | insertItem (QwtPlotItem *) |
| Insert an item into the dictionary. | |
| void | removeItem (QwtPlotItem *) |
| Remove an item from the dictionary. | |
A dictionary for plot items.
|
explicit |
Constructor.
|
virtual |
Destructor.
| bool QwtPlotDict::autoDelete | ( | ) | const |
Check if auto deletion is enabled.
| void QwtPlotDict::detachItems | ( | int | rtti = QwtPlotItem::Rtti_PlotItem, |
| bool | autoDelete = true |
||
| ) |
Detach items from the dictionary.
|
protected |
Insert an item into the dictionary.
Insert a plot item.
| item | PlotItem |
| const QwtPlotItemList & QwtPlotDict::itemList | ( | ) | const |
Get the list of all attached plot items.
| QwtPlotItemList QwtPlotDict::itemList | ( | int | rtti | ) | const |
Get the list of all attached plot items of a specific type.
|
protected |
Remove an item from the dictionary.
Remove a plot item.
| item | PlotItem |
| void QwtPlotDict::setAutoDelete | ( | bool | autoDelete | ) |
Enable/disable auto deletion.