QwtPolarItemDict(3)
Okay bestie, buckle up! π’ This is the Library Functions Manual page for QwtPolarItemDict(3), and it's literally all about keeping your polar plot items in check. No cap, it's a vibe. π
β¨ NAME β¨
QwtPolarItemDict β a dictionary for polar plot items. That's it. It's giving organized icon energy. π
π SYNOPSIS π
#include <qwt_polar_itemdict.h>
Inherited by QwtPolarPlot.
π Public Member Functions π
QwtPolarItemDict ()β¨~QwtPolarItemDict ()πvoid setAutoDelete (bool)πbool autoDelete () constπ¦const QwtPolarItemList & itemList () constπΈvoid detachItems (int rtti=QwtPolarItem::Rtti_PolarItem, bool autoDelete=true)π₯
π¦ Protected Member Functions π¦
void insertItem (QwtPolarItem *)πvoid removeItem (QwtPolarItem *)β
π DETAILED DESCRIPTION π
Okay so <pink>QwtPolarItemDict</pink> is literally a dictionary for polar plot items. It organizes them in increasing <purple>z-order</purple> (like, stacking order, iykyk). If <lavender>autoDelete()</lavender> is enabled, all attached items will be deleted in the destructor of the dictionary. So it's self-cleaning, bestie! π§Όβ¨
See also: QwtPolarItem::attach(), QwtPolarItem::detach(), QwtPolarItem::z()
Definition at line 28 of file qwt_polar_itemdict.h.
π CONSTRUCTOR & DESTRUCTOR DOCUMENTATION π
π QwtPolarItemDict::QwtPolarItemDict () [explicit] π
This is the constructor, bestie! It sets up your dictionary and turns on auto deletion by default. So you don't have to worry about cleanupβit's giving responsible queen. π
See also: setAutoDelete, attachItem
Definition at line 71 of file qwt_polar_itemdict.cpp.
π QwtPolarItemDict::~QwtPolarItemDict () π
The destructor! π If autoDelete is on, all attached items will be deleted. So it's like a farewell party where everything gets cleaned up. No cap.
See also: setAutoDelete, autoDelete, attachItem
Definition at line 83 of file qwt_polar_itemdict.cpp.
π MEMBER FUNCTION DOCUMENTATION π
πΈ bool QwtPolarItemDict::autoDelete () const πΈ
This returns true if auto deletion is enabled. So you can check if your dictionary is in self-clean mode. Obsessed. π
Returns: true if auto deletion is enabled
See also: setAutoDelete, attachItem
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. Here's the tea:
- rtti β In case of
QwtPolarItem::Rtti_PlotItemdetach all items otherwise only those items of the type rtti. - autoDelete β If
true, delete all detached items.
Definition at line 140 of file qwt_polar_itemdict.cpp.
π void QwtPolarItemDict::insertItem (QwtPolarItem * item) [protected] π
This protected function inserts a plot item. You pass in a QwtPolarItem * and it gets added. Slay. π
Parameters:
- item β PlotItem
See also: removeItem()
Definition at line 117 of file qwt_polar_itemdict.cpp.
π¦ const QwtPolarItemList & QwtPolarItemDict::itemList () const π¦
A QwtPolarItemList of all attached plot items. It's giving full inventory. π
Returns: List of all attached plot items.
β οΈ Note: Use caution when iterating these lists, as removing/detaching an item will invalidate the iterator. Instead you can place pointers to objects to be removed in a removal list, and traverse that list later. So don't be messy, bestie. π
Definition at line 168 of file qwt_polar_itemdict.cpp.
β void QwtPolarItemDict::removeItem (QwtPolarItem * item) [protected] β
Protected function to remove a plot item. It's the opposite of insertItem(). Bye Felicia! π
Parameters:
- item β PlotItem
See also: insertItem()
Definition at line 128 of file qwt_polar_itemdict.cpp.
π void QwtPolarItemDict::setAutoDelete (bool autoDelete) π
Turn auto deletion on or off. If Auto deletion is on all attached plot items will be deleted in the destructor of QwtPolarItemDict. The default value is on, so it's lowkey the default vibe.
See also: autoDelete, attachItem
Definition at line 97 of file qwt_polar_itemdict.cpp.
π AUTHOR π
Generated automatically by Doxygen for Qwt User's Guide from the source code. So it's not me, it's Doxygen. But I made it cute. π
And that's the tea! π΅ This page was brought to you by the Qwt User's Guide and QwtPolarItemDict(3). Slay, periodt. πβ¨
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms