Hyelicht 2.0
Controller application for the Hyelicht shelf. Paint on the shelf with colors, turn on the fireplace mode, and more.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FireAnimation Class Reference

Simple fire animation to turn the shelf into a digital fireplace. More...

#include <fireanimation.h>

Inheritance diagram for FireAnimation:
Inheritance graph
[legend]
Collaboration diagram for FireAnimation:
Collaboration graph
[legend]

Public Member Functions

 FireAnimation (QObject *parent=nullptr)
 Create a fire animation.
 
QString name () const override
 The name of this animation.
 
- Public Member Functions inherited from AbstractAnimation
 AbstractAnimation (QObject *parent=nullptr)
 Create an animation.
 
LedStripledStrip () const
 The LedStrip this animation operates on.
 
void setLedStrip (LedStrip *ledStrip)
 Set the LedStrip this animation operates on.
 

Additional Inherited Members

- Signals inherited from AbstractAnimation
void ledStripChanged () const
 The LedStrip this animation operates on has changed.
 
void frameComplete () const
 Subclasses must emit this signal after they have finished painting a frame.
 
- Protected Attributes inherited from AbstractAnimation
QPointer< LedStripm_ledStrip
 LedStrip instance to operate on.
 
- Properties inherited from AbstractAnimation
QString name
 Name of this animation.
 
LedStripledStrip
 LedStrip this animation operates on.
 

Detailed Description

Simple fire animation to turn the shelf into a digital fireplace.

Animates every LED in the LedStrip instance, rather than the compartments of the shelf.

See also
AbstractAnimation
QTimeLine
ShelfModel

Constructor & Destructor Documentation

◆ FireAnimation()

FireAnimation::FireAnimation ( QObject *  parent = nullptr)
explicit

Create a fire animation.

Parameters
parentParent object

Member Function Documentation

◆ name()

QString FireAnimation::name ( ) const
overridevirtual

The name of this animation.

Returns
"Fire".

Implements AbstractAnimation.


The documentation for this class was generated from the following files: