raDIYo 0.4
SWAlarmControl Class Reference
Inheritance diagram for SWAlarmControl:
SWAbstractControl

Public Slots

void onDialClicked () override
 
void onDialValueChanged (int value) override
 
- Public Slots inherited from SWAbstractControl
virtual bool acceptDial ()
 
virtual void onDialClicked ()
 Wird aufgerufen, wenn das (externe) Dial geklickt wurde. More...
 
virtual void onDialValueChanged (int value)
 Wird aufgerufen, wenn das (externe) Dial gedreht wurde. More...
 

Public Member Functions

 SWAlarmControl (SWRaDIYoMainWidget *parent)
 
void paintEvent (QPaintEvent *event) override
 
void loadSettings ()
 
void saveSettings ()
 
- Public Member Functions inherited from SWAbstractControl
 SWAbstractControl (SWRaDIYoMainWidget *parent)
 
virtual void fadeIn ()
 
virtual void fadeOut ()
 

Protected Attributes

SWButtonGroup _weekdayButtons
 
- Protected Attributes inherited from SWAbstractControl
bool _acceptDial = true
 
SWRaDIYoMainWidget_controller = nullptr
 
int _value = -1
 
QGraphicsOpacityEffect * _effect = nullptr
 
QPropertyAnimation * _animFadeIn = nullptr
 
QPropertyAnimation * _animFadeOut = nullptr
 

Additional Inherited Members

- Static Protected Attributes inherited from SWAbstractControl
static const int SWFADINGDURATION = 650
 

Detailed Description

Definition at line 28 of file swalarmcontrol.h.

Constructor & Destructor Documentation

◆ SWAlarmControl()

SWAlarmControl::SWAlarmControl ( SWRaDIYoMainWidget parent)
explicit

Definition at line 23 of file swalarmcontrol.cpp.

◆ ~SWAlarmControl()

SWAlarmControl::~SWAlarmControl ( )
virtual

Definition at line 47 of file swalarmcontrol.cpp.

Member Function Documentation

◆ loadSettings()

void SWAlarmControl::loadSettings ( )

Definition at line 70 of file swalarmcontrol.cpp.

◆ onDialClicked

void SWAlarmControl::onDialClicked ( )
overrideslot

Definition at line 59 of file swalarmcontrol.cpp.

◆ onDialValueChanged

void SWAlarmControl::onDialValueChanged ( int  value)
overrideslot

Definition at line 65 of file swalarmcontrol.cpp.

◆ paintEvent()

void SWAlarmControl::paintEvent ( QPaintEvent *  event)
override

Definition at line 52 of file swalarmcontrol.cpp.

◆ saveSettings()

void SWAlarmControl::saveSettings ( )

Definition at line 91 of file swalarmcontrol.cpp.

Member Data Documentation

◆ _weekdayButtons

SWButtonGroup SWAlarmControl::_weekdayButtons
protected

Definition at line 50 of file swalarmcontrol.h.


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