Qwt User's Guide 6.3.0

Loading...
Searching...
No Matches
qwt_polar_itemdict.h
1/******************************************************************************
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
12#include "qwt_global.h"
13#include "qwt_polar_item.h"
14#include <qlist.h>
15
16 typedef QList< QwtPolarItem* >::ConstIterator QwtPolarItemIterator;
17 typedef QList< QwtPolarItem* > QwtPolarItemList;
18
28 class QWT_EXPORT QwtPolarItemDict
29{
30 public:
31 explicit QwtPolarItemDict();
32 ~QwtPolarItemDict();
33
34 void setAutoDelete( bool );
35 bool autoDelete() const;
36
37 const QwtPolarItemList& itemList() const;
38
39 void detachItems( int rtti = QwtPolarItem::Rtti_PolarItem,
40 bool autoDelete = true );
41
42 protected:
43 void insertItem( QwtPolarItem* );
44 void removeItem( QwtPolarItem* );
45
46 private:
47 class PrivateData;
48 PrivateData* m_data;
49};
50
51#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