3rdparty
qwt
src
qwt_polar_itemdict.h
Go to the documentation of this file.
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
QwtPolarItemList
QList< QwtPolarItem * > QwtPolarItemList
Definition:
qwt_polar_itemdict.h:17
QwtPolarItem::Rtti_PolarItem
@ Rtti_PolarItem
Unspecific value, that can be used, when it doesn't matter.
Definition:
qwt_polar_item.h:49
QwtPolarItemDict::PrivateData
Definition:
qwt_polar_itemdict.cpp:11
qwt_global.h
QList
Definition:
qwt_abstract_legend.h:17
QwtPolarItemDict
A dictionary for polar plot items.
Definition:
qwt_polar_itemdict.h:28
QwtPolarItem
Base class for items on a polar plot.
Definition:
qwt_polar_item.h:37
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
qwt_polar_item.h
QwtPolarItemIterator
QList< QwtPolarItem * >::ConstIterator QwtPolarItemIterator
Definition:
qwt_polar_itemdict.h:16
QwtPolarItemDict::m_data
PrivateData * m_data
Definition:
qwt_polar_itemdict.h:47
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46