QwtPolarItemDict(3) | Qwt User's Guide | QwtPolarItemDict(3) |
NAME
QwtPolarItemDict - A dictionary for polar plot items.
SYNOPSIS
#include <qwt_polar_itemdict.h>
Inherited by QwtPolarPlot.
Public Member Functions
QwtPolarItemDict ()
~QwtPolarItemDict ()
void setAutoDelete (bool)
bool autoDelete () const
const QwtPolarItemList & itemList () const
A QwtPolarItemList of all attached plot items. void detachItems (int
rtti=QwtPolarItem::Rtti_PolarItem, bool autoDelete=true)
Protected Member Functions
void insertItem (QwtPolarItem *)
void removeItem (QwtPolarItem *)
Detailed Description
A dictionary for polar plot items.
QwtPolarItemDict organizes polar plot items in increasing z-order. If autoDelete() is enabled, all attached items will be deleted in the destructor of the dictionary.
See also
Definition at line 28 of file qwt_polar_itemdict.h.
Constructor & Destructor Documentation
QwtPolarItemDict::QwtPolarItemDict () [explicit]
Constructor
Auto deletion is enabled.
See also
Definition at line 71 of file qwt_polar_itemdict.cpp.
QwtPolarItemDict::~QwtPolarItemDict ()
Destructor
If autoDelete is on, all attached items will be deleted
See also
Definition at line 83 of file qwt_polar_itemdict.cpp.
Member Function Documentation
bool QwtPolarItemDict::autoDelete () const
Returns
See also
Definition at line 106 of file qwt_polar_itemdict.cpp.
void QwtPolarItemDict::detachItems (int rtti = QwtPolarItem::Rtti_PolarItem, bool autoDelete = true)
Detach items from the dictionary
Parameters
autoDelete If true, delete all detached items
Definition at line 140 of file qwt_polar_itemdict.cpp.
void QwtPolarItemDict::insertItem (QwtPolarItem * item) [protected]
Insert a plot item
Parameters
See also
Definition at line 117 of file qwt_polar_itemdict.cpp.
const QwtPolarItemList & QwtPolarItemDict::itemList () const
A QwtPolarItemList of all attached plot items.
Returns
Note
Definition at line 168 of file qwt_polar_itemdict.cpp.
void QwtPolarItemDict::removeItem (QwtPolarItem * item) [protected]
Remove a plot item
Parameters
See also
Definition at line 128 of file qwt_polar_itemdict.cpp.
void QwtPolarItemDict::setAutoDelete (bool autoDelete)
En/Disable Auto deletion
If Auto deletion is on all attached plot items will be deleted in the destructor of QwtPolarItemDict. The default value is on.
See also
Definition at line 97 of file qwt_polar_itemdict.cpp.
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Sun Jul 18 2021 | Version 6.2.0 |