QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
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
16using QwtPolarItemIterator = QList< QwtPolarItem* >::ConstIterator;
18
27class QWT_EXPORT QwtPolarItemDict
28{
29public:
31 explicit QwtPolarItemDict();
34
36 void setAutoDelete(bool);
38 bool autoDelete() const;
39
41 const QwtPolarItemList& itemList() const;
42
44 void detachItems(int rtti = QwtPolarItem::Rtti_PolarItem, bool autoDelete = true);
45
46protected:
48 void insertItem(QwtPolarItem*);
50 void removeItem(QwtPolarItem*);
51
52private:
53 QWT_DECLARE_PRIVATE(QwtPolarItemDict)
54};
55
56#endif
Definition qwt_raster_data.h:38
A dictionary for polar plot items
Definition qwt_polar_itemdict.h:28
Base class for items on a polar plot
Definition qwt_polar_item.h:35
@ Rtti_PolarItem
Unspecific value, that can be used, when it doesn't matter
Definition qwt_polar_item.h:44