QwtCompassRose(3)

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

πŸ’– QwtCompassRose(3) β€” Qwt User's Guide πŸ’–

okay bestie, sit down, hydrate, and let's talk about QwtCompassRose ✨ this is a page from the Qwt User's Guide and honestly? it's giving abstract base class energy πŸ‘‘


🌸 NAME 🌸

QwtCompassRose β€” that's it, that's the whole name, no long fancy subtitle, she's mysterious like that πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <qwt_compass_rose.h>

Inherited by QwtSimpleCompassRose.

✨ Public Member Functions ✨

virtual void draw (QPainter *painter, const QPoint &center, int radius,
    double north, QPalette::ColorGroup colorGroup=QPalette::Active)
    const =0
const QPalette & palette () const
virtual void setPalette (const QPalette &p)

like look at her. pure virtual draw, a palette() getter, a setPalette() setter. the whole little trio 🫢


πŸ¦‹ Detailed Description πŸ¦‹

Abstract base class for a compass rose.

that's the vibe. she's abstract, she's a base class, she's a compass rose. you don't instantiate her directly, you inherit from her and make her proud πŸ˜­πŸ’œ


🌈 Member Function Documentation 🌈

⭐ virtual void QwtCompassRose::draw (QPainter *painter, const QPoint &center, int radius, double north, QPalette::ColorGroup colorGroup = QPalette::Active) const [pure virtual]

Draw the rose. that's the job. that's literally what she does πŸ’…

Parameters:

  • painter β€” Painter
  • center β€” Center point
  • radius β€” Radius of the rose
  • north β€” Position
  • colorGroup β€” Color group

Implemented in QwtSimpleCompassRose.

no cap, this one's pure virtual β€” meaning you cannot call it on QwtCompassRose itself, there's no body here. it's a promise. the actual drawing happens in whoever inherits her πŸ‘‘ (hi, QwtSimpleCompassRose πŸ’–)

πŸŽ€ const QPalette& QwtCompassRose::palette () const [inline]

Returns:

  • Current palette

just hands you the current palette. no drama, no notes, iconic behaviour πŸ“


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for Qwt User's Guide from the source code.

(yes bestie, a robot wrote this. and yet here we are, feeling things 🧚)


Version 5.2.3 Β· Tue Nov 20 2012 Β· QwtCompassRose(3)

so that's the whole page, fr fr β€” written back on Tue Nov 20 2012, stamped Version 5.2.3, straight out of the Qwt User's Guide, and it's the QwtCompassRose(3) manual page. slay, go inherit something πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from