Qwt Polar User's Guide 1.1.1

- Main Page
- Related Pages
- Classes

All Classes Functions Typedefs Enumerations Enumerator Pages
qwt_polar_itemdict.h
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2 * QwtPolar Widget Library
3 * Copyright (C) 2008 Uwe Rathmann
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the Qwt License, Version 1.0
7 *****************************************************************************/
8
9 #ifndef QWT_POLAR_ITEMDICT_H
10 #define QWT_POLAR_ITEMDICT_H
11
14 #include "qwt_polar_global.h"
15 #include "qwt_polar_item.h"
16 #include <qlist.h>
17
18 typedef QList<QwtPolarItem *>::ConstIterator QwtPolarItemIterator;
21 typedef QList<QwtPolarItem *> QwtPolarItemList;
22
32 class QWT_POLAR_EXPORT QwtPolarItemDict
33 {
34 public:
35 explicit QwtPolarItemDict();
36 ~QwtPolarItemDict();
37
38 void setAutoDelete( bool );
39 bool autoDelete() const;
40
41 const QwtPolarItemList& itemList() const;
42
43 void detachItems( int rtti = QwtPolarItem::Rtti_PolarItem,
44 bool autoDelete = true );
45
46 protected:
47 void insertItem( QwtPolarItem * );
48 void removeItem( QwtPolarItem * );
49
50 private:
51 class PrivateData;
52 PrivateData *d_data;
53 };
54
55 #endif
QwtPolarItem::Rtti_PolarItem
Unspecific value, that can be used, when it doesn&#39;t matter.
Definition: qwt_polar_item.h:49
QwtPolarItemDict
A dictionary for polar plot items.
Definition: qwt_polar_itemdict.h:32
QwtPolarItem
Base class for items on a polar plot.
Definition: qwt_polar_item.h:37