A dictionary for polar plot items.
More...
#include <qwt_polar_itemdict.h>
A dictionary for polar plot items.
QwtPolarItemDict organizes polar plot items in increasing z-order. If autoDelete() is enabled, all attached items will be deleted in the destructor of the dictionary.
- See also
- QwtPolarItem::attach(), QwtPolarItem::detach(), QwtPolarItem::z()
◆ QwtPolarItemDict()
| QwtPolarItemDict::QwtPolarItemDict |
( |
| ) |
|
|
explicit |
Constructor.
Auto deletion is enabled.
- See also
- setAutoDelete, attachItem
◆ ~QwtPolarItemDict()
| QwtPolarItemDict::~QwtPolarItemDict |
( |
| ) |
|
◆ autoDelete()
| bool QwtPolarItemDict::autoDelete |
( |
| ) |
const |
- Returns
- true if auto deletion is enabled
- See also
- setAutoDelete, attachItem
◆ detachItems()
Detach items from the dictionary.
- Parameters
-
| rtti | In case of QwtPolarItem::Rtti_PlotItem detach all items otherwise only those items of the type rtti. |
| autoDelete | If true, delete all detached items |
◆ insertItem()
◆ itemList()
A QwtPolarItemList of all attached plot items.
- Returns
- List of all attached plot items.
- Note
- 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.
◆ removeItem()
◆ setAutoDelete()
| void QwtPolarItemDict::setAutoDelete |
( |
bool |
autoDelete | ) |
|
En/Disable Auto deletion.
If Auto deletion is on all attached plot items will be deleted in the destructor of QwtPolarItemDict. The default value is on.
- See also
- autoDelete, attachItem
The documentation for this class was generated from the following files:
- /home/runner/work/QWT/QWT/src/qwt_polar_itemdict.h
- /home/runner/work/QWT/QWT/src/qwt_polar_itemdict.cpp