9#include "qwt_polar_itemdict.h"
11class QwtPolarItemDict::PrivateData
14 class ItemList :
public QList< QwtPolarItem* >
27 for ( it = begin(); it != end(); ++it )
32 if ( ( *it )->z() > item->
z() )
49 for ( it = begin(); it != end(); ++it )
73 m_data =
new QwtPolarItemDict::PrivateData;
74 m_data->autoDelete =
true;
108 return m_data->autoDelete;
119 m_data->itemList.insertItem( item );
130 m_data->itemList.removeItem( item );
142 PrivateData::ItemList list = m_data->itemList;
143 QwtPolarItemIterator it = list.constBegin();
144 while ( it != list.constEnd() )
170 return m_data->itemList;
const QwtPolarItemList & itemList() const
A QwtPolarItemList of all attached plot items.
void insertItem(QwtPolarItem *)
void detachItems(int rtti=QwtPolarItem::Rtti_PolarItem, bool autoDelete=true)
void removeItem(QwtPolarItem *)
Base class for items on a polar plot.
@ Rtti_PolarItem
Unspecific value, that can be used, when it doesn't matter.
void attach(QwtPolarPlot *plot)
Attach the item to a plot.