|
QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
|
A dictionary for polar plot items. More...
#include <qwt_polar_itemdict.h>
Classes | |
| class | PrivateData |
Public Member Functions | |
| QwtPolarItemDict () | |
| Constructor. | |
| ~QwtPolarItemDict () | |
| Destructor. | |
| void | setAutoDelete (bool) |
| Set auto delete. | |
| bool | autoDelete () const |
| Get auto delete. | |
| const QwtPolarItemList & | itemList () const |
| Get the item list. | |
| void | detachItems (int rtti=QwtPolarItem::Rtti_PolarItem, bool autoDelete=true) |
| Detach items. | |
Protected Member Functions | |
| void | insertItem (QwtPolarItem *) |
| Insert an item. | |
| void | removeItem (QwtPolarItem *) |
| Remove an item. | |
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.
|
explicit |
| QwtPolarItemDict::~QwtPolarItemDict | ( | ) |
Destructor.
If autoDelete is on, all attached items will be deleted.
| bool QwtPolarItemDict::autoDelete | ( | ) | const |
Get auto delete.
Check if auto deletion is enabled.
| void QwtPolarItemDict::detachItems | ( | int | rtti = QwtPolarItem::Rtti_PolarItem, |
| bool | autoDelete = true |
||
| ) |
Detach items.
Detach items from the dictionary.
| rtti | In case of QwtPolarItem::Rtti_PolarItem detach all items, otherwise only those items of the type rtti. |
| autoDelete | If true, delete all detached items |
|
protected |
| const QwtPolarItemList & QwtPolarItemDict::itemList | ( | ) | const |
Get the item list.
Get a QwtPolarItemList of all attached plot items.
|
protected |
| void QwtPolarItemDict::setAutoDelete | ( | bool | autoDelete | ) |
Set auto delete.
Enable/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.
| autoDelete | Auto delete flag |