raDIYo 0.4
SWListControl Class Referenceabstract
Inheritance diagram for SWListControl:
SWAbstractControl SWSenderControl SWSongsControl

Public Slots

void onItemActivated (QListWidgetItem *item)
 
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...
 

Signals

void entryActivated (SWPlayableItem item)
 

Public Member Functions

 SWListControl (SWRaDIYoMainWidget *parent)
 
virtual void loadEntryList (const QString &folderHint="")=0
 
virtual bool getCurrentEntry (SWPlayableItem &entry)
 
- Public Member Functions inherited from SWAbstractControl
 SWAbstractControl (SWRaDIYoMainWidget *parent)
 
virtual void fadeIn ()
 
virtual void fadeOut ()
 

Protected Attributes

SWPlayableItem::SWSourceType _sourceType { SWPlayableItem::SWNONE }
 
int _idx
 
- Protected Attributes inherited from SWAbstractControl
bool _acceptDial = true
 
SWRaDIYoMainWidget_controller = nullptr
 
int _value = -1
 
QGraphicsOpacityEffect * _effect = nullptr
 
QPropertyAnimation * _animFadeIn = nullptr
 
QPropertyAnimation * _animFadeOut = nullptr
 

Static Protected Attributes

static const int SWListControlRole = Qt::UserRole+1
 
- Static Protected Attributes inherited from SWAbstractControl
static const int SWFADINGDURATION = 650
 

Detailed Description

Definition at line 31 of file swlistcontrol.h.

Constructor & Destructor Documentation

◆ SWListControl()

SWListControl::SWListControl ( SWRaDIYoMainWidget parent)
explicit

Definition at line 25 of file swlistcontrol.cpp.

◆ ~SWListControl()

SWListControl::~SWListControl ( )
virtual

Definition at line 53 of file swlistcontrol.cpp.

Member Function Documentation

◆ getCurrentEntry()

bool SWListControl::getCurrentEntry ( SWPlayableItem entry)
virtual

Definition at line 118 of file swlistcontrol.cpp.

◆ onDialClicked

void SWListControl::onDialClicked ( )
overrideslot

Definition at line 66 of file swlistcontrol.cpp.

◆ onDialValueChanged

void SWListControl::onDialValueChanged ( int  value)
overrideslot

Definition at line 86 of file swlistcontrol.cpp.

◆ onItemActivated

void SWListControl::onItemActivated ( QListWidgetItem *  item)
slot

Definition at line 102 of file swlistcontrol.cpp.

Member Data Documentation

◆ _idx

int SWListControl::_idx
protected

Definition at line 60 of file swlistcontrol.h.

◆ _sourceType

SWPlayableItem::SWSourceType SWListControl::_sourceType { SWPlayableItem::SWNONE }
protected

Definition at line 58 of file swlistcontrol.h.

◆ SWListControlRole

const int SWListControl::SWListControlRole = Qt::UserRole+1
staticprotected

Definition at line 56 of file swlistcontrol.h.


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