Qwt Polar User's Guide
1.1.0-rc1
Main Page
Related Pages
Classes
All
Classes
Functions
Typedefs
Enumerations
Enumerator
Pages
src
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
Generated by
1.8.2