• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • OpalButton
  • OpalButton Class

    Bare-glyph OPAL status + chat-toggle header button. More...

    Header: #include <OpalButton>
    Since: 1.0
    Inherits: QAbstractButton

    Detailed Description

    Replaces the old OpalChatToggleButton. The button surface conveys OPAL's pipeline state via the articulated SVG asset at :/opal/opal_articulated.svg (§OB-3 / §OB-A): a tall oval shell with ~70 sparkle dots partitioned across 5 phase-clustered color groups whose colors cycle to fake a disco-ball displacement effect. The asset's geometry is read once and painted with QPainter; only the colors are computed per frame.

    The clicked signal still toggles the OPAL chat overlay (left-click, unchanged from OpalChatToggleButton, see §OB-5). The status feed comes from OpalStatusContext supplied via setContext().

    No button chrome — the icon paints directly onto the header background (§OB-2 bare-glyph treatment, §AH-3.4 visual rhythm). Sized via Typography::headerButton() (§AH-3.5).

    See also OpalStatusContext and OpalChatOverlay.