raDIYo 0.4
SWClockControl Class Reference
Inheritance diagram for SWClockControl:
SWAbstractControl

Public Member Functions

 SWClockControl (SWRaDIYoMainWidget *parent)
 
void timerEvent (QTimerEvent *event) override
 
void updateTime ()
 
void switchTransition (int delta)
 
void loadSettings ()
 
void saveSettings ()
 
- Public Member Functions inherited from SWAbstractControl
 SWAbstractControl (SWRaDIYoMainWidget *parent)
 
virtual void fadeIn ()
 
virtual void fadeOut ()
 

Protected Slots

void chooseSlide ()
 
void chooseFlip ()
 
void chooseRotate ()
 

Protected Attributes

QBasicTimer _ticker
 
- 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

- 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...
 
- Static Protected Attributes inherited from SWAbstractControl
static const int SWFADINGDURATION = 650
 

Detailed Description

Definition at line 29 of file swclockcontrol.h.

Constructor & Destructor Documentation

◆ SWClockControl()

SWClockControl::SWClockControl ( SWRaDIYoMainWidget parent)
explicit

Definition at line 23 of file swclockcontrol.cpp.

◆ ~SWClockControl()

SWClockControl::~SWClockControl ( )
virtual

Definition at line 52 of file swclockcontrol.cpp.

Member Function Documentation

◆ chooseFlip

void SWClockControl::chooseFlip ( )
protectedslot

Definition at line 138 of file swclockcontrol.cpp.

◆ chooseRotate

void SWClockControl::chooseRotate ( )
protectedslot

Definition at line 146 of file swclockcontrol.cpp.

◆ chooseSlide

void SWClockControl::chooseSlide ( )
protectedslot

Definition at line 129 of file swclockcontrol.cpp.

◆ loadSettings()

void SWClockControl::loadSettings ( )

Definition at line 69 of file swclockcontrol.cpp.

◆ saveSettings()

void SWClockControl::saveSettings ( )

Definition at line 75 of file swclockcontrol.cpp.

◆ switchTransition()

void SWClockControl::switchTransition ( int  delta)

Definition at line 92 of file swclockcontrol.cpp.

◆ timerEvent()

void SWClockControl::timerEvent ( QTimerEvent *  event)
override

Definition at line 120 of file swclockcontrol.cpp.

◆ updateTime()

void SWClockControl::updateTime ( )

Definition at line 81 of file swclockcontrol.cpp.

Member Data Documentation

◆ _ticker

QBasicTimer SWClockControl::_ticker
protected

Definition at line 60 of file swclockcontrol.h.


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