raDIYo 0.4
SWAbstractIllumination Class Reference

The SWAbstractIllumation class: Eine abstrakte Aspektkompente, welche die Beleuchtung eines Widgets steuert. More...

#include <swabstractillumination.h>

Inheritance diagram for SWAbstractIllumination:

Public Member Functions

 SWAbstractIllumination (QObject *parent=nullptr)
 
void toggleIllumination ()
 
bool isIlluminated ()
 
virtual void setIllumation (bool illuminated)
 

Protected Attributes

bool _illuminated = false
 

Detailed Description

The SWAbstractIllumation class: Eine abstrakte Aspektkompente, welche die Beleuchtung eines Widgets steuert.

Der Aspekt der 'Illumination' ist ein Teil der Nutzeroberfläche: Komponenten wie das Maindisplay oder das Volumecontrol 'erleuchtet' animiert beim einschalten, eben wie eine Verstärker-Röhre bei historischen Radios.

Definition at line 31 of file swabstractillumination.h.

Constructor & Destructor Documentation

◆ SWAbstractIllumination()

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

Definition at line 17 of file swabstractillumination.cpp.

◆ ~SWAbstractIllumination()

SWAbstractIllumination::~SWAbstractIllumination ( )
virtual

Definition at line 23 of file swabstractillumination.cpp.

Member Function Documentation

◆ isIlluminated()

bool SWAbstractIllumination::isIlluminated ( )

Definition at line 33 of file swabstractillumination.cpp.

◆ setIllumation()

void SWAbstractIllumination::setIllumation ( bool  illuminated)
virtual

Definition at line 39 of file swabstractillumination.cpp.

◆ toggleIllumination()

void SWAbstractIllumination::toggleIllumination ( )

Definition at line 28 of file swabstractillumination.cpp.

Member Data Documentation

◆ _illuminated

bool SWAbstractIllumination::_illuminated = false
protected

Definition at line 49 of file swabstractillumination.h.


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