Loading...
Searching...
No Matches
qwt_polar_itemdict.h
/******************************************************************************
* QwtPolar Widget Library
* Copyright (C) 2008 Uwe Rathmann
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Qwt License, Version 1.0
*****************************************************************************/
#ifndef QWT_POLAR_ITEMDICT_H
#define QWT_POLAR_ITEMDICT_H
#include "qwt_global.h"
#include "qwt_polar_item.h"
#include <qlist.h>
typedef QList< QwtPolarItem* >::ConstIterator QwtPolarItemIterator;
typedef QList< QwtPolarItem* > QwtPolarItemList;
class QWT_EXPORT QwtPolarItemDict
{
public:
explicit QwtPolarItemDict();
~QwtPolarItemDict();
void setAutoDelete( bool );
bool autoDelete() const;
const QwtPolarItemList& itemList() const;
void detachItems( int rtti = QwtPolarItem::Rtti_PolarItem,
bool autoDelete = true );
protected:
void insertItem( QwtPolarItem* );
void removeItem( QwtPolarItem* );
private:
class PrivateData;
PrivateData* m_data;
};
#endif
QList
Definition qwt_abstract_legend.h:17
QwtPolarItemDict
A dictionary for polar plot items.
Definition qwt_polar_itemdict.h:29
QwtPolarItem
Base class for items on a polar plot.
Definition qwt_polar_item.h:38
QwtPolarItem::Rtti_PolarItem
@ Rtti_PolarItem
Unspecific value, that can be used, when it doesn't matter.
Definition qwt_polar_item.h:49