Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CSettingControlList Class Reference

#include <SettingControl.h>

Inheritance diagram for CSettingControlList:
CSettingControlFormattedRange ISettingControl

Public Member Functions

 CSettingControlList ()=default
 
 ~CSettingControlList () override=default
 
std::string GetType () const override
 
bool Deserialize (const TiXmlNode *node, bool update=false) override
 
bool SetFormat (const std::string &format) override
 
int GetHeading () const
 
void SetHeading (int heading)
 
bool CanMultiSelect () const
 
void SetMultiSelect (bool multiselect)
 
bool HideValue () const
 
void SetHideValue (bool hideValue)
 
int GetAddButtonLabel () const
 
void SetAddButtonLabel (int label)
 
const SettingControlListValueFormatterGetFormatter () const
 
void SetFormatter (const SettingControlListValueFormatter &formatter)
 
bool UseDetails () const
 
void SetUseDetails (bool useDetails)
 
- Public Member Functions inherited from CSettingControlFormattedRange
 ~CSettingControlFormattedRange () override=default
 
int GetFormatLabel () const
 
void SetFormatLabel (int formatLabel)
 
const std::string & GetFormatString () const
 
void SetFormatString (std::string_view formatString)
 
int GetMinimumLabel () const
 
void SetMinimumLabel (int minimumLabel)
 
- Public Member Functions inherited from ISettingControl
 ISettingControl ()
 
virtual ~ISettingControl ()=default
 
const std::string & GetFormat () const
 
bool GetDelayed () const
 
void SetDelayed (bool delayed)
 

Additional Inherited Members

- Protected Member Functions inherited from CSettingControlFormattedRange
 CSettingControlFormattedRange ()=default
 
- Protected Attributes inherited from ISettingControl
bool m_delayed = false
 
std::string m_format
 
- Static Protected Attributes inherited from ISettingControl
static Logger s_logger
 

Constructor & Destructor Documentation

◆ CSettingControlList()

CSettingControlList::CSettingControlList ( )
default

◆ ~CSettingControlList()

CSettingControlList::~CSettingControlList ( )
overridedefault

Member Function Documentation

◆ CanMultiSelect()

bool CSettingControlList::CanMultiSelect ( ) const
inline

◆ Deserialize()

bool CSettingControlList::Deserialize ( const TiXmlNode *  node,
bool  update = false 
)
overridevirtual

Reimplemented from CSettingControlFormattedRange.

◆ GetAddButtonLabel()

int CSettingControlList::GetAddButtonLabel ( ) const
inline

◆ GetFormatter()

const SettingControlListValueFormatter & CSettingControlList::GetFormatter ( ) const
inline

◆ GetHeading()

int CSettingControlList::GetHeading ( ) const
inline

◆ GetType()

std::string CSettingControlList::GetType ( ) const
inlineoverridevirtual

Implements ISettingControl.

◆ HideValue()

bool CSettingControlList::HideValue ( ) const
inline

◆ SetAddButtonLabel()

void CSettingControlList::SetAddButtonLabel ( int  label)
inline

◆ SetFormat()

bool CSettingControlList::SetFormat ( const std::string &  format)
overridevirtual

Reimplemented from ISettingControl.

◆ SetFormatter()

void CSettingControlList::SetFormatter ( const SettingControlListValueFormatter formatter)
inline

◆ SetHeading()

void CSettingControlList::SetHeading ( int  heading)
inline

◆ SetHideValue()

void CSettingControlList::SetHideValue ( bool  hideValue)
inline

◆ SetMultiSelect()

void CSettingControlList::SetMultiSelect ( bool  multiselect)
inline

◆ SetUseDetails()

void CSettingControlList::SetUseDetails ( bool  useDetails)
inline

◆ UseDetails()

bool CSettingControlList::UseDetails ( ) const
inline

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