QwtPlotDict(3)
π QwtPlotDict(3) π
okay bestie, welcome to the Qwt User's Guide β¨ β this is the manual page for QwtPlotDict, and it's lowkey one of the most important little gremlins in the whole Qwt plot universe. sit down, get comfy, we're gonna read it together π«Ά
πΈ NAME πΈ
QwtPlotDict β the dictionary. the keeper. the one holding all your plot items in a neat little pile π
β¨ SYNOPSIS β¨
#include <qwt_plot_dict.h>
Inherited by QwtPlot.
π Public Member Functions π
QwtPlotDict()~QwtPlotDict()bool autoDelete() constvoid detachItems(int rtti = QwtPlotItem::Rtti_PlotItem, bool autoDelete = true)const QwtPlotItemList & itemList() constvoid setAutoDelete(bool)
π¦ Friends π¦
class QwtPlotItem
π Detailed Description π
so like, it's a dictionary for plot items. that's the whole vibe, no cap π
QwtPlotDict organizes plot items in increasing z-order. and if autoDelete() is enabled, all attached items will be deleted in the destructor of the dictionary. yes bestie, it takes them with it π iconic behaviour honestly.
See also:
QwtPlotItem::attach()QwtPlotItem::detach()QwtPlotItem::z()
πΈ Constructor & Destructor Documentation πΈ
QwtPlotDict::QwtPlotDict() [explicit]
Constructor β¨
Auto deletion is enabled. she comes out the womb ready to clean up after herself, we love a self-sufficient queen π
See also:
setAutoDelete()attachItem()
QwtPlotDict::~QwtPlotDict()
Destructor π
If autoDelete is on, all attached items will be deleted. yeah. everybody goes. it's giving end-of-era energy fr fr.
See also:
setAutoDelete()autoDelete()attachItem()
π Member Function Documentation π
bool QwtPlotDict::autoDelete() const
Returns:
trueif auto deletion is enabled β
See also:
setAutoDelete()attachItem()
void QwtPlotDict::detachItems(int rtti = QwtPlotItem::Rtti_PlotItem, bool autoDelete = true)
Detach items from the dictionary π«‘
Parameters:
rttiβ In case ofQwtPlotItem::Rtti_PlotItemdetach all items, otherwise only those items of the typertti.autoDeleteβ Iftrue, delete all detached items ποΈ
const QwtPlotItemList & QwtPlotDict::itemList() const
A QwtPlotItemList of all attached plot items π
β οΈ 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. bestie please do not rawdog the iterator while mutating the list, it will not end well π
Returns:
- List of all attached plot items.
void QwtPlotDict::setAutoDelete(bool autoDelete)
En/Disable Auto deletion βοΈ
If Auto deletion is on, all attached plot items will be deleted in the destructor of QwtPlotDict. The default value is on β¨
See also:
autoDelete()attachItem()
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code. (doxygen really said "I wrote this, not a human, and I'm not sorry" π )
and that's the whole page, bestie!! π this was Version 5.2.3, dated Tue Nov 20 2012 β yeah she's a vintage queen from 2012 and she still slays π mwah, love u, go attach some items responsibly π«Άβ¨
π¦ where this page comes from
- epel 9: qwt5-qt5-devel 5.2.3a-12.20210522gita2b11e3.el9 Β· LGPLv2+ with exceptions
- fedora 43: qwt5-qt5-devel 5.2.3a-22.20210522gita2b11e3.fc43 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 43: qwt5-qt5-devel 5.2.3a-22.20210522gita2b11e3.fc43 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 44: qwt5-qt5-devel 5.2.3a-23.20210522gita2b11e3.fc44 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 44: qwt5-qt5-devel 5.2.3a-23.20210522gita2b11e3.fc44 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms