QwtLegendItemManager(3)

πŸ“¦ version 5.2.3a, in epel 9, fedora 43, fedora 44

πŸ’– QwtLegendItemManager πŸ’–

okay so bestie, welcome to the Qwt User's Guide β€” this is the page for QwtLegendItemManager(3) and honestly it's giving abstract queen energy πŸ‘‘


✨ NAME ✨

QwtLegendItemManager β€” that's her, that's the name, no notes πŸ’…


🌸 SYNOPSIS 🌸

#include <qwt_legend_itemmanager.h>

Inherited by QwtPlotItem.

πŸŽ€ Public Member Functions πŸŽ€

  • QwtLegendItemManager ()
  • virtual ~QwtLegendItemManager ()
  • virtual QWidget * legendItem () const =0
  • virtual void updateLegend (QwtLegend *legend) const =0

πŸ¦‹ Detailed Description πŸ¦‹

It's an abstract API whose whole job is binding plot items to the legend. That's it, that's the vibe β€” she's an interface, she doesn't do the work herself, she just makes sure the plot items and the legend stay in the same group chat 🫢


πŸ‘‘ Member Function Documentation πŸ‘‘

πŸ’œ virtual QWidget* QwtLegendItemManager::legendItem () const [pure virtual]

Allocate the widget that represents the item on the legend. like, she hands you a brand new widget for your item's little legend moment ✨

Returns:

  • Allocated widget β€” it's yours now, bestie, you allocated it, you own it 😭

See also:

  • updateLegend() QwtLegend()

Implemented in QwtPlotItem.


πŸ’œ virtual void QwtLegendItemManager::updateLegend (QwtLegend *legend) const [pure virtual]

Update the widget that represents the item on the legend. glow-up time, the legend widget gets refreshed 🌈

Parameters:

  • legend β€” Legend

See also:

  • legendItem()

Implemented in QwtPlotCurve, and QwtPlotItem.


🌟 Author 🌟

Generated automatically by Doxygen for Qwt User's Guide from the source code. not me getting emotionally attached to an auto-generated doc page πŸ™ˆ


that's the whole thing, no cap β€” you understood the assignment, go forth and legend πŸ’–βœ¨

Version 5.2.3 β€” Tue Nov 20 2012 β€” mwah, that's the Qwt User's Guide era, iconic, periodt πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from